@API(type=INTERNAL, src=PUBLIC) public class DITATableDocumentTypeHelper extends CALSDocumentTypeHelper
ATTRIBUTE_NAME_ALIGN, ATTRIBUTE_NAME_COLNAME, ATTRIBUTE_NAME_COLNUM, ATTRIBUTE_NAME_COLS, ATTRIBUTE_NAME_COLSEP, ATTRIBUTE_NAME_COLWIDTH, ATTRIBUTE_NAME_ID, ATTRIBUTE_NAME_MOREROWS, ATTRIBUTE_NAME_NAMEEND, ATTRIBUTE_NAME_NAMEST, ATTRIBUTE_NAME_ROWSEP, ATTRIBUTE_NAME_SPANNAME, ATTRIBUTE_NAME_TABLE_WIDTH, ATTRIBUTE_NAME_XML_ID, ELEMENT_NAME_COLSPEC, ELEMENT_NAME_ENTRY, ELEMENT_NAME_INFORMALTABLE, ELEMENT_NAME_ROW, ELEMENT_NAME_SPANSPEC, ELEMENT_NAME_TABLE, ELEMENT_NAME_TGROUP
TYPE_CELL, TYPE_ROW, TYPE_TABLE
Constructor and Description |
---|
DITATableDocumentTypeHelper() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getTableCellElementNames()
Returns the possible local names of the elements that represents a table cell.
|
java.lang.String[] |
getTableElementLocalName()
Returns the possible local names of the elements that represents a table.
|
java.lang.String[] |
getTableRowElementNames()
Return the possible local names of the elements that represent a table row.
|
boolean |
isContentReference(AuthorNode node)
Check if this node references another node which should replace it entirely.
|
boolean |
isTable(AuthorNode node)
Check if an
AuthorNode is a table node. |
boolean |
isTableCell(AuthorNode node)
Check if an
AuthorNode is a table cell node. |
boolean |
isTableRow(AuthorNode node)
Check if an
AuthorNode is a table row node. |
checkTableColSpanIsDefined, getIgnoredCellIDAttributes, getIgnoredColumnAttributes, getIgnoredRowAttributes, getTableCellSpanProvider, updateTableColSpan, updateTableColumnNumber, updateTableRowNumber, updateTableRowSpan
isElement
public java.lang.String[] getTableCellElementNames()
AbstractDocumentTypeHelper
getTableCellElementNames
in class CALSDocumentTypeHelper
null
.AbstractDocumentTypeHelper.getTableCellElementNames()
public boolean isTableCell(AuthorNode node)
AuthorTableHelper
AuthorNode
is a table cell node.isTableCell
in interface AuthorTableHelper
isTableCell
in class AbstractDocumentTypeHelper
node
- The AuthorNode
to be checked.true
if the node is a table cell node, false
otherwise.AbstractDocumentTypeHelper.isTableCell(ro.sync.ecss.extensions.api.node.AuthorNode)
public java.lang.String[] getTableRowElementNames()
AbstractDocumentTypeHelper
getTableRowElementNames
in class CALSDocumentTypeHelper
AbstractDocumentTypeHelper.getTableRowElementNames()
public boolean isTableRow(AuthorNode node)
AuthorTableHelper
AuthorNode
is a table row node.isTableRow
in interface AuthorTableHelper
isTableRow
in class AbstractDocumentTypeHelper
node
- The AuthorNode
to be checked.true
if the node is a table row node, false
otherwise.AbstractDocumentTypeHelper.isTableRow(ro.sync.ecss.extensions.api.node.AuthorNode)
public java.lang.String[] getTableElementLocalName()
AbstractDocumentTypeHelper
getTableElementLocalName
in class CALSDocumentTypeHelper
AbstractDocumentTypeHelper.getTableElementLocalName()
public boolean isTable(AuthorNode node)
AuthorTableHelper
AuthorNode
is a table node.isTable
in interface AuthorTableHelper
isTable
in class AbstractDocumentTypeHelper
node
- The AuthorNode
to be checked.true
if the node is a table node, false
otherwise.AbstractDocumentTypeHelper.isTable(ro.sync.ecss.extensions.api.node.AuthorNode)
public boolean isContentReference(AuthorNode node)
AbstractDocumentTypeHelper
isContentReference
in class AbstractDocumentTypeHelper
node
- The nodetrue
if this node references another node which should replace it entirely.AbstractDocumentTypeHelper.isContentReference(ro.sync.ecss.extensions.api.node.AuthorNode)
© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.