|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthmi.xml.XMLStructureAdapter
hmi.bml.core.BMLElement
hmi.bml.core.BehaviourBlock
public class BehaviourBlock
This class represents a block of behaviour. This is represented in BML by the
<bml>-tag.
| Field Summary | |
|---|---|
private Set<String> |
appendList
|
ArrayList<Behaviour> |
behaviours
|
ArrayList<ConstraintBlock> |
constraintBlocks
|
private Set<String> |
interruptList
|
private Set<String> |
onStartList
|
private boolean |
prePlan
|
ArrayList<RequiredBlock> |
requiredBlocks
|
private SchedulingMechanism |
schedulingMechanism
|
private static String |
XMLTAG
|
| 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 | |
|---|---|
BehaviourBlock()
|
|
BehaviourBlock(XMLTokenizer tokenizer)
|
|
| Method Summary | |
|---|---|
StringBuilder |
appendAttributeString(StringBuilder buf)
Appends a String to buf that encodes the attributes for the XML encoding. |
StringBuilder |
appendContent(StringBuilder buf,
XMLFormatting fmt)
Appends a String to buf that encodes the contents for the XML encoding. |
void |
constructConstraints(BMLParser scheduler)
|
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. |
Set<String> |
getAppendList()
|
Set<String> |
getInterruptList()
|
Set<String> |
getOnStartList()
|
private void |
getParameterList(String str,
Set<String> parameterList)
|
SchedulingMechanism |
getSchedulingMechanism()
|
String |
getXMLTag()
The XML Stag for XML encoding -- use this method to find out the run-time xml tag of an object |
boolean |
isPrePlanned()
|
void |
registerElementsById(BMLParser scheduler)
|
void |
registerElementsById(BMLParser scheduler,
Breadcrumb breadcrumb)
Recursively calls resolveIDs(Scheduler, Breadcrumb) on top level behaviours and on required-blocks. |
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.bml.core.BMLElement |
|---|
ensureDecodeProgress |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public ArrayList<RequiredBlock> requiredBlocks
public ArrayList<ConstraintBlock> constraintBlocks
public ArrayList<Behaviour> behaviours
private Set<String> appendList
private Set<String> interruptList
private Set<String> onStartList
private boolean prePlan
private SchedulingMechanism schedulingMechanism
private static final String XMLTAG
| Constructor Detail |
|---|
public BehaviourBlock()
public BehaviourBlock(XMLTokenizer tokenizer)
throws IOException
IOException| Method Detail |
|---|
public Set<String> getAppendList()
public Set<String> getOnStartList()
public Set<String> getInterruptList()
public SchedulingMechanism getSchedulingMechanism()
public static String xmlTag()
public String getXMLTag()
getXMLTag in interface XMLStructuregetXMLTag in class BMLElementpublic StringBuilder appendAttributeString(StringBuilder buf)
XMLStructureAdapter
appendAttributeString in class BMLElement
private void getParameterList(String str,
Set<String> parameterList)
public void decodeAttributes(HashMap<String,String> attrMap,
XMLTokenizer tokenizer)
XMLStructureAdapter
decodeAttributes in class BMLElement
public StringBuilder appendContent(StringBuilder buf,
XMLFormatting fmt)
XMLStructureAdapter
appendContent in class XMLStructureAdapter
public void decodeContent(XMLTokenizer tokenizer)
throws IOException
XMLStructureAdapter
decodeContent in class XMLStructureAdapterIOExceptionpublic void registerElementsById(BMLParser scheduler)
public void registerElementsById(BMLParser scheduler,
Breadcrumb breadcrumb)
registerElementsById in class BMLElementpublic void constructConstraints(BMLParser scheduler)
public boolean isPrePlanned()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||