Package | Description |
---|---|
hnscnvt |
This package implements the processing of HamNoSys 4 sign data
in various input formats to give the corresponding HamNoSysML (HML)
and gestural SiGML representations.
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
HNSToHML.hmlSign(HNSSign hsign)
Generates and returns the HML
<sign> element
for the given HNSSign . |
java.lang.String |
HNSToHML.hmlSignText(org.w3c.dom.Element hmlel)
Returns the given HML element as a multi-line text.
|
java.lang.String |
HNSToHML.hmlSignText(HNSSign hsign)
Generates and returns the HML
<sign> element
for the given HNSSign . |
java.lang.String |
HNSToHML.rawHMLSignText(org.w3c.dom.Element hmlel)
Returns the given HML element as a raw (typically single-line)
text.
|
void |
HNSToHML.validateHML(java.lang.String hdoctxt)
Validates the given HML document text, throwing an
HNSToHML.HNSToHMLException in case of failure;
the presence of whitespace in an element with an EMPTY content
model will be flagged as invalid. |
void |
HNSToHML.validateHML(java.lang.String hdoctxt,
boolean emptywsok)
Validates the given HML document text, allowing whitespace
for EMPTY element content, and returning silently if successful or
throwing an
HNSToHML.HNSToHMLException in case of
failure. |
Constructor and Description |
---|
HNSToHML()
Constructs a new converter of HNS signs to HML.
|