public class XMLEventReaderImpl extends java.lang.Object implements XMLEventReader
Constructor and Description |
---|
XMLEventReaderImpl(XMLEventAllocator allocator,
XMLStreamReader in) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getElementText() |
java.lang.Object |
getProperty(java.lang.String name) |
XMLStreamReader |
getXMLStreamReader() |
boolean |
hasNext() |
XMLEvent |
next() |
XMLEvent |
nextEvent() |
XMLEvent |
nextTag() |
XMLEvent |
peek() |
void |
remove() |
public static final L10N L
public XMLEventReaderImpl(XMLEventAllocator allocator, XMLStreamReader in) throws XMLStreamException
XMLStreamException
public XMLStreamReader getXMLStreamReader()
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 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
public XMLEvent next()
next
in interface java.util.Iterator