|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qtitools.qti.node.AbstractNode
org.qtitools.qti.node.AbstractObject
org.qtitools.qti.node.content.BodyElement
org.qtitools.qti.node.content.xhtml.table.Table
public class Table
Attribute : summary [0..1]: string Contains : caption [0..1] Contains : col [*] If A table directly contains A col then it must not contain any colgroup elements. Contains : colgroup [*] If A table contains A colgroup it must not directly contain any col elements. Contains : thead [0..1] Contains : tfoot [0..1] Contains : tbody [1..*]
| Field Summary | |
|---|---|
static java.lang.String |
ATTR_SUMMARY_NAME
Name of summary attribute in xml schema. |
static java.lang.String |
CLASS_TAG
Name of this class in xml schema. |
| Fields inherited from class org.qtitools.qti.node.content.BodyElement |
|---|
ATTR_CLASS_NAME, ATTR_ID_NAME, ATTR_LABEL_NAME, ATTR_LANG_NAME, DISPLAY_NAME |
| Fields inherited from interface org.qtitools.qti.node.content.basic.BlockStatic |
|---|
DISPLAY_NAME |
| Fields inherited from interface org.qtitools.qti.node.content.basic.FlowStatic |
|---|
DISPLAY_NAME |
| Constructor Summary | |
|---|---|
Table(XmlObject parent)
Constructs object. |
|
| Method Summary | |
|---|---|
Caption |
getCaption()
Gets caption child. |
java.util.List<? extends XmlNode> |
getChildren()
Gets an unmodifiable list of the child elements. |
java.lang.String |
getClassTag()
Gets QTI class name of this node. |
java.util.List<Colgroup> |
getColgroups()
Gets colgroup children. |
java.util.List<Col> |
getCols()
Gets col children. |
java.lang.String |
getSummary()
Gets value of summary attribute. |
java.util.List<Tbody> |
getTbodys()
Gets tbody children. |
Tfoot |
getTfoot()
Gets tfoot child. |
Thead |
getThead()
Gets thead child. |
void |
setCaption(Caption caption)
Sets caption child. |
void |
setSummary(java.lang.String summary)
Sets new value of summary attribute. |
void |
setTfoot(Tfoot tfoot)
Sets Tfoot child. |
void |
setThead(Thead thead)
Sets Thead child. |
ValidationResult |
validate()
Validates this object. |
| Methods inherited from class org.qtitools.qti.node.content.BodyElement |
|---|
appendChild, evaluate, getClassAttr, getFirstChild, getId, getLabel, getLang, getLastChild, insertBefore, removeChild, replaceChild, search, search, search, setId, setLabel, setLang |
| Methods inherited from class org.qtitools.qti.node.AbstractObject |
|---|
getParent, getParentItem, getParentResult, getParentTest, setParent |
| Methods inherited from class org.qtitools.qti.node.AbstractNode |
|---|
attrToXmlString, bodyToXmlString, getAttributes, getFullName, getIndent, getNode, getNode, getNode, getNodeGroups, getParentRoot, getSimpleName, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, loadAttributes, readChild, readChildren, setParent, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString, validateAttributes, validateChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_TAG
public static final java.lang.String ATTR_SUMMARY_NAME
| Constructor Detail |
|---|
public Table(XmlObject parent)
parent - parent of constructed object| Method Detail |
|---|
public java.lang.String getClassTag()
XmlNodeQTI class name has very important role during loading/saving nodes.
For example: Java class name is AssessmentTest; QTI class name is assessmentTest.
getClassTag in interface XmlNodegetClassTag in class AbstractNodepublic java.util.List<Col> getCols()
public java.util.List<Colgroup> getColgroups()
public java.util.List<Tbody> getTbodys()
public Caption getCaption()
public void setCaption(Caption caption)
caption - Caption to setpublic Thead getThead()
public void setThead(Thead thead)
thead - Thead to setpublic Tfoot getTfoot()
public void setTfoot(Tfoot tfoot)
tfoot - Tfoot to setpublic java.util.List<? extends XmlNode> getChildren()
getChildren in class BodyElementpublic java.lang.String getSummary()
setSummary(java.lang.String)public void setSummary(java.lang.String summary)
summary - new value of summary attributegetSummary()public ValidationResult validate()
Validatable
validate in interface Validatablevalidate in class AbstractNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||