WebObjects 5.4.2

com.webobjects.appserver.parser.woml
Class WOMLAttributeMap

java.lang.Object
  extended by com.webobjects.appserver.parser.woml.WOMLAttributeMap

public class WOMLAttributeMap
extends Object


Constructor Summary
WOMLAttributeMap(Map attributesByNamespace, Map associationsByNamespace)
           
 
Method Summary
 boolean containsAttribute(String namespace, String key)
           
 boolean containsAttribute(String namespace, String key, boolean searchUpward)
           
 boolean containsNamespace(String namespace)
           
 WOAssociation getAssociation(String namespace, String key)
           
 WOAssociation getAssociation(String namespace, String key, boolean searchUpward)
          Returns the WOAssociation value for the given key.
 Map getAssociations(String namespace)
           
 WOMLAttribute getAttribute(String namespace, String key)
           
 WOMLAttribute getAttribute(String namespace, String key, boolean searchUpward)
          Returns the attribute value for the given key.
 Map getAttributes(String namespace)
           
 Collection getNamespaces()
          Returns a collection of the namespaces that are available in this map.
 void setAssociation(String namespace, String key, WOAssociation value)
           
 void setAttribute(String namespace, String key, WOMLAttribute value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WOMLAttributeMap

public WOMLAttributeMap(Map attributesByNamespace,
                        Map associationsByNamespace)
Method Detail

getNamespaces

public Collection getNamespaces()
Returns a collection of the namespaces that are available in this map.

Returns:

containsNamespace

public boolean containsNamespace(String namespace)

containsAttribute

public boolean containsAttribute(String namespace,
                                 String key)

containsAttribute

public boolean containsAttribute(String namespace,
                                 String key,
                                 boolean searchUpward)

getAttribute

public WOMLAttribute getAttribute(String namespace,
                                  String key)

getAttribute

public WOMLAttribute getAttribute(String namespace,
                                  String key,
                                  boolean searchUpward)
Returns the attribute value for the given key.

Returns:

setAttribute

public void setAttribute(String namespace,
                         String key,
                         WOMLAttribute value)

getAttributes

public Map getAttributes(String namespace)

getAssociations

public Map getAssociations(String namespace)

getAssociation

public WOAssociation getAssociation(String namespace,
                                    String key)

setAssociation

public void setAssociation(String namespace,
                           String key,
                           WOAssociation value)

getAssociation

public WOAssociation getAssociation(String namespace,
                                    String key,
                                    boolean searchUpward)
Returns the WOAssociation value for the given key.

Returns:

toString

public String toString()
Overrides:
toString in class Object

Last updated June 2008

Copyright © 2000-2008 Apple Inc.