hmi.environment.avatars
Class FaceSpecLoader
java.lang.Object
hmi.xml.XMLStructureAdapter
hmi.environment.avatars.SpecLoader
hmi.environment.avatars.FaceSpecLoader
- All Implemented Interfaces:
- XMLStructure
- Direct Known Subclasses:
- FaceSpecHmiLoader
public class FaceSpecLoader
- extends SpecLoader
This segment in the VirtualHumanSpec xml defines generic face capabilities, not related to any specific renderer.
What is found in FaceSpec?
- face binding (name of face binding xml)
- visemebinding (tag gives type; attribs give ref to appropriate file)
- available face targets?
stores in the spec:
face, facebinding, FaceBinding (MANDATORY)
face, visemebinding, VisemeBinding (optional)
face, availablemorphtargets, ArrayList
- Author:
- Dennis Reidsma
| Methods inherited from class hmi.xml.XMLStructureAdapter |
appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttribute, appendAttributes, appendAttributes, appendAttributeString, appendAttributeString, appendBooleans, appendCloseEmptyTag, appendCloseSTag, appendComment, appendContent, appendContent, appendDoubleElement, appendEmptyTag, appendEmptyTag, appendEmptyTag, appendEmptyTag, appendEmptyTag, appendEmptyTag, appendETag, appendETag, appendFloatArrayElement, appendFloatElement, appendFloats, appendIntArrayElement, appendIntElement, appendInts, appendLongElement, appendNewLine, appendNewLine, appendNewLine, appendOpenSTag, appendOptionalDoubleElement, appendOptionalFloatElement, appendOptionalIntElement, appendOptionalLongElement, appendSpaces, appendSpaces, appendSTag, appendSTag, appendSTag, appendStringArrayElement, appendStrings, appendSystemNewLine, appendTab, appendTextElement, appendXML, appendXML, appendXML, appendXML, appendXML, appendXMLStructure, appendXMLStructureList, appendXMLTextElementList, countTokens, countTokens, decodeAttribute, decodeAttribute, decodeAttributes, decodeBoolean, decodeBooleanArray, decodeBooleanArray, decodeBooleanArray, decodeBooleanArray, decodeDouble, decodeDoubleArray, decodeDoubleArray, decodeDoubleArray, decodeDoubleArray, decodeFloat, decodeFloatArray, decodeFloatArray, decodeFloatArray, decodeFloatArray, decodeInt, decodeIntArray, decodeIntArray, decodeIntArray, decodeIntArray, decodeLong, decodeStringArray, decodeStringArray, decodeStringArray, decodeStringArray, decodeXMLStructureList, decodeXMLValueElement, getNamespace, getOptionalAttribute, getOptionalAttribute, getOptionalBooleanAttribute, getOptionalDoubleAttribute, getOptionalFloatAttribute, getOptionalIntAttribute, getOptionalLongAttribute, getRequiredAttribute, getRequiredBooleanAttribute, getRequiredDoubleAttribute, getRequiredFloatAttribute, getRequiredIntAttribute, getRequiredLongAttribute, getTagLine, hasContent, parseXMLElement, postProcess, preProcess, readXML, readXML, readXML, setConsoleAttributeEnabled, setDefaultRecoverMode, setRecoverMode, spaces, toString, toXMLString, toXMLString, toXMLString, toXMLString, toXMLString, toXMLString, writeXML, writeXML, writeXML, writeXML |
XMLTAG
private static final String XMLTAG
- See Also:
- Constant Field Values
FaceSpecLoader
public FaceSpecLoader()
decodeContent
public void decodeContent(XMLTokenizer tokenizer)
throws IOException
- See above for what XML content will be expected...
- Overrides:
decodeContent in class XMLStructureAdapter
- Throws:
IOException
readElement
public void readElement(String tag,
XMLTokenizer tokenizer)
throws IOException
- Throws:
IOException
readFaceBinding
public void readFaceBinding(XMLTokenizer tokenizer)
throws IOException
- Throws:
IOException
readMorphVisemeBinding
public void readMorphVisemeBinding(XMLTokenizer tokenizer)
throws IOException
- Throws:
IOException
readMorphTargets
public void readMorphTargets(XMLTokenizer tokenizer)
throws IOException
- Throws:
IOException
xmlTag
public static String xmlTag()
- The XML Stag for XML encoding -- use this static method when you want to see if a given String equals
the xml tag for this class
getXMLTag
public String getXMLTag()
- The XML Stag for XML encoding -- use this method to find out the run-time xml tag of an object
- Specified by:
getXMLTag in interface XMLStructure- Overrides:
getXMLTag in class SpecLoader