public class EventReaderDelegate extends java.lang.Object implements XMLEventReader
Constructor and Description |
---|
EventReaderDelegate() |
EventReaderDelegate(XMLEventReader reader) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getElementText() |
XMLEventReader |
getParent() |
java.lang.Object |
getProperty(java.lang.String name) |
boolean |
hasNext() |
java.lang.Object |
next() |
XMLEvent |
nextEvent() |
XMLEvent |
nextTag() |
XMLEvent |
peek() |
void |
remove() |
void |
setParent(XMLEventReader reader) |
public EventReaderDelegate()
public EventReaderDelegate(XMLEventReader reader)
public void setParent(XMLEventReader reader)
public XMLEventReader getParent()
public void close() throws XMLStreamException
close
in interface XMLEventReader
XMLStreamException
public java.lang.String getElementText() throws XMLStreamException
getElementText
in interface XMLEventReader
XMLStreamException
public java.lang.Object getProperty(java.lang.String name) throws java.lang.IllegalArgumentException
getProperty
in interface XMLEventReader
java.lang.IllegalArgumentException
public boolean hasNext()
hasNext
in interface java.util.Iterator
hasNext
in interface XMLEventReader
public java.lang.Object next()
next
in interface java.util.Iterator
public XMLEvent nextEvent() throws XMLStreamException
nextEvent
in interface XMLEventReader
XMLStreamException
public XMLEvent nextTag() throws XMLStreamException
nextTag
in interface XMLEventReader
XMLStreamException
public XMLEvent peek() throws XMLStreamException
peek
in interface XMLEventReader
XMLStreamException
public void remove()
remove
in interface java.util.Iterator
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.