|
||||||||||
| 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.TextOrVariableGroup
public class TextOrVariableGroup
Group of flow children.
| Constructor Summary | |
|---|---|
TextOrVariableGroup(XmlObject parent)
Constructs group. |
|
| Method Summary | |
|---|---|
TextOrVariable |
create(java.lang.String classTag)
Creates child with given QTI class name. |
XmlObject |
getParent()
Gets parent node of group. |
TextOrVariable |
getTextOrVariable()
Gets child. |
java.util.List<TextOrVariable> |
getTextOrVariables()
Gets list of all children. |
boolean |
isGeneral()
Returns true if group can contain children with different QTI class name; false otherwise. |
void |
setTextOrVariable(TextOrVariable textOrVariable)
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 TextOrVariableGroup(XmlObject 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 TextOrVariable getTextOrVariable()
setTextOrVariable(org.qtitools.qti.node.content.variable.TextOrVariable)public void setTextOrVariable(TextOrVariable textOrVariable)
textOrVariable - new childgetTextOrVariable()public java.util.List<TextOrVariable> getTextOrVariables()
public TextOrVariable 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 | |||||||||