public class SiGMLUnitStreamToSignStream extends java.lang.Object implements SiGMLUnitStreamHandler
SiGMLUnitStreamHandler that takes the input it receives
from the SiGML unit stream to which it is attached, and converts
it into a stream of gestural SiGML signs.
This stream of SiGML signs is passed to a StreamedSiGMLReceiver
that is specified to the converter at construction time.| Constructor and Description |
|---|
SiGMLUnitStreamToSignStream(java.net.URI base,
StreamedSiGMLReceiver ssrcvr,
javax.xml.parsers.SAXParserFactory spfac,
sigmlstream.xml.XMLUnitDOMBuilder xudb)
Constructs a new SiGML unit stream converter, 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 |
notifyBaseURI(java.lang.String base)
Updates the base URI associated with the SiGML sign stream, as
specified by the
base argument. |
void |
notifyBeginXMLUnitStream()
Accepts notification of the start of the SiGML input stream, generating
a corresponding notification to this converter's SiGML receiver.
|
void |
notifyEndXMLUnitStream()
Accepts notification of the end of the SiGML input stream,
generating a corresponding notification to this converter's SiGML
receiver.
|
void |
notifyXMLUnit(java.util.ArrayList<sigmlstream.xml.XMLUnitEvent> uevts)
Accepts notification of the next SiGML unit from the SiGML input
stream, converting the unit to a SiGML DOM element and processing
that element to generate the appropriate stream of events to this
converter's SiGML receiver.
|
public SiGMLUnitStreamToSignStream(java.net.URI base,
StreamedSiGMLReceiver ssrcvr,
javax.xml.parsers.SAXParserFactory spfac,
sigmlstream.xml.XMLUnitDOMBuilder xudb)
public void notifyBaseURI(java.lang.String base)
base argument.notifyBaseURI in interface SiGMLUnitStreamHandlerpublic void notifyBeginXMLUnitStream()
notifyBeginXMLUnitStream in interface sigmlstream.xml.XMLUnitStreamHandlerpublic void notifyXMLUnit(java.util.ArrayList<sigmlstream.xml.XMLUnitEvent> uevts)
notifyXMLUnit in interface sigmlstream.xml.XMLUnitStreamHandlerpublic void notifyEndXMLUnitStream()
notifyEndXMLUnitStream in interface sigmlstream.xml.XMLUnitStreamHandler