Package javax.xml.stream.util
Class EventReaderDelegate
java.lang.Object
javax.xml.stream.util.EventReaderDelegate
- All Implemented Interfaces:
Iterator
,XMLEventReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getProperty
(String name) boolean
hasNext()
next()
nextTag()
peek()
void
remove()
void
setParent
(XMLEventReader reader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
EventReaderDelegate
public EventReaderDelegate() -
EventReaderDelegate
-
-
Method Details
-
setParent
-
getParent
-
close
- Specified by:
close
in interfaceXMLEventReader
- Throws:
XMLStreamException
-
getElementText
- Specified by:
getElementText
in interfaceXMLEventReader
- Throws:
XMLStreamException
-
getProperty
- Specified by:
getProperty
in interfaceXMLEventReader
- Throws:
IllegalArgumentException
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator
- Specified by:
hasNext
in interfaceXMLEventReader
-
next
-
nextEvent
- Specified by:
nextEvent
in interfaceXMLEventReader
- Throws:
XMLStreamException
-
nextTag
- Specified by:
nextTag
in interfaceXMLEventReader
- Throws:
XMLStreamException
-
peek
- Specified by:
peek
in interfaceXMLEventReader
- Throws:
XMLStreamException
-
remove
public void remove()
-