sigmlgen
Class SiGMLDocHNSToGestural

java.lang.Object
  extended by sigmlgen.SiGMLDocHNSToGestural

public class SiGMLDocHNSToGestural
extends java.lang.Object

A converter for a SiGML document: it generates a new copy of the document in which each <hns_sign> element in the original is replaced by the result of translating that element to a semantically equivalent <hamgestural_sign> element.


Nested Class Summary
static class SiGMLDocHNSToGestural.SiGMLConvertException
          Exception class for SiGML HNS-to-Gestural conversion.
 
Constructor Summary
SiGMLDocHNSToGestural(HNSSignElementToHNS hstoh, HNSToHML htoh, HMLToSiGML htos, java.lang.String sigmltext)
          Constructs a new converter for the given SiGML <sigml> document text, using the given repertoire of standard converters.
SiGMLDocHNSToGestural(HNSSignElementToHNS hstoh, HNSToHML htoh, HMLToSiGML htos, java.lang.String sigmltext, java.lang.String doceltype)
          Constructs a new converter for the given SiGML document text, whose document element should be of the specified type (either sigml or sigmlsection, using the given repertoire of standard converters.
SiGMLDocHNSToGestural(HNSSignElementToHNS hstoh, HNSToHML htoh, HMLToSiGML htos, java.lang.String sigmltext, java.lang.String doceltype, boolean loghml)
          Constructs a new converter for the given SiGML document text, whose document element should be of the specified type (either sigml or sigmlsection, using the given repertoire of standard converters, using the given HML logging enabled flag setting.
 
Method Summary
 int getGesturalErrorCount()
          Returns the error count for this converter's conversion process.
 java.lang.String getGesturalErrorText()
          Returns the error text for this converter's conversion process.
 java.lang.String getGesturalSiGMLDoc()
          Returns the "gestural" SiGML document text produced by this converter's conversion process.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiGMLDocHNSToGestural

public SiGMLDocHNSToGestural(HNSSignElementToHNS hstoh,
                             HNSToHML htoh,
                             HMLToSiGML htos,
                             java.lang.String sigmltext)
                      throws SiGMLDocHNSToGestural.SiGMLConvertException
Constructs a new converter for the given SiGML <sigml> document text, using the given repertoire of standard converters.

Throws:
SiGMLDocHNSToGestural.SiGMLConvertException

SiGMLDocHNSToGestural

public SiGMLDocHNSToGestural(HNSSignElementToHNS hstoh,
                             HNSToHML htoh,
                             HMLToSiGML htos,
                             java.lang.String sigmltext,
                             java.lang.String doceltype)
                      throws SiGMLDocHNSToGestural.SiGMLConvertException
Constructs a new converter for the given SiGML document text, whose document element should be of the specified type (either sigml or sigmlsection, using the given repertoire of standard converters.

Throws:
SiGMLDocHNSToGestural.SiGMLConvertException

SiGMLDocHNSToGestural

public SiGMLDocHNSToGestural(HNSSignElementToHNS hstoh,
                             HNSToHML htoh,
                             HMLToSiGML htos,
                             java.lang.String sigmltext,
                             java.lang.String doceltype,
                             boolean loghml)
                      throws SiGMLDocHNSToGestural.SiGMLConvertException
Constructs a new converter for the given SiGML document text, whose document element should be of the specified type (either sigml or sigmlsection, using the given repertoire of standard converters, using the given HML logging enabled flag setting.

Throws:
SiGMLDocHNSToGestural.SiGMLConvertException
Method Detail

getGesturalSiGMLDoc

public java.lang.String getGesturalSiGMLDoc()
Returns the "gestural" SiGML document text produced by this converter's conversion process.


getGesturalErrorCount

public int getGesturalErrorCount()
Returns the error count for this converter's conversion process.


getGesturalErrorText

public java.lang.String getGesturalErrorText()
Returns the error text for this converter's conversion process.