public abstract class AbstractXMLStreamReader extends Object implements javax.xml.stream.XMLStreamReader
XMLStreamReader
interface.
This class implements methods that can be easily expressed in terms of other
(abstract) methods or for which it makes sense to provide a default
implementation.Constructor and Description |
---|
AbstractXMLStreamReader() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasName() |
boolean |
hasText() |
boolean |
isCharacters() |
boolean |
isEndElement() |
boolean |
isStartElement() |
int |
nextTag()
Returns the next tag.
|
void |
require(int type,
String uri,
String localName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasNext, isAttributeSpecified, isStandalone, isWhiteSpace, next, standaloneSet
public boolean hasText()
hasText
in interface javax.xml.stream.XMLStreamReader
XMLStreamReader.hasText()
public int nextTag() throws javax.xml.stream.XMLStreamException
nextTag
in interface javax.xml.stream.XMLStreamReader
OMStreamingException
javax.xml.stream.XMLStreamException
public boolean isStartElement()
isStartElement
in interface javax.xml.stream.XMLStreamReader
public boolean isEndElement()
isEndElement
in interface javax.xml.stream.XMLStreamReader
public boolean isCharacters()
isCharacters
in interface javax.xml.stream.XMLStreamReader
public boolean hasName()
hasName
in interface javax.xml.stream.XMLStreamReader
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.