Methods
getLength
public abstract int getLength()
Returns the number of attributes in this list.
The SAX parser may provide attributes in any arbitrary order, regardless of the order in which they were declared or specified. The number of attributes may be zero.
Returns:
The number of attributes in the list.
getName
public abstract String getName(int i)
Returns the name of an attribute in this list (by position).
The names must be unique: The SAX parser will not include the same attribute twice. Attributes without values (those declared #IMPLIED without a value specified in the start tag) will be omitted from the list.
If the attribute name has a namespace prefix, the prefix will still be attached.
Parameters:
i—The index of the ...
Get Enterprise Application Integration With XML and Java™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.