|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.xml.XMLStructureAdapter
hmi.environment.avatars.MixedSystemAssembler
public class MixedSystemAssembler
| Field Summary | |
|---|---|
private VJoint |
human
|
private ArrayList<IDBranchAssembler> |
idbas
|
private org.slf4j.Logger |
logger
|
private MixedSystem |
ms
|
private PhysicalHumanoidAssembler |
pha
|
| Fields inherited from class hmi.xml.XMLStructureAdapter |
|---|
ATTRIBUTE_TOKEN_DELIMITERS, COMMA_SEPARATOR, DECODEDARRAYSIZE, DEFAULT_RECOVER_MODE, NEWLINE, SYSTEMNEWLINE, TAB, TAB_STRING |
| Constructor Summary | |
|---|---|
MixedSystemAssembler(VJoint h,
PhysicalHumanoid p,
MixedSystem m)
Constructor |
|
| Method Summary | |
|---|---|
private void |
addIDSegments(VJoint startJoint,
GNode rootNode,
IDBranchAssembler ba)
|
StringBuilder |
appendAttributeString(StringBuilder buf)
Appends a String to buf that encodes the attributes for the XML encoding. |
StringBuilder |
appendContent(StringBuilder buf,
XMLFormatting fmt)
Appends a String to buf that encodes the contents for the XML encoding. |
IDBranchAssembler |
createBranchFromGNode(GNode rootNode,
String idStartSegment)
|
void |
createFromGNode(GNode node,
String[] fdSegments,
String rootSegment,
JointType[] types,
float[] axes,
float[] limits1,
float[] limits2,
float[] limits3,
String[] idSegments)
|
boolean |
decodeAttribute(String attrName,
String attrValue)
decodes the value from an attribute value String returns true if succesful, returns false for attribute names that are not recognized. |
boolean |
decodeAttribute(String attrName,
String attrValue,
XMLTokenizer tokenizer)
decodes the value from an attribute value String returns true if succesful, returns false for attribute names that are not recognized. |
void |
decodeContent(XMLTokenizer tokenizer)
decodes the XML contents, i.e. the XML between the STag and ETag of the encoding. |
String |
getXMLTag()
returns the XML tag that is used to encode this type of XMLStructure. |
void |
setup()
Constructs the parsed system |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private org.slf4j.Logger logger
private PhysicalHumanoidAssembler pha
private ArrayList<IDBranchAssembler> idbas
private VJoint human
private MixedSystem ms
| Constructor Detail |
|---|
public MixedSystemAssembler(VJoint h,
PhysicalHumanoid p,
MixedSystem m)
h - the visualization humanoidp - the PhysicalHumanoidm - the system| Method Detail |
|---|
private void addIDSegments(VJoint startJoint,
GNode rootNode,
IDBranchAssembler ba)
public IDBranchAssembler createBranchFromGNode(GNode rootNode,
String idStartSegment)
public void createFromGNode(GNode node,
String[] fdSegments,
String rootSegment,
JointType[] types,
float[] axes,
float[] limits1,
float[] limits2,
float[] limits3,
String[] idSegments)
public void setup()
public boolean decodeAttribute(String attrName,
String attrValue)
decodeAttribute in class XMLStructureAdapter
public boolean decodeAttribute(String attrName,
String attrValue,
XMLTokenizer tokenizer)
decodeAttribute in class XMLStructureAdapter
public void decodeContent(XMLTokenizer tokenizer)
throws IOException
decodeContent in class XMLStructureAdapterIOException
public StringBuilder appendContent(StringBuilder buf,
XMLFormatting fmt)
appendContent in class XMLStructureAdapterpublic StringBuilder appendAttributeString(StringBuilder buf)
appendAttributeString in class XMLStructureAdapterpublic 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 | |||||||||