Class SimpleXMLEventReader
java.lang.Object
org.apache.synapse.commons.staxon.core.event.SimpleXMLEventReader
- All Implemented Interfaces:
Iterator<Object>,XMLEventReader
Simple implementation of
XMLEventReader.-
Constructor Summary
ConstructorsConstructorDescriptionSimpleXMLEventReader(XMLStreamReader delegate) SimpleXMLEventReader(XMLStreamReader delegate, XMLEventAllocator allocator) -
Method Summary
Methods 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
-
SimpleXMLEventReader
-
SimpleXMLEventReader
-
-
Method Details
-
allocate
- Throws:
XMLStreamException
-
close
- Specified by:
closein interfaceXMLEventReader- Throws:
XMLStreamException
-
getElementText
- Specified by:
getElementTextin interfaceXMLEventReader- Throws:
XMLStreamException
-
getProperty
- Specified by:
getPropertyin interfaceXMLEventReader
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<Object>- Specified by:
hasNextin interfaceXMLEventReader
-
nextEvent
- Specified by:
nextEventin interfaceXMLEventReader- Throws:
XMLStreamException
-
next
-
nextTag
- Specified by:
nextTagin interfaceXMLEventReader- Throws:
XMLStreamException
-
peek
- Specified by:
peekin interfaceXMLEventReader- Throws:
XMLStreamException
-
remove
public void remove()
-