Class SaxPullAdapter
java.lang.Object
de.bsvrz.sys.funclib.xmlSupport.saxPullAdapter.SaxPullAdapter
Implementierung eines SAX-basierten Pull-Adapters zum Parsen von XML-Dateien, der die Verwendung des SAX-XML-Parsers durch Umkehrung des
Kontrollflusses vereinfacht.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstart
(File file, ErrorHandler errorHandler) start
(InputStream inputStream, ErrorHandler errorHandler) void
stop()
-
Constructor Details
-
SaxPullAdapter
-
SaxPullAdapter
-
-
Method Details
-
start
public PullableEventStream start(InputStream inputStream, ErrorHandler errorHandler) throws SAXException, InterruptedException - Throws:
SAXException
InterruptedException
-
start
public PullableEventStream start(File file, ErrorHandler errorHandler) throws SAXException, InterruptedException - Throws:
SAXException
InterruptedException
-
stop
public void stop()
-