public class SiGMLSignsScanner
extends java.lang.Object
StreamedSiGMLReceiver
,
supplied when the scanner is constructed.Constructor and Description |
---|
SiGMLSignsScanner(java.net.URI base,
StreamedSiGMLReceiver ssrcvr,
javax.xml.parsers.SAXParserFactory spfac,
sigmlstream.xml.XMLUnitDOMBuilder xudb)
Constructs a new SiGML scanner, using the given initial
SiGML base URI, directing the signs it generates to the given streamed
SiGML receiver, and using the given SAX parser factory and XML unit
DOM builder when processing any embedded SiGML URI references.
|
Modifier and Type | Method and Description |
---|---|
void |
scanSiGMLStream(java.io.InputStream SIGML_STRM)
Scans the SiGML document accessible via the given input stream,
causing a sequence of SiGML signs to be fed to this scanner's SiGML
receiver.
|
void |
scanSiGMLText(java.io.StringReader SIGML_STR_RDR)
Scans the SiGML document accessible via the given string reader,
causing a sequence of SiGML signs to be fed to this scanner's SiGML
receiver.
|
void |
scanSiGMLURL(java.lang.String SIGML_URL)
Scans the SiGML document at the given URL, causing a sequence of
SiGML signs to be fed to this scanner's SiGML receiver.
|
public SiGMLSignsScanner(java.net.URI base, StreamedSiGMLReceiver ssrcvr, javax.xml.parsers.SAXParserFactory spfac, sigmlstream.xml.XMLUnitDOMBuilder xudb) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
public void scanSiGMLURL(java.lang.String SIGML_URL)
public void scanSiGMLText(java.io.StringReader SIGML_STR_RDR)
public void scanSiGMLStream(java.io.InputStream SIGML_STRM)