public class TagData
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
REQUEST_TIME_VALUE
Constant object used as a key for request time attributes.
|
Constructor and Description |
---|
TagData(java.util.Hashtable<java.lang.String,java.lang.Object> attrs)
Create a new TagData object based on an attribute key/value hash table.
|
TagData(java.lang.Object[][] attrs)
Create a new TagData object based on and array of attribute key/values.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
clone()
Clone the tag data.
|
java.lang.Object |
getAttribute(java.lang.String attribute)
Returns the attribute with the given name.
|
java.util.Enumeration<java.lang.String> |
getAttributes()
Enumerates the attribute names.
|
java.lang.String |
getAttributeString(java.lang.String name)
Return the attribute as a string.
|
java.lang.String |
getId()
Return the id of the attribute as a string.
|
void |
setAttribute(java.lang.String attribute,
java.lang.Object value)
Sets the attribute with the given name.
|
public static final java.lang.Object REQUEST_TIME_VALUE
public TagData(java.util.Hashtable<java.lang.String,java.lang.Object> attrs)
public TagData(java.lang.Object[][] attrs)
public java.lang.Object getAttribute(java.lang.String attribute)
public void setAttribute(java.lang.String attribute, java.lang.Object value)
public java.util.Enumeration<java.lang.String> getAttributes()
public java.lang.String getAttributeString(java.lang.String name)
public java.lang.String getId()
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException