javanet.staxutils
Class BaseXMLEventReader
java.lang.Object
javanet.staxutils.BaseXMLEventReader
- All Implemented Interfaces:
- java.util.Iterator, javax.xml.stream.XMLEventReader
- Direct Known Subclasses:
- ListEventReader
public abstract class BaseXMLEventReader
- extends java.lang.Object
- implements javax.xml.stream.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 |
| Methods inherited from interface javax.xml.stream.XMLEventReader |
hasNext, nextEvent, peek |
closed
protected boolean closed
- Whether we've been closed or not.
BaseXMLEventReader
public BaseXMLEventReader()
getElementText
public java.lang.String getElementText()
throws javax.xml.stream.XMLStreamException
- Specified by:
getElementText in interface javax.xml.stream.XMLEventReader
- Throws:
javax.xml.stream.XMLStreamException
nextTag
public javax.xml.stream.events.XMLEvent nextTag()
throws javax.xml.stream.XMLStreamException
- Specified by:
nextTag in interface javax.xml.stream.XMLEventReader
- Throws:
javax.xml.stream.XMLStreamException
getProperty
public java.lang.Object getProperty(java.lang.String name)
throws java.lang.IllegalArgumentException
- Specified by:
getProperty in interface javax.xml.stream.XMLEventReader
- Throws:
java.lang.IllegalArgumentException
close
public void close()
throws javax.xml.stream.XMLStreamException
- Specified by:
close in interface javax.xml.stream.XMLEventReader
- Throws:
javax.xml.stream.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
Copyright © 2013. All Rights Reserved.