hmi.bml.ext.bmlt
Class BMLTInterruptSpec

java.lang.Object
  extended by hmi.xml.XMLStructureAdapter
      extended by hmi.bml.ext.bmlt.BMLTInterruptSpec
All Implemented Interfaces:
XMLStructure

public class BMLTInterruptSpec
extends XMLStructureAdapter


Field Summary
private  String behavior
           
private static String BMLTNAMESPACE
           
private  String interruptSync
           
private  Set<String> onStartList
           
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
BMLTInterruptSpec()
           
 
Method Summary
 StringBuilder appendAttributeString(StringBuilder buf, XMLFormatting fmt)
          A special case of appendAttributeString that also takes a fmt parameter.
 void decodeAttributes(HashMap<String,String> attrMap, XMLTokenizer tokenizer)
          decodes all attributes.
 String getBehavior()
           
 String getInterruptSync()
           
 String getNamespace()
          Returns the (full, unabbreviated) namespace string for this XMLStructure Class
 Set<String> getOnStartList()
           
 String getXMLTag()
          The XML Stag for XML encoding -- use this method to find out the run-time xml tag of an object
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 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, 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, decodeContent, 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, hasContent, 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

private static final String BMLTNAMESPACE
See Also:
Constant Field Values

behavior

private String behavior

interruptSync

private String interruptSync

onStartList

private Set<String> onStartList

XMLTAG

private static final String XMLTAG
See Also:
Constant Field Values
Constructor Detail

BMLTInterruptSpec

public BMLTInterruptSpec()
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

getBehavior

public String getBehavior()

getInterruptSync

public String getInterruptSync()

getOnStartList

public Set<String> getOnStartList()
Returns:
the an unmodifiable view of the onStartList, that is the list of bml blocks that this interrupt spec activates

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 XMLStructureAdapter

appendAttributeString

public StringBuilder appendAttributeString(StringBuilder buf,
                                           XMLFormatting fmt)
Description copied from class: XMLStructureAdapter
A special case of appendAttributeString that also takes a fmt parameter. This method need not be re-implemted, unless it is desitable to layout the attributes spanning several lines. The X3D standard is an example where XML attributes are abused to store complete arrays of data; in such cases, inserting newlines between data elements is highly desirable. Of course, the new lines then should start with a proper indentation, as denoted by the fmt parameter. The default implementation simply ignores this fmt, and calls appendAttributeString(buf), i.e. without the fmt parameter, which is fine for all cases where the attributes are on the same line as the XML tag.

Overrides:
appendAttributeString in class XMLStructureAdapter

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 XMLStructureAdapter