public interface XMLStreamReader extends XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getAttributeCount() |
java.lang.String |
getAttributeLocalName(int index) |
javax.xml.namespace.QName |
getAttributeName(int index) |
java.lang.String |
getAttributeNamespace(int index) |
java.lang.String |
getAttributePrefix(int index) |
java.lang.String |
getAttributeType(int index) |
java.lang.String |
getAttributeValue(int index) |
java.lang.String |
getAttributeValue(java.lang.String namespaceURI,
java.lang.String localName) |
java.lang.String |
getCharacterEncodingScheme() |
java.lang.String |
getElementText() |
java.lang.String |
getEncoding() |
int |
getEventType() |
java.lang.String |
getLocalName() |
Location |
getLocation() |
javax.xml.namespace.QName |
getName() |
javax.xml.namespace.NamespaceContext |
getNamespaceContext() |
int |
getNamespaceCount() |
java.lang.String |
getNamespacePrefix(int index) |
java.lang.String |
getNamespaceURI() |
java.lang.String |
getNamespaceURI(int index) |
java.lang.String |
getNamespaceURI(java.lang.String prefix) |
java.lang.String |
getPIData() |
java.lang.String |
getPITarget() |
java.lang.String |
getPrefix() |
java.lang.Object |
getProperty(java.lang.String name) |
java.lang.String |
getText() |
char[] |
getTextCharacters() |
int |
getTextCharacters(int sourceStart,
char[] target,
int targetStart,
int length) |
int |
getTextLength() |
int |
getTextStart() |
java.lang.String |
getVersion() |
boolean |
hasName() |
boolean |
hasNext() |
boolean |
hasText() |
boolean |
isAttributeSpecified(int index) |
boolean |
isCharacters() |
boolean |
isEndElement() |
boolean |
isStandalone() |
boolean |
isStartElement() |
boolean |
isWhiteSpace() |
int |
next() |
int |
nextTag() |
void |
require(int type,
java.lang.String namespaceURI,
java.lang.String localName) |
boolean |
standaloneSet() |
void close() throws XMLStreamException
XMLStreamException
int getAttributeCount()
java.lang.String getAttributeLocalName(int index)
javax.xml.namespace.QName getAttributeName(int index)
java.lang.String getAttributeNamespace(int index)
java.lang.String getAttributePrefix(int index)
java.lang.String getAttributeType(int index)
java.lang.String getAttributeValue(int index)
java.lang.String getAttributeValue(java.lang.String namespaceURI, java.lang.String localName)
java.lang.String getCharacterEncodingScheme()
java.lang.String getElementText() throws XMLStreamException
XMLStreamException
java.lang.String getEncoding()
int getEventType()
java.lang.String getLocalName()
Location getLocation()
javax.xml.namespace.QName getName()
javax.xml.namespace.NamespaceContext getNamespaceContext()
int getNamespaceCount()
java.lang.String getNamespacePrefix(int index)
java.lang.String getNamespaceURI()
java.lang.String getNamespaceURI(int index)
java.lang.String getNamespaceURI(java.lang.String prefix)
java.lang.String getPIData()
java.lang.String getPITarget()
java.lang.String getPrefix()
java.lang.Object getProperty(java.lang.String name) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
java.lang.String getText()
char[] getTextCharacters()
int getTextCharacters(int sourceStart, char[] target, int targetStart, int length) throws XMLStreamException
XMLStreamException
int getTextLength()
int getTextStart()
java.lang.String getVersion()
boolean hasName()
boolean hasNext() throws XMLStreamException
XMLStreamException
boolean hasText()
boolean isAttributeSpecified(int index)
boolean isCharacters()
boolean isEndElement()
boolean isStandalone()
boolean isStartElement()
boolean isWhiteSpace()
int next() throws XMLStreamException
XMLStreamException
int nextTag() throws XMLStreamException
XMLStreamException
void require(int type, java.lang.String namespaceURI, java.lang.String localName) throws XMLStreamException
XMLStreamException
boolean standaloneSet()