| java.lang.Object org.apache.beehive.netui.tags.rendering.AbstractTagState org.apache.beehive.netui.tags.rendering.AbstractAttributeState
All known Subclasses: org.apache.beehive.netui.tags.rendering.AbstractHtmlState,
Field Summary | |
final public static int | ATTR_GENERAL The integer type constant indentifying the General Attributes AbstractBaseTag
reserves 0-9 for indentification. | final public static String | EMPTY_STRING String constant for the empty string. |
Method Summary | |
public void | clear() | public String | getAttribute(int type, String attrName) Return a named attribute value from the specified attribute map.
Parameters: type - an integer key indentifying the map Parameters: attrName - the name of the attribute we will get the value from. | public HashMap | getGeneralAttributeMap() | public void | registerAttribute(int type, String attrName, String value, boolean ignoreEmpty) Register a name/value pair into a named attribute map. | public void | registerAttribute(int type, String attrName, String value) | public void | removeAttribute(int type, String attrName) Remove a previously registered attribute value from map. | public Map | selectMap(int type, boolean createIfNull) This method will return the map that represents the passed in type . |
ATTR_GENERAL | final public static int ATTR_GENERAL(Code) | | The integer type constant indentifying the General Attributes AbstractBaseTag
reserves 0-9 for indentification.
|
EMPTY_STRING | final public static String EMPTY_STRING(Code) | | String constant for the empty string.
|
clear | public void clear()(Code) | | |
getAttribute | public String getAttribute(int type, String attrName)(Code) | | Return a named attribute value from the specified attribute map.
Parameters: type - an integer key indentifying the map Parameters: attrName - the name of the attribute we will get the value from. a string value of the attribute if set or null. |
getGeneralAttributeMap | public HashMap getGeneralAttributeMap()(Code) | | |
registerAttribute | public void registerAttribute(int type, String attrName, String value, boolean ignoreEmpty)(Code) | | Register a name/value pair into a named attribute map. The base type
supports the ATTR_GENERAL named map. Subclasses may add additional maps
enabling attributes to be treated with different behavior.
Parameters: type - an integer key identifying the map. Parameters: attrName - the name of the attribute Parameters: value - the value of the attribute |
registerAttribute | public void registerAttribute(int type, String attrName, String value)(Code) | | |
removeAttribute | public void removeAttribute(int type, String attrName)(Code) | | Remove a previously registered attribute value from map.
Parameters: type - an integer key indentifying the map Parameters: attrName - the name of the attribute to remove from the specified map |
selectMap | public Map selectMap(int type, boolean createIfNull)(Code) | | This method will return the map that represents the passed in type . The boolean flag
createIfNull indicates that the map should be created or not if it's null. This
class defines two maps defined by @see #ATTR_GENERAL and ATTR_GENERAL_EXPRESSION
Parameters: type - integer type indentifying the map to be created. Parameters: createIfNull - boolean flag indicating if the map should be created if it doesn't exist. The map or null See Also: AbstractAttributeState.ATTR_GENERAL |
Methods inherited from org.apache.beehive.netui.tags.rendering.AbstractTagState | abstract public void clear()(Code)(Java Doc)
|
|
|