javax.xml.stream.util
Class EventReaderDelegate
java.lang.Object
javax.xml.stream.util.EventReaderDelegate
- All Implemented Interfaces:
- Iterator, XMLEventReader
public class EventReaderDelegate
- extends Object
- implements XMLEventReader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventReaderDelegate
public EventReaderDelegate()
EventReaderDelegate
public EventReaderDelegate(XMLEventReader reader)
close
public void close()
throws XMLStreamException
- Specified by:
close
in interface XMLEventReader
- Throws:
XMLStreamException
getElementText
public String getElementText()
throws XMLStreamException
- Specified by:
getElementText
in interface XMLEventReader
- Throws:
XMLStreamException
getParent
public XMLEventReader getParent()
getProperty
public Object getProperty(String name)
throws IllegalArgumentException
- Specified by:
getProperty
in interface XMLEventReader
- Throws:
IllegalArgumentException
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
- Specified by:
hasNext
in interface XMLEventReader
next
public Object next()
- Specified by:
next
in interface Iterator
nextEvent
public XMLEvent nextEvent()
throws XMLStreamException
- Specified by:
nextEvent
in interface XMLEventReader
- Throws:
XMLStreamException
nextTag
public XMLEvent nextTag()
throws XMLStreamException
- Specified by:
nextTag
in interface XMLEventReader
- Throws:
XMLStreamException
peek
public XMLEvent peek()
throws XMLStreamException
- Specified by:
peek
in interface XMLEventReader
- Throws:
XMLStreamException
remove
public void remove()
- Specified by:
remove
in interface Iterator
setParent
public void setParent(XMLEventReader reader)
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.