public class TagData
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
REQUEST_TIME_VALUE |
Constructor and Description |
---|
TagData(java.util.Hashtable<java.lang.String,java.lang.Object> attrs)
Constructor for TagData.
|
TagData(java.lang.Object[][] attrs)
Constructor for TagData.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String attName)
The value of the attribute.
|
java.util.Enumeration |
getAttributes()
Enumerates the attributes.
|
java.lang.String |
getAttributeString(java.lang.String attName)
Get the value for a given attribute.
|
java.lang.String |
getId()
The value of the ID if available
|
void |
setAttribute(java.lang.String attName,
java.lang.Object value)
Set the value of an attribute.
|
public TagData(java.lang.Object[][] attrs)
attrs
- the static attributes and values. May be null.public TagData(java.util.Hashtable<java.lang.String,java.lang.Object> attrs)
attrs
- a hashtable to get the values from.public java.lang.String getId()
public java.lang.Object getAttribute(java.lang.String attName)
attName
- the name of the attribute.public void setAttribute(java.lang.String attName, java.lang.Object value)
attName
- the name of the attributevalue
- the value.public java.lang.String getAttributeString(java.lang.String attName)
attName
- the name of the attribute.java.lang.ClassCastException
- if attribute value is not a Stringpublic java.util.Enumeration getAttributes()