public class SiGMLDocsFromHNSSource
extends java.lang.Object
HNSSign
s generated by a given
HNSInputAsSignSequence
, and from these signs it
constructs a pair of SiGML documents, one containing
<hns_sign> elements and one containing
<hamgestural_sign> elements.
An HML document is also generated.Constructor and Description |
---|
SiGMLDocsFromHNSSource(HNSToHML htoh,
HMLToSiGML htos,
HNSInputAsSignSequence hnsin)
Constructs a new
SiGMLDocsFromHNSSource , which
will use the three given converters
(that convert, respectively, an "HNS" SiGML sign element to an
HNSSign object, an HNSSign object to an HML sign
element, and an HML sign to a "Gestural" SiGML sign element) to
generate "HNS" and "Gestural" SiGML document texts for the
sequence of "HNS" SiGML signs obtained from a given
HNSInputAsSignSequence . |
Modifier and Type | Method and Description |
---|---|
int |
getGesturalErrorCount()
Returns the error count for the "HNS-to-Gestural"
SiGML conversion.
|
java.lang.String |
getGesturalErrorText()
Returns the accumulated error text for the "HNS-to-Gestural"
SiGML conversion.
|
java.lang.String |
getGesturalSignsDoc()
Returns the text of the "Gestural" SiGML document corresponding
to this doc-generator's HNS/HNST input.
|
java.lang.String |
getHMLDoc()
Returns the text of the HML document corresponding
to this doc-generator's HNS/HNST input.
|
java.lang.String |
getHNSSignsDoc()
Returns the text of the "HNS" SiGML document corresponding
to this doc-generator's HNS/HNST input.
|
public SiGMLDocsFromHNSSource(HNSToHML htoh, HMLToSiGML htos, HNSInputAsSignSequence hnsin)
SiGMLDocsFromHNSSource
, which
will use the three given converters
(that convert, respectively, an "HNS" SiGML sign element to an
HNSSign
object, an HNSSign
object to an HML sign
element, and an HML sign to a "Gestural" SiGML sign element) to
generate "HNS" and "Gestural" SiGML document texts for the
sequence of "HNS" SiGML signs obtained from a given
HNSInputAsSignSequence
.htoh
- A HNSToHML
converter for
use by the new doc-generator.htos
- A HMLToSiGML
converter for
use by the new doc-generator.hnsin
- The HNS/HNST source for which the corresponding
SiGML document texts are to be generated.public java.lang.String getHNSSignsDoc()
public java.lang.String getHMLDoc()
public java.lang.String getGesturalSignsDoc()
public java.lang.String getGesturalErrorText()
public int getGesturalErrorCount()