public class SAXSourceXMLEventReaderImpl extends java.lang.Object implements XMLEventReader
Constructor and Description |
---|
SAXSourceXMLEventReaderImpl() |
SAXSourceXMLEventReaderImpl(javax.xml.transform.sax.SAXSource source) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.xml.sax.ContentHandler |
getContentHandler() |
java.lang.String |
getElementText() |
java.lang.Object |
getProperty(java.lang.String name) |
static javax.xml.parsers.SAXParserFactory |
getSAXParserFactory() |
boolean |
hasNext() |
XMLEvent |
next() |
XMLEvent |
nextEvent() |
XMLEvent |
nextTag() |
XMLEvent |
peek() |
void |
remove() |
public SAXSourceXMLEventReaderImpl(javax.xml.transform.sax.SAXSource source) throws XMLStreamException
XMLStreamException
public SAXSourceXMLEventReaderImpl()
public static javax.xml.parsers.SAXParserFactory getSAXParserFactory() throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public org.xml.sax.ContentHandler getContentHandler()
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