|
||||||||||
| 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.BlockGroup
public class BlockGroup
Group of block children.
| Constructor Summary | |
|---|---|
BlockGroup(XmlNode parent)
Constructs group. |
|
| Method Summary | |
|---|---|
Block |
create(java.lang.String classTag)
Creates child with given QTI class name. |
Block |
getBlock()
Gets child. |
java.util.List<Block> |
getBlocks()
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 |
setBlock(Block 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 BlockGroup(XmlNode parent)
parent - parent of created group| Method Detail |
|---|
public XmlObject getParent()
NodeGroup
getParent in interface NodeGroupgetParent in class AbstractNodeGrouppublic boolean isGeneral()
NodeGroup
isGeneral in interface NodeGroupisGeneral in class AbstractNodeGrouppublic Block getBlock()
setBlock(org.qtitools.qti.node.content.basic.Block)public void setBlock(Block block)
block - new childgetBlock()public java.util.List<Block> getBlocks()
public Block 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 | |||||||||