|
||||||||||
| 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.RequiredBlock
public class RequiredBlock
This class represents a block of required behaviours. This is represented in
BML by the <required>-tag.
| Field Summary | |
|---|---|
ArrayList<Behaviour> |
behaviours
|
ArrayList<ConstraintBlock> |
constraintBlocks
|
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 | |
|---|---|
RequiredBlock()
|
|
RequiredBlock(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(String bbId,
BMLParser scheduler)
|
boolean |
decodeAttribute(String attrName,
String valCode,
XMLTokenizer tokenizer)
decodes the value from an attribute value String returns true if succesful, returns false for attribute names that are not recognized. |
void |
decodeContent(XMLTokenizer tokenizer)
decodes the XML contents, i.e. the XML between the STag and ETag of the encoding. |
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.bml.core.BMLElement |
|---|
decodeAttributes, ensureDecodeProgress, registerElementsById |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public ArrayList<ConstraintBlock> constraintBlocks
public ArrayList<Behaviour> behaviours
private static final String XMLTAG
| Constructor Detail |
|---|
public RequiredBlock()
public RequiredBlock(XMLTokenizer tokenizer)
throws IOException
IOException| Method Detail |
|---|
public static String xmlTag()
public String getXMLTag()
getXMLTag in interface XMLStructuregetXMLTag in class BMLElementpublic StringBuilder appendAttributeString(StringBuilder buf)
XMLStructureAdapter
appendAttributeString in class BMLElement
public boolean decodeAttribute(String attrName,
String valCode,
XMLTokenizer tokenizer)
XMLStructureAdapter
decodeAttribute in class XMLStructureAdapter
public StringBuilder appendContent(StringBuilder buf,
XMLFormatting fmt)
XMLStructureAdapter
appendContent in class XMLStructureAdapter
public void decodeContent(XMLTokenizer tokenizer)
throws IOException
XMLStructureAdapter
decodeContent in class XMLStructureAdapterIOException
public void constructConstraints(String bbId,
BMLParser scheduler)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||