|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.xml.XMLStructureAdapter
hmi.elckerlyc.faceengine.facebinding.FaceUnitSpec
public class FaceUnitSpec
| Field Summary | |
|---|---|
private ArrayList<FaceUnitSpecConstraint> |
constraints
|
FaceUnit |
faceUnit
|
private HashMap<String,FaceUnitParameterDefault> |
parameterdefault
|
private HashMap<String,String> |
parametermap
|
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 | |
|---|---|
FaceUnitSpec()
|
|
| Method Summary | |
|---|---|
void |
addConstraint(FaceUnitSpecConstraint c)
|
void |
addParameter(FaceUnitParameter p)
|
void |
addParameterDefault(FaceUnitParameterDefault 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<FaceUnitParameterDefault> |
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 |
|---|
public FaceUnit faceUnit
private String type
private String specnamespace
private ArrayList<FaceUnitSpecConstraint> constraints
private HashMap<String,String> parametermap
private HashMap<String,FaceUnitParameterDefault> parameterdefault
private static final String XMLTAG
| Constructor Detail |
|---|
public FaceUnitSpec()
| Method Detail |
|---|
public String getType()
public String getSpecnamespace()
public boolean satisfiesConstraints(Behaviour b)
public Set<String> getParameters()
public void addConstraint(FaceUnitSpecConstraint c)
public void addParameter(FaceUnitParameter p)
public void addParameterDefault(FaceUnitParameterDefault p)
public String getParameter(String src)
public Collection<FaceUnitParameterDefault> 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 | |||||||||