Package com.sun.xml.rpc.streaming
Class StAXReader.AttributesImpl
java.lang.Object
com.sun.xml.rpc.streaming.StAXReader.AttributesImpl
- All Implemented Interfaces:
Attributes
- Enclosing class:
- StAXReader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Look up the index of an attribute by local name.int
Look up the index of an attribute by URI and local name.int
Look up the index of an attribute by QName.int
Return the number of attributes in the list.getLocalName
(int index) Look up an attribute's local name by index.getName
(int index) Look up an attribute's QName by index.getPrefix
(int index) Look up an attribute's prefix by index.getURI
(int index) Look up an attribute's URI by index.getValue
(int index) Look up an attribute's value by index.Look up the value of an attribute by local name.Look up the value of an attribute by URI and local name.Look up the value of an attribute by QName.boolean
isNamespaceDeclaration
(int index) Return true if the attribute at the given index is a namespace declaration.
-
Constructor Details
-
AttributesImpl
-
-
Method Details
-
getLength
public int getLength()Description copied from interface:Attributes
Return the number of attributes in the list.- Specified by:
getLength
in interfaceAttributes
-
getLocalName
Description copied from interface:Attributes
Look up an attribute's local name by index.- Specified by:
getLocalName
in interfaceAttributes
-
getName
Description copied from interface:Attributes
Look up an attribute's QName by index.- Specified by:
getName
in interfaceAttributes
-
getPrefix
Description copied from interface:Attributes
Look up an attribute's prefix by index.- Specified by:
getPrefix
in interfaceAttributes
-
getURI
Description copied from interface:Attributes
Look up an attribute's URI by index.- Specified by:
getURI
in interfaceAttributes
-
getValue
Description copied from interface:Attributes
Look up an attribute's value by index.- Specified by:
getValue
in interfaceAttributes
-
getValue
Description copied from interface:Attributes
Look up the value of an attribute by QName.- Specified by:
getValue
in interfaceAttributes
-
getValue
Description copied from interface:Attributes
Look up the value of an attribute by local name.- Specified by:
getValue
in interfaceAttributes
-
getValue
Description copied from interface:Attributes
Look up the value of an attribute by URI and local name.- Specified by:
getValue
in interfaceAttributes
-
isNamespaceDeclaration
public boolean isNamespaceDeclaration(int index) Description copied from interface:Attributes
Return true if the attribute at the given index is a namespace declaration.Implementations are encouraged to optimize this method by taking into account their internal representations of attributes.
- Specified by:
isNamespaceDeclaration
in interfaceAttributes
-
getIndex
Description copied from interface:Attributes
Look up the index of an attribute by QName.- Specified by:
getIndex
in interfaceAttributes
-
getIndex
Description copied from interface:Attributes
Look up the index of an attribute by local name.- Specified by:
getIndex
in interfaceAttributes
-
getIndex
Description copied from interface:Attributes
Look up the index of an attribute by URI and local name.- Specified by:
getIndex
in interfaceAttributes
-