Interfaces

Attributes

The Attributes interface provides a namespace-aware mechanism for reading the attributes of an element.

getIndex

public int getIndex(String qualifiedName)
public int getIndex(String uri, String localName)

Returns the index of an attribute using either the qualified name or the namespace name.

getLength
public int getLength()

Returns the number of attributes in the list.

getLocalName
public String getLocalName(int index)

Returns the local name of the attribute at the specified index.

getQName
public String getQName(int index)

Returns the qualified name of the attribute at the specified index.

 getType public String getType(int index) public String getType(String qualifiedName) public String getType(String uri, String ...

Get Special Edition Using Java™ 2 Enterprise Edition 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.