TagData Class  
public class TagData extends Object implements Cloneable  
 
Object
  TagData
Interfaces
Cloneable

A TagData object contains the name-value pairs of the attributes associated with a Tag.

TagData()  
public TagData(Object[][] attrs)
public TagData(Hashtable attrs)
Constructor
 

Creates a TagData object. The attribute name-value pairs for the TagData object can be provided using either a 2-D Object array or a Hashtable.

getAttribute()  
public Object getAttribute(String name) Method
 

getAttribute returns the value associated with the specified attribute name.

getAttributeString()  
public String getAttributeString(String name) Method
 

getAttributeString returns the value associated with the specified attribute name as a String.

getId()  
public String getId() Method
 

getId returns the value of the id attribute, or null if it does not exist.

setAttribute()  
public void setAttribute(String name, Object value) Method
 

setAttribute sets the value of the specified attribute.