| org.dspace.app.xmlui.wing.AttributeMap
AttributeMap | public class AttributeMap extends HashMap (Code) | | A simplified Wing version of an AttributeMap. If a namespace is set it is
applied to all attributes in the Map. This is typically not what one would
expect but it makes the syntax easier for Wing Elements. Either all the
attributes come from one namespace or the other, but never two at the same
time.
author: Scott Phillips |
Method Summary | |
public Namespace | getNamespace() | public String | put(String key, int value) Another variation of the put method to convert integer values into
strings. | public String | put(String key, boolean value) Another variation of the put method to convert boolean values into
strings. | public void | setNamespace(Namespace namespace) Set the namespace for all attributes contained within this map. |
getNamespace | public Namespace getNamespace()(Code) | | The namespace for all the attributes contained within this map. |
put | public String put(String key, int value)(Code) | | Another variation of the put method to convert integer values into
strings.
Parameters: key - The attribute's name. Parameters: value - The value of the attribute. |
put | public String put(String key, boolean value)(Code) | | Another variation of the put method to convert boolean values into
strings. The values "yes" or "no" will be used in replacement of the
boolean value.
Parameters: key - Parameters: value - |
setNamespace | public void setNamespace(Namespace namespace)(Code) | | Set the namespace for all attributes contained within this map.
Parameters: namespace - The new namespace. |
|
|