|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qtitools.qti.group.AbstractNodeGroup
org.qtitools.qti.group.content.AbstractContentNodeGroup
org.qtitools.qti.group.content.BlockStaticGroup
public class BlockStaticGroup
Group of blockStatic children.
| Constructor Summary | |
|---|---|
BlockStaticGroup(XmlNode parent)
Constructs group. |
|
BlockStaticGroup(XmlNode parent,
java.lang.Integer minimum)
Constructs group. |
|
| Method Summary | |
|---|---|
BlockStatic |
create(java.lang.String classTag)
Creates child with given QTI class name. |
BlockStatic |
getBlockStatic()
Gets child. |
java.util.List<BlockStatic> |
getBlockStatics()
Gets list of all children. |
XmlObject |
getParent()
Gets parent node of group. |
boolean |
isGeneral()
Returns true if group can contain children with different QTI class name; false otherwise. |
void |
setBlockStatic(BlockStatic block)
Sets new child. |
| Methods inherited from class org.qtitools.qti.group.content.AbstractContentNodeGroup |
|---|
load |
| Methods inherited from class org.qtitools.qti.group.AbstractNodeGroup |
|---|
getAllSupportedClasses, getChild, getChildren, getCurrentSupportedClasses, getFullName, getMaximum, getMinimum, getName, setChild, toXmlString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlockStaticGroup(XmlNode parent)
parent - parent of created group
public BlockStaticGroup(XmlNode parent,
java.lang.Integer minimum)
parent - parent of created groupminimum - minimum number of children| Method Detail |
|---|
public XmlObject getParent()
NodeGroup
getParent in interface NodeGroupgetParent in class AbstractNodeGrouppublic boolean isGeneral()
NodeGroup
isGeneral in interface NodeGroupisGeneral in class AbstractNodeGrouppublic BlockStatic getBlockStatic()
setBlockStatic(org.qtitools.qti.node.content.basic.BlockStatic)public void setBlockStatic(BlockStatic block)
block - new childgetBlockStatic()public java.util.List<BlockStatic> getBlockStatics()
public BlockStatic create(java.lang.String classTag)
Parameter classTag is needed only if group can contain children with different QTI class names.
classTag - QTI class name (this parameter is needed)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||