|
||||||||||
| 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.TableCell
public abstract class TableCell
In XHTML, table cells are represented by either th or td and these share the following attributes and content model: Attribute : headers [*]: identifier Attribute : scope [0..1]: tableCellScope Attribute : abbr [0..1]: string Attribute : axis [0..1]: string Attribute : rowspan [0..1]: integer Attribute : colspan [0..1]: integer Contains : flow [*]
| Field Summary | |
|---|---|
static java.lang.String |
ATTR_ABBR_NAME
Name of abbr attribute in xml schema. |
static java.lang.String |
ATTR_AXIS_NAME
Name of axis attribute in xml schema. |
static java.lang.String |
ATTR_COLSPAN_NAME
Name of colspan attribute in xml schema. |
static java.lang.String |
ATTR_HEADERS_NAME
Name of headers attribute in xml schema. |
static java.lang.String |
ATTR_ROWSPAN_NAME
Name of rowspan attribute in xml schema. |
static java.lang.String |
ATTR_SCOPE_NAME
Name of scope attribute in xml schema. |
static java.lang.String |
DISPLAY_NAME
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 |
| Fields inherited from interface org.qtitools.qti.node.XmlNode |
|---|
INDENT, NEW_LINE, SIMPLE_NAME_INNER_SEPARATOR, SIMPLE_NAMES_SEPARATOR |
| Constructor Summary | |
|---|---|
TableCell(XmlObject parent)
Constructs object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAbbr()
Gets value of abbr attribute. |
java.lang.String |
getAxis()
Gets value of axis attribute. |
java.util.List<? extends XmlNode> |
getChildren()
Get A list of the content child nodes of this element |
java.lang.Integer |
getColspan()
Gets value of colspan attribute. |
java.util.List<java.lang.String> |
getHeaders()
Gets value of headers attribute. |
java.lang.Integer |
getRowspan()
Gets value of rowspan attribute. |
TableCellScope |
getScope()
Gets value of scope attribute. |
void |
setAbbr(java.lang.String abbr)
Sets new value of abbr attribute. |
void |
setAxis(java.lang.String axis)
Sets new value of axis attribute. |
void |
setColspan(java.lang.Integer colspan)
Sets new value of colspan attribute. |
void |
setRowspan(java.lang.Integer rowspan)
Sets new value of rowspan attribute. |
void |
setScope(TableCellScope scope)
Sets new value of scope attribute. |
| 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, getClassTag, 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, validate, validateAttributes, validateChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 |
| Field Detail |
|---|
public static java.lang.String DISPLAY_NAME
public static final java.lang.String ATTR_HEADERS_NAME
public static final java.lang.String ATTR_SCOPE_NAME
public static final java.lang.String ATTR_ABBR_NAME
public static final java.lang.String ATTR_AXIS_NAME
public static final java.lang.String ATTR_ROWSPAN_NAME
public static final java.lang.String ATTR_COLSPAN_NAME
| Constructor Detail |
|---|
public TableCell(XmlObject parent)
parent - parent of constructed object| Method Detail |
|---|
public java.util.List<? extends XmlNode> getChildren()
BodyElement
getChildren in class BodyElementpublic java.util.List<java.lang.String> getHeaders()
public TableCellScope getScope()
setScope(org.qtitools.qti.value.TableCellScope)public void setScope(TableCellScope scope)
scope - new value of scope attributegetScope()public java.lang.String getAbbr()
setAbbr(java.lang.String)public void setAbbr(java.lang.String abbr)
abbr - new value of abbr attributegetAbbr()public java.lang.String getAxis()
setAxis(java.lang.String)public void setAxis(java.lang.String axis)
axis - new value of axis attributegetAxis()public java.lang.Integer getRowspan()
setRowspan(java.lang.Integer)public void setRowspan(java.lang.Integer rowspan)
rowspan - new value of rowspan attributegetRowspan()public java.lang.Integer getColspan()
setColspan(java.lang.Integer)public void setColspan(java.lang.Integer colspan)
colspan - new value of colspan attributegetColspan()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||