javanet.staxutils
Class BaseXMLEventReader
java.lang.Object
javanet.staxutils.BaseXMLEventReader
- All Implemented Interfaces:
- java.util.Iterator, XMLEventReader
- Direct Known Subclasses:
- ListEventReader
public abstract class BaseXMLEventReader
- extends java.lang.Object
- implements XMLEventReader
Abstract base class for XMLEventReader
implementations.
- Version:
- $Revision: 1.1 $
- Author:
- Christian Niles
Field Summary |
protected boolean |
closed
Whether we've been closed or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
closed
protected boolean closed
- Whether we've been closed or not.
BaseXMLEventReader
public BaseXMLEventReader()
getElementText
public java.lang.String getElementText()
throws XMLStreamException
- Specified by:
getElementText
in interface XMLEventReader
- Throws:
XMLStreamException
nextTag
public XMLEvent nextTag()
throws XMLStreamException
- Specified by:
nextTag
in interface XMLEventReader
- Throws:
XMLStreamException
getProperty
public java.lang.Object getProperty(java.lang.String name)
throws java.lang.IllegalArgumentException
- Specified by:
getProperty
in interface XMLEventReader
- Throws:
java.lang.IllegalArgumentException
close
public void close()
throws XMLStreamException
- Specified by:
close
in interface XMLEventReader
- Throws:
XMLStreamException
next
public java.lang.Object next()
- Specified by:
next
in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator