javanet.staxutils
public abstract class BaseXMLEventReader extends Object implements XMLEventReader
XMLEventReader
implementations.Modifier and Type | Field and Description |
---|---|
protected boolean |
closed
Whether we've been closed or not.
|
Constructor and Description |
---|
BaseXMLEventReader() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getElementText() |
Object |
getProperty(String name) |
Object |
next() |
XMLEvent |
nextTag() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasNext, nextEvent, peek
public String getElementText() throws XMLStreamException
getElementText
in interface XMLEventReader
XMLStreamException
public XMLEvent nextTag() throws XMLStreamException
nextTag
in interface XMLEventReader
XMLStreamException
public Object getProperty(String name) throws IllegalArgumentException
getProperty
in interface XMLEventReader
IllegalArgumentException
public void close() throws XMLStreamException
close
in interface XMLEventReader
XMLStreamException