|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XmlObject
Parent of all xml objects.
| Field Summary |
|---|
| Fields inherited from interface org.qtitools.qti.node.XmlNode |
|---|
INDENT, NEW_LINE, SIMPLE_NAME_INNER_SEPARATOR, SIMPLE_NAMES_SEPARATOR |
| Method Summary | |
|---|---|
XmlObject |
getParent()
Gets parent of this object or null (if object is root; for example AssessmentTest). |
AssessmentItem |
getParentItem()
Gets root assessmentItem or null (if root is different type). |
AssessmentResult |
getParentResult()
Gets root assessmentResult or null (if root is different type). |
AssessmentTest |
getParentTest()
Gets root assessmentTest or null (if root is different type). |
void |
setParent(XmlObject parent)
Sets the parent of this object. |
| 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 |
| Method Detail |
|---|
XmlObject getParent()
While testing some objects (for example expressions) don't have properly set parent, but it is usable only for testing. (Some objects cannot exists without parent even for testing).
getParent in interface XmlNodevoid setParent(XmlObject parent)
parent - Parent object to setAssessmentTest getParentTest()
AssessmentItem getParentItem()
AssessmentResult getParentResult()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||