|
||||||||||
| 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.xhtml.list.DlElementGroup
public class DlElementGroup
Group of dlElement children.
| Constructor Summary | |
|---|---|
DlElementGroup(BodyElement parent)
Constructs group. |
|
| Method Summary | |
|---|---|
DlElement |
create(java.lang.String classTag)
Creates child with given QTI class name. |
DlElement |
getDlElement()
Gets child. |
java.util.List<DlElement> |
getDlElements()
Gets list of all children. |
BodyElement |
getParent()
Gets parent node of group. |
boolean |
isGeneral()
Returns true if group can contain children with different QTI class name; false otherwise. |
void |
setDlElement(DlElement dlElement)
Sets new child. |
| Methods inherited from class org.qtitools.qti.group.AbstractNodeGroup |
|---|
getAllSupportedClasses, getChild, getChildren, getCurrentSupportedClasses, getFullName, getMaximum, getMinimum, getName, load, setChild, toXmlString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DlElementGroup(BodyElement parent)
parent - parent of created group| Method Detail |
|---|
public BodyElement getParent()
NodeGroup
getParent in interface NodeGroupgetParent in class AbstractNodeGrouppublic boolean isGeneral()
NodeGroup
isGeneral in interface NodeGroupisGeneral in class AbstractNodeGrouppublic DlElement getDlElement()
setDlElement(org.qtitools.qti.node.content.xhtml.list.DlElement)public void setDlElement(DlElement dlElement)
dlElement - new childgetDlElement()public java.util.List<DlElement> getDlElements()
public DlElement 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 | |||||||||