abstract class AbstractXMLEventReader
extends java.lang.Object
implements javax.xml.stream.XMLEventReader
XMLEventReader
s.Modifier and Type | Field and Description |
---|---|
private boolean |
closed |
Constructor and Description |
---|
AbstractXMLEventReader() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkIfClosed()
Check if the reader is closed, and throws a
XMLStreamException if so. |
void |
close() |
java.lang.Object |
getProperty(java.lang.String name)
This implementation throws an
IllegalArgumentException for any property. |
java.lang.Object |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
public java.lang.Object getProperty(java.lang.String name) throws java.lang.IllegalArgumentException
IllegalArgumentException
for any property.getProperty
in interface javax.xml.stream.XMLEventReader
java.lang.IllegalArgumentException
- when calledpublic void close()
close
in interface javax.xml.stream.XMLEventReader
protected void checkIfClosed() throws javax.xml.stream.XMLStreamException
XMLStreamException
if so.javax.xml.stream.XMLStreamException
- if the reader is closedclose()