|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Attribute
Attribute provides access to the current attribute of the getAttributes iterator on of XoXMLStreamReader.
CAUTION: For performance reasons, the the same attribute object instance is used for all iterations with only the internal state of the attribute object changed for each iteration. Therefore, you must be careful to not retain the Attribute insance after calling next() on the iterator.
| Method Summary | |
|---|---|
boolean |
getBooleanValue()
|
byte |
getByteValue()
|
double |
getDoubleValue()
|
float |
getFloatValue()
|
int |
getIndex()
Returns the index of the current attribute in the XoXMLStreamREader. |
int |
getIntValue()
|
java.lang.String |
getLocalName()
Returns the local name of the current attribute. |
long |
getLongValue()
|
javax.xml.namespace.QName |
getName()
Returns the QName of the current attribute. |
java.lang.String |
getNamespace()
Returns the namespace of the current attribute. |
java.lang.String |
getPrefix()
Returns the namespace prefix of the current attribute. |
XoXMLStreamReader |
getReader()
Returns the XoXMLStreamReader; |
short |
getShortValue()
|
java.lang.String |
getType()
Returns the type of the current attribute. |
java.lang.String |
getValue()
Returns the value of the current attribute. |
java.lang.Iterable<java.lang.String> |
getXmlListValue()
|
| Method Detail |
|---|
javax.xml.namespace.QName getName()
java.lang.IllegalStateException - if the XoXMLStreamReader
is not in START_ELEMENT or ATTRIBUTE statejava.lang.String getLocalName()
java.lang.IllegalStateException - if the XoXMLStreamReader
is not in START_ELEMENT or ATTRIBUTE statejava.lang.String getNamespace()
java.lang.IllegalStateException - if the XoXMLStreamReader
is not in START_ELEMENT or ATTRIBUTE statejava.lang.String getPrefix()
java.lang.IllegalStateException - if the XoXMLStreamReader
is not in START_ELEMENT or ATTRIBUTE statejava.lang.String getType()
java.lang.IllegalStateException - if the XoXMLStreamReader
is not in START_ELEMENT or ATTRIBUTE statejava.lang.String getValue()
java.lang.IllegalStateException - if the XoXMLStreamReader
is not in START_ELEMENT or ATTRIBUTE stateboolean getBooleanValue()
byte getByteValue()
short getShortValue()
int getIntValue()
long getLongValue()
float getFloatValue()
double getDoubleValue()
java.lang.Iterable<java.lang.String> getXmlListValue()
int getIndex()
XoXMLStreamReader getReader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||