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_ELEMENTvoid close()
throws XMLStreamException
XMLStreamExceptionint getAttributeCount()
String getAttributeLocalName(int index)
QName getAttributeName(int index)
String getAttributeNamespace(int index)
String getAttributePrefix(int index)
String getAttributeType(int index)
String getAttributeValue(int index)
String getCharacterEncodingScheme()
String getElementText() throws XMLStreamException
XMLStreamExceptionString getEncoding()
int getEventType()
String getLocalName()
Location getLocation()
QName getName()
NamespaceContext getNamespaceContext()
int getNamespaceCount()
String getNamespacePrefix(int index)
String getNamespaceURI()
String getNamespaceURI(int index)
String getPIData()
String getPITarget()
String getPrefix()
Object getProperty(String name) throws IllegalArgumentException
IllegalArgumentExceptionString getText()
char[] getTextCharacters()
int getTextCharacters(int sourceStart,
char[] target,
int targetStart,
int length)
throws XMLStreamException
XMLStreamExceptionint getTextLength()
int getTextStart()
String getVersion()
boolean hasName()
boolean hasNext()
throws XMLStreamException
XMLStreamExceptionboolean hasText()
boolean isAttributeSpecified(int index)
boolean isCharacters()
boolean isEndElement()
boolean isStandalone()
boolean isStartElement()
boolean isWhiteSpace()
int next() throws XMLStreamException
XMLStreamExceptionint nextTag()
throws XMLStreamException
XMLStreamExceptionvoid require(int type,
String namespaceURI,
String localName)
throws XMLStreamException
XMLStreamExceptionboolean standaloneSet()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.