public class SimpleXMLEventReader extends Object implements XMLEventReader
XMLEventReader.| Constructor and Description |
|---|
SimpleXMLEventReader(XMLStreamReader delegate) |
SimpleXMLEventReader(XMLStreamReader delegate,
XMLEventAllocator allocator) |
| Modifier and Type | Method and Description |
|---|---|
protected XMLEvent |
allocate() |
void |
close() |
String |
getElementText() |
Object |
getProperty(String name) |
boolean |
hasNext() |
Object |
next() |
XMLEvent |
nextEvent() |
XMLEvent |
nextTag() |
XMLEvent |
peek() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic SimpleXMLEventReader(XMLStreamReader delegate)
public SimpleXMLEventReader(XMLStreamReader delegate, XMLEventAllocator allocator)
protected XMLEvent allocate() throws XMLStreamException
XMLStreamExceptionpublic void close()
throws XMLStreamException
close in interface XMLEventReaderXMLStreamExceptionpublic String getElementText() throws XMLStreamException
getElementText in interface XMLEventReaderXMLStreamExceptionpublic Object getProperty(String name)
getProperty in interface XMLEventReaderpublic boolean hasNext()
hasNext in interface IteratorhasNext in interface XMLEventReaderpublic XMLEvent nextEvent() throws XMLStreamException
nextEvent in interface XMLEventReaderXMLStreamExceptionpublic XMLEvent nextTag() throws XMLStreamException
nextTag in interface XMLEventReaderXMLStreamExceptionpublic XMLEvent peek() throws XMLStreamException
peek in interface XMLEventReaderXMLStreamExceptionCopyright © 2005–2019 Apache Software Foundation. All rights reserved.