Package javanet.staxutils.helpers
Class ListEventReader
java.lang.Object
javanet.staxutils.BaseXMLEventReader
javanet.staxutils.helpers.ListEventReader
- All Implemented Interfaces:
Iterator<Object>,XMLEventReader
XMLEventReader that reads events from a List.- Version:
- $Revision: 1.1 $
- Author:
- Christian Niles
-
Field Summary
Fields inherited from class javanet.staxutils.BaseXMLEventReader
closed -
Constructor Summary
ConstructorsConstructorDescriptionListEventReader(List events) Constructs aListEventReaderthat reads events from the providedList. -
Method Summary
Methods inherited from class javanet.staxutils.BaseXMLEventReader
close, getElementText, getProperty, next, nextTag, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
Method Details
-
nextEvent
- Throws:
XMLStreamException
-
hasNext
public boolean hasNext() -
peek
- Throws:
XMLStreamException
-