com.hp.hpl.jena.rdf.arp
Class StAX2SAX
java.lang.Object
com.hp.hpl.jena.rdf.arp.StAX2SAX
public class StAX2SAX
- extends Object
Bridge StAX and SAX parsing.
- Author:
- Damian Steer
StAX2SAX
public StAX2SAX(ContentHandler handler)
- Primes a converter with a SAX handler.
Note: if handler is also LexicalHandler it will pass on lexical events.
- Parameters:
handler
-
parse
public void parse(XMLStreamReader xmlReader)
throws XMLStreamException,
SAXException
- Throws:
XMLStreamException
SAXException
parse
public void parse(XMLEventReader xmlReader)
throws XMLStreamException,
SAXException
- Throws:
XMLStreamException
SAXException
Licenced under the Apache License, Version 2.0