de.bsvrz.sys.funclib.xmlSupport.saxPullAdapter
Class SaxPullAdapter
java.lang.Object
de.bsvrz.sys.funclib.xmlSupport.saxPullAdapter.SaxPullAdapter
public class SaxPullAdapter
- extends Object
Implementierung eines SAX-basierten Pull-Adapters zum Parsen von XML-Dateien, der die Verwendung des SAX-XML-Parsers durch Umkehrung des Kontrollflusses
vereinfacht.
- Author:
- Kappich Systemberatung
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_debug
private static final Debug _debug
_saxParser
private SAXParser _saxParser
_xmlReader
private XMLReader _xmlReader
_eventQueue
private BufferedQueue<Event> _eventQueue
_eventProducerThread
Thread _eventProducerThread
SaxPullAdapter
public SaxPullAdapter(EntityResolver resolver)
throws ParserConfigurationException,
SAXException
- Throws:
ParserConfigurationException
SAXException
start
public PullableEventStream start(File file,
ErrorHandler errorHandler)
throws SAXException,
InterruptedException
- Throws:
SAXException
InterruptedException
stop
public void stop()