Methods Summary |
---|
public int | getIndex(java.lang.String uri, java.lang.String localName)Look up the index of an attribute by Namespace name.
|
public int | getIndex(java.lang.String qName)Look up the index of an attribute by XML 1.0 qualified name.
|
public abstract int | getLength()Return the number of attributes in the list.
Once you know the number of attributes, you can iterate
through the list.
|
public abstract java.lang.String | getLocalName(int index)Look up an attribute's local name by index.
|
public abstract java.lang.String | getQName(int index)Look up an attribute's XML 1.0 qualified name by index.
|
public abstract java.lang.String | getType(java.lang.String qName)Look up an attribute's type by XML 1.0 qualified name.
See {@link #getType(int) getType(int)} for a description
of the possible types.
|
public abstract java.lang.String | getType(int index)Look up an attribute's type by index.
The attribute type is one of the strings "CDATA", "ID",
"IDREF", "IDREFS", "NMTOKEN", "NMTOKENS", "ENTITY", "ENTITIES",
or "NOTATION" (always in upper case).
If the parser has not read a declaration for the attribute,
or if the parser does not report attribute types, then it must
return the value "CDATA" as stated in the XML 1.0 Recommentation
(clause 3.3.3, "Attribute-Value Normalization").
For an enumerated attribute that is not a notation, the
parser will report the type as "NMTOKEN".
|
public abstract java.lang.String | getType(java.lang.String uri, java.lang.String localName)Look up an attribute's type by Namespace name.
See {@link #getType(int) getType(int)} for a description
of the possible types.
|
public abstract java.lang.String | getURI(int index)Look up an attribute's Namespace URI by index.
|
public abstract java.lang.String | getValue(java.lang.String uri, java.lang.String localName)Look up an attribute's value by Namespace name.
See {@link #getValue(int) getValue(int)} for a description
of the possible values.
|
public abstract java.lang.String | getValue(java.lang.String qName)Look up an attribute's value by XML 1.0 qualified name.
See {@link #getValue(int) getValue(int)} for a description
of the possible values.
|
public abstract java.lang.String | getValue(int index)Look up an attribute's value by index.
If the attribute value is a list of tokens (IDREFS,
ENTITIES, or NMTOKENS), the tokens will be concatenated
into a single string with each token separated by a
single space.
|