These methods are invokable when the event type is START_ELEMENT:
public int getAttributeCount()
public String getAttributeNamespace(int index)
public String getAttributeName(int index)
public QName getAttributeQName(int index)
public String getAttributePrefix(int index)
public String getAttributeType(int index)
public boolean isAttributeSpecified(int index)
public String getAttributeValue(int index)
public String getAttributeValue(String namespace, String name)
xmlns
and
xmlns:prefix
attributes are not
reported
If the javax.xml.stream.isNamespaceAware property
is false, xmlns
and xmlns:prefix
attributes are reported.