org.exolab.adaptx.xml
public class AttributeListWrapper extends Object implements AttributeList
Version: $Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $
Constructor Summary | |
---|---|
AttributeListWrapper(NamedNodeMap namedNodeMap) |
Method Summary | |
---|---|
int | getLength()
Returns the number of attributes in the list. |
String | getName(int i)
Returns the name of the attribute at the given index. |
String | getType(int i)
Returns the type of the attribute at the specified index. |
String | getType(String name)
Return the type of the attribute with the given name. |
String | getValue(int i)
Return the value of the attribute at the specified index |
String | getValue(String name)
Get the value of an attribute (by name).
|
Returns: The number of attributes in the list.
Parameters: i The position of the attribute in the list.
Returns: The attribute name as a string, or null if there is no attribute at that position.
Parameters: i The position of the attribute in the list.
Returns: The attribute type as a string ("NMTOKEN" for an
enumeration, and "CDATA" if no declaration was
read), or null if there is no attribute at
that position.
Note: Not supported, will simply return null.
Parameters: name The attribute name.
Returns: The attribute type as a string ("NMTOKEN" for an
enumeration, and "CDATA" if no declaration was
read).
Note: Not supported, will simply return null.
Parameters: i The position of the attribute in the list.
Returns: The attribute value as a string, or null if there is no attribute at that position.
Parameters: name The attribute name.
See Also: org.xml.sax.AttributeList#getValue(java.lang.String)