|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.xml.XMLStructureAdapter
hmi.faceanimation.model.FACSConfiguration
public class FACSConfiguration
A FACS Configuration (set of values for AU's, both for the left and right side of the face). The float array of values first contains all Left values for all AUs, then all Right values. Values for Symmetrical AUs are stored in the first half of the array, i.e. among the Left values.
| Field Summary | |
|---|---|
private int |
numAus
|
private Float[] |
values
|
private static String |
XMLTAG
|
| Fields inherited from class hmi.xml.XMLStructureAdapter |
|---|
ATTRIBUTE_TOKEN_DELIMITERS, COMMA_SEPARATOR, DECODEDARRAYSIZE, DEFAULT_RECOVER_MODE, NEWLINE, SYSTEMNEWLINE, TAB, TAB_STRING |
| Constructor Summary | |
|---|---|
FACSConfiguration()
Constructor |
|
| Method Summary | |
|---|---|
StringBuilder |
appendAU(int number,
FACS.Side s,
Float value,
StringBuilder buf,
XMLFormatting fmt)
|
StringBuilder |
appendContent(StringBuilder buf,
XMLFormatting fmt)
Appends a String to buf that encodes the contents for the XML encoding. |
void |
decodeContent(XMLTokenizer tokenizer)
decodes the XML contents, i.e. the XML between the STag and ETag of the encoding. |
Float |
getValue(FACS.Side side,
int index)
|
Float[] |
getValues()
|
String |
getXMLTag()
The XML Stag for XML encoding -- use this method to find out the run-time xml tag of an object |
void |
setValue(FACS.Side side,
int index,
float value)
|
void |
setValues(Float[] values)
Sets the values. |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private Float[] values
private int numAus
private static final String XMLTAG
| Constructor Detail |
|---|
public FACSConfiguration()
| Method Detail |
|---|
public void setValue(FACS.Side side,
int index,
float value)
public Float getValue(FACS.Side side,
int index)
public void setValues(Float[] values)
throws Exception
values -
Exceptionpublic Float[] getValues()
public StringBuilder appendContent(StringBuilder buf,
XMLFormatting fmt)
XMLStructureAdapter
appendContent in class XMLStructureAdapter
public StringBuilder appendAU(int number,
FACS.Side s,
Float value,
StringBuilder buf,
XMLFormatting fmt)
public void decodeContent(XMLTokenizer tokenizer)
throws IOException
XMLStructureAdapter
decodeContent in class XMLStructureAdapterIOExceptionpublic static String xmlTag()
public String getXMLTag()
getXMLTag in interface XMLStructuregetXMLTag in class XMLStructureAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||