|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.xml.XMLStructureAdapter
hmi.elckerlyc.animationengine.gesturebinding.MotionUnitSpec
public class MotionUnitSpec
| Field Summary | |
|---|---|
private ArrayList<MotionUnitSpecConstraint> |
constraints
|
private static org.slf4j.Logger |
logger
|
MotionUnit |
motionUnit
|
private HashMap<String,MotionUnitParameterDefault> |
parameterdefault
|
private HashMap<String,String> |
parametermap
|
private Resources |
resources
|
private String |
specnamespace
|
private String |
type
|
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 | |
|---|---|
MotionUnitSpec(Resources r)
|
|
| Method Summary | |
|---|---|
void |
addConstraint(MotionUnitSpecConstraint c)
|
void |
addParameter(MotionUnitParameter p)
|
void |
addParameterDefault(MotionUnitParameterDefault p)
|
void |
decodeAttributes(HashMap<String,String> attrMap,
XMLTokenizer tokenizer)
decodes all attributes. |
void |
decodeContent(XMLTokenizer tokenizer)
decodes the XML contents, i.e. the XML between the STag and ETag of the encoding. |
String |
getParameter(String src)
Get motion unit parameter for BML parameter src |
Collection<MotionUnitParameterDefault> |
getParameterDefaults()
Get motion unit parameter for BML parameter src |
Set<String> |
getParameters()
|
String |
getSpecnamespace()
|
String |
getType()
|
String |
getXMLTag()
The XML Stag for XML encoding -- use this method to find out the run-time xml tag of an object |
boolean |
satisfiesConstraints(Behaviour b)
|
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 static final org.slf4j.Logger logger
public MotionUnit motionUnit
private String type
private String specnamespace
private ArrayList<MotionUnitSpecConstraint> constraints
private HashMap<String,String> parametermap
private HashMap<String,MotionUnitParameterDefault> parameterdefault
private final Resources resources
private static final String XMLTAG
| Constructor Detail |
|---|
public MotionUnitSpec(Resources r)
| Method Detail |
|---|
public boolean satisfiesConstraints(Behaviour b)
public String getSpecnamespace()
public String getType()
public Set<String> getParameters()
public void addConstraint(MotionUnitSpecConstraint c)
public void addParameter(MotionUnitParameter p)
public void addParameterDefault(MotionUnitParameterDefault p)
addParameterDefault in interface ParameterDefaultsHandlerpublic String getParameter(String src)
public Collection<MotionUnitParameterDefault> getParameterDefaults()
public void decodeAttributes(HashMap<String,String> attrMap,
XMLTokenizer tokenizer)
XMLStructureAdapter
decodeAttributes in class XMLStructureAdapter
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 | |||||||||