hmi.bml.ext.bmlt
Class BMLTInterruptBehaviour
java.lang.Object
hmi.xml.XMLStructureAdapter
hmi.bml.core.BMLElement
hmi.bml.core.Behaviour
hmi.bml.ext.bmlt.BMLTInterruptBehaviour
- All Implemented Interfaces:
- XMLStructure
public class BMLTInterruptBehaviour
- extends Behaviour
| 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 |
target
private String target
interruptSpecs
private List<BMLTInterruptSpec> interruptSpecs
XMLTAG
private static final String XMLTAG
- See Also:
- Constant Field Values
BMLTInterruptBehaviour
public BMLTInterruptBehaviour()
BMLTInterruptBehaviour
public BMLTInterruptBehaviour(XMLTokenizer tokenizer)
throws IOException
- Throws:
IOException
getNamespace
public String getNamespace()
- Description copied from class:
XMLStructureAdapter
- Returns the (full, unabbreviated) namespace string for this XMLStructure Class
- Overrides:
getNamespace in class XMLStructureAdapter
getTarget
public String getTarget()
getInterruptSpecs
public List<BMLTInterruptSpec> getInterruptSpecs()
- Returns:
- the an unmodifiable view of the interrupt spec list,
appendAttributeString
public StringBuilder appendAttributeString(StringBuilder buf)
- Description copied from class:
XMLStructureAdapter
- Appends a String to buf that encodes the attributes for the XML encoding.
When non empty, the attribute string should start with a space character.
Hint: call the appendAttribute(StringBuilder buf, String attrName, String attrValue)
for every relevant attribute; this takes care of the leading space as well as spaces
in between the attributes)
MUST BE OVERWRITTEN BY IMPLEMENTATIONS. (The default implementation appends nothing).
The encoding should preferably not add newline characters.
- Overrides:
appendAttributeString in class Behaviour
decodeAttributes
public void decodeAttributes(HashMap<String,String> attrMap,
XMLTokenizer tokenizer)
- Description copied from class:
XMLStructureAdapter
- decodes all attributes. The default implementation calls decodeAttribute for every attribute in turn.
The decodeAttributes method can be reimplemented when attributes must be processed in some particular order.
- Overrides:
decodeAttributes 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
xmlTag
public 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
getXMLTag
public String getXMLTag()
- The XML Stag for XML encoding -- use this method to find out the run-time xml tag of an object
- Specified by:
getXMLTag in interface XMLStructure- Overrides:
getXMLTag in class BMLElement
getFloatParameterValue
public float getFloatParameterValue(String name)
- Specified by:
getFloatParameterValue in class Behaviour
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