|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qtitools.qti.node.AbstractNode
org.qtitools.qti.node.AbstractObject
org.qtitools.qti.node.block.ContainerBlock
public abstract class ContainerBlock
Container block. Contains other blocks and no text content (it can contain one or more TextBlocks).
| Field Summary |
|---|
| Fields inherited from interface org.qtitools.qti.node.XmlNode |
|---|
INDENT, NEW_LINE, SIMPLE_NAME_INNER_SEPARATOR, SIMPLE_NAMES_SEPARATOR |
| Constructor Summary | |
|---|---|
ContainerBlock(XmlObject parent)
Constructs block. |
|
| Method Summary | |
|---|---|
protected java.lang.String |
bodyToXmlString(int depth,
boolean printDefaultAttributes)
Prints body (children and/or text content) of this node into xml string. |
java.util.List<XmlNode> |
getChildren()
Gets children of this block. |
protected void |
readChild(org.w3c.dom.Node node)
Reads one child from given xml source. |
protected void |
readChildren(org.w3c.dom.Node node)
Reads all children nodes and/or content from given xml source. |
protected ValidationResult |
validateChildren()
Validates children (body) of this node. |
| Methods inherited from class org.qtitools.qti.node.AbstractObject |
|---|
getParent, getParentItem, getParentResult, getParentTest, setParent |
| Methods inherited from class org.qtitools.qti.node.AbstractNode |
|---|
attrToXmlString, getAttributes, getClassTag, getFullName, getIndent, getNode, getNode, getNode, getNodeGroups, getParentRoot, getSimpleName, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, loadAttributes, setParent, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString, validate, validateAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.qtitools.qti.node.XmlNode |
|---|
getAttributes, getClassTag, getFullName, getNodeGroups, getParentRoot, getSimpleName, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString |
| Methods inherited from interface org.qtitools.qti.validation.Validatable |
|---|
validate |
| Constructor Detail |
|---|
public ContainerBlock(XmlObject parent)
parent - parent of this block| Method Detail |
|---|
public java.util.List<XmlNode> getChildren()
protected void readChildren(org.w3c.dom.Node node)
AbstractNode
readChildren in class AbstractNodenode - xml sourceprotected void readChild(org.w3c.dom.Node node)
AbstractNode
readChild in class AbstractNodenode - xml source
protected java.lang.String bodyToXmlString(int depth,
boolean printDefaultAttributes)
AbstractNode
bodyToXmlString in class AbstractNodedepth - depth in xml tree (root = 0)printDefaultAttributes - whether print attributes with default values
protected ValidationResult validateChildren()
AbstractNode
validateChildren in class AbstractNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||