Package org.apache.jena.rdfxml.xmlinput
Class StAX2SAX
- java.lang.Object
-
- org.apache.jena.rdfxml.xmlinput.StAX2SAX
-
public class StAX2SAX extends java.lang.Object
Bridge StAX and SAX parsing.
-
-
Constructor Summary
Constructors Constructor Description StAX2SAX(org.xml.sax.ContentHandler handler)
Primes a converter with a SAX handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
parse(javax.xml.stream.XMLEventReader xmlReader)
Consumes all StAX events and passes them on to the content handlervoid
parse(javax.xml.stream.XMLStreamReader xmlReader)
-
-
-
Method Detail
-
parse
public void parse(javax.xml.stream.XMLStreamReader xmlReader) throws javax.xml.stream.XMLStreamException, org.xml.sax.SAXException
- Throws:
javax.xml.stream.XMLStreamException
org.xml.sax.SAXException
-
parse
public void parse(javax.xml.stream.XMLEventReader xmlReader) throws javax.xml.stream.XMLStreamException, org.xml.sax.SAXException
Consumes all StAX events and passes them on to the content handler- Throws:
javax.xml.stream.XMLStreamException
org.xml.sax.SAXException
-
-