public class ForwardingXmlEventReader extends Object implements XMLEventReader
Modifier and Type | Field and Description |
---|---|
protected XMLEventReader |
delegate |
Constructor and Description |
---|
ForwardingXmlEventReader(XMLEventReader delegate) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getElementText() |
Object |
getProperty(String s) |
boolean |
hasNext() |
Object |
next() |
XMLEvent |
nextEvent() |
XMLEvent |
nextTag() |
XMLEvent |
peek() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected XMLEventReader delegate
public ForwardingXmlEventReader(XMLEventReader delegate)
public XMLEvent nextEvent() throws XMLStreamException
nextEvent
in interface XMLEventReader
XMLStreamException
public boolean hasNext()
hasNext
in interface Iterator
hasNext
in interface XMLEventReader
public XMLEvent peek() throws XMLStreamException
peek
in interface XMLEventReader
XMLStreamException
public String getElementText() throws XMLStreamException
getElementText
in interface XMLEventReader
XMLStreamException
public XMLEvent nextTag() throws XMLStreamException
nextTag
in interface XMLEventReader
XMLStreamException
public Object getProperty(String s) throws IllegalArgumentException
getProperty
in interface XMLEventReader
IllegalArgumentException
public void close() throws XMLStreamException
close
in interface XMLEventReader
XMLStreamException
Copyright © 2003–2015 Atlassian. All rights reserved.