com.webobjects.appserver.parser.woml
Class WOMLAttributeMap
java.lang.Object
com.webobjects.appserver.parser.woml.WOMLAttributeMap
public class WOMLAttributeMap
- extends Object
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()
|
WOMLAttributeMap
public WOMLAttributeMap(Map attributesByNamespace,
Map associationsByNamespace)
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
Copyright © 2000-2008 Apple Inc.