hmi.bml.ext.bmlt
Class BMLTBehaviour

java.lang.Object
  extended by hmi.xml.XMLStructureAdapter
      extended by hmi.bml.core.BMLElement
          extended by hmi.bml.core.Behaviour
              extended by hmi.bml.ext.bmlt.BMLTBehaviour
All Implemented Interfaces:
XMLStructure
Direct Known Subclasses:
BMLTAudioFileBehaviour, BMLTBlinkModelChangeBehaviour, BMLTControllerBehaviour, BMLTGazePatternChangeBehaviour, BMLTKeyframeBehaviour, BMLTProcAnimationBehaviour, BMLTTransitionBehaviour

public abstract class BMLTBehaviour
extends Behaviour


Field Summary
(package private) static String BMLTNAMESPACE
           
protected  HashMap<String,BMLTParameter> parameters
           
 
Fields inherited from class hmi.bml.core.Behaviour
descBehaviour, timeOffset
 
Fields inherited from class hmi.bml.core.BMLElement
bmlId, id
 
Fields inherited from class hmi.xml.XMLStructureAdapter
ATTRIBUTE_TOKEN_DELIMITERS, COMMA_SEPARATOR, DECODEDARRAYSIZE, DEFAULT_RECOVER_MODE, NEWLINE, SYSTEMNEWLINE, TAB, TAB_STRING
 
Constructor Summary
BMLTBehaviour()
           
 
Method Summary
 void decodeContent(XMLTokenizer tokenizer)
          decodes the XML contents, i.e. the XML between the STag and ETag of the encoding.
 float getFloatParameterValue(String name)
           
 String getNamespace()
          Returns the (full, unabbreviated) namespace string for this XMLStructure Class
 String getStringParameterValue(String name)
           
 boolean satisfiesConstraint(String name, String value)
           
 boolean specifiesParameter(String name)
          Does the behavior prescribe a value for parameter with name name?
 
Methods inherited from class hmi.bml.core.Behaviour
addDefaultSyncPoints, addSyncPoint, addSyncPoints, appendAttributeString, appendContent, constructConstraints, decodeAttributes, getStartSyncPoint, getSyncPoints, hasContent, removeSyncPoints
 
Methods inherited from class hmi.bml.core.BMLElement
ensureDecodeProgress, getXMLTag, registerElementsById, xmlTag
 
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, appendBooleans, appendCloseEmptyTag, appendCloseSTag, appendComment, 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, 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, getOptionalAttribute, getOptionalAttribute, getOptionalBooleanAttribute, getOptionalDoubleAttribute, getOptionalFloatAttribute, getOptionalIntAttribute, getOptionalLongAttribute, getRequiredAttribute, getRequiredBooleanAttribute, getRequiredDoubleAttribute, getRequiredFloatAttribute, getRequiredIntAttribute, getRequiredLongAttribute, getTagLine, parseXMLElement, postProcess, preProcess, readXML, readXML, readXML, setConsoleAttributeEnabled, setDefaultRecoverMode, setRecoverMode, spaces, toString, toXMLString, toXMLString, toXMLString, toXMLString, toXMLString, toXMLString, writeXML, writeXML, writeXML, writeXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BMLTNAMESPACE

static final String BMLTNAMESPACE
See Also:
Constant Field Values

parameters

protected HashMap<String,BMLTParameter> parameters
Constructor Detail

BMLTBehaviour

public BMLTBehaviour()
Method Detail

getNamespace

public String getNamespace()
Description copied from class: XMLStructureAdapter
Returns the (full, unabbreviated) namespace string for this XMLStructure Class

Overrides:
getNamespace in class XMLStructureAdapter

getStringParameterValue

public String getStringParameterValue(String name)
Specified by:
getStringParameterValue in class Behaviour

specifiesParameter

public boolean specifiesParameter(String name)
Description copied from class: Behaviour
Does the behavior prescribe a value for parameter with name name?

Specified by:
specifiesParameter in class Behaviour

getFloatParameterValue

public float getFloatParameterValue(String name)
Specified by:
getFloatParameterValue in class Behaviour

satisfiesConstraint

public boolean satisfiesConstraint(String name,
                                   String value)
Overrides:
satisfiesConstraint in class Behaviour

decodeContent

public void decodeContent(XMLTokenizer tokenizer)
                   throws IOException
Description copied from class: XMLStructureAdapter
decodes the XML contents, i.e. the XML between the STag and ETag of the encoding. MUST BE OVERWRITTEN BY IMPLEMENTATIONS.

Overrides:
decodeContent in class Behaviour
Throws:
IOException