|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.streaming.XMLStreamReaderUtil.AttributesImpl
public static class XMLStreamReaderUtil.AttributesImpl
AttributesImpl class copied from old StAXReader. This class is used to implement getAttributes() on a StAX Reader.
Constructor Summary | |
---|---|
XMLStreamReaderUtil.AttributesImpl(javax.xml.stream.XMLStreamReader reader)
|
Method Summary | |
---|---|
int |
getIndex(javax.xml.namespace.QName name)
Look up the index of an attribute by QName. |
int |
getIndex(java.lang.String localName)
Look up the index of an attribute by local name. |
int |
getIndex(java.lang.String uri,
java.lang.String localName)
Look up the index of an attribute by URI and local name. |
int |
getLength()
Return the number of attributes in the list. |
java.lang.String |
getLocalName(int index)
Look up an attribute's local name by index. |
javax.xml.namespace.QName |
getName(int index)
Look up an attribute's QName by index. |
java.lang.String |
getPrefix(int index)
Look up an attribute's prefix by index. |
java.lang.String |
getURI(int index)
Look up an attribute's URI by index. |
java.lang.String |
getValue(int index)
Look up an attribute's value by index. |
java.lang.String |
getValue(javax.xml.namespace.QName name)
Look up the value of an attribute by QName. |
java.lang.String |
getValue(java.lang.String localName)
Look up the value of an attribute by local name. |
java.lang.String |
getValue(java.lang.String uri,
java.lang.String localName)
Look up the value of an attribute by URI and local name. |
boolean |
isNamespaceDeclaration(int index)
Return true if the attribute at the given index is a namespace declaration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLStreamReaderUtil.AttributesImpl(javax.xml.stream.XMLStreamReader reader)
Method Detail |
---|
public int getLength()
Attributes
getLength
in interface Attributes
public java.lang.String getLocalName(int index)
Attributes
getLocalName
in interface Attributes
public javax.xml.namespace.QName getName(int index)
Attributes
getName
in interface Attributes
public java.lang.String getPrefix(int index)
Attributes
getPrefix
in interface Attributes
public java.lang.String getURI(int index)
Attributes
getURI
in interface Attributes
public java.lang.String getValue(int index)
Attributes
getValue
in interface Attributes
public java.lang.String getValue(javax.xml.namespace.QName name)
Attributes
getValue
in interface Attributes
public java.lang.String getValue(java.lang.String localName)
Attributes
getValue
in interface Attributes
public java.lang.String getValue(java.lang.String uri, java.lang.String localName)
Attributes
getValue
in interface Attributes
public boolean isNamespaceDeclaration(int index)
Attributes
Implementations are encouraged to optimize this method by taking into account their internal representations of attributes.
isNamespaceDeclaration
in interface Attributes
public int getIndex(javax.xml.namespace.QName name)
Attributes
getIndex
in interface Attributes
public int getIndex(java.lang.String localName)
Attributes
getIndex
in interface Attributes
public int getIndex(java.lang.String uri, java.lang.String localName)
Attributes
getIndex
in interface Attributes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |