@API(type=INTERNAL, src=PUBLIC) public abstract class AbstractDocumentTypeHelper extends java.lang.Object implements AuthorTableHelper
TYPE_CELL, TYPE_ROW, TYPE_TABLE
Constructor and Description |
---|
AbstractDocumentTypeHelper() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String[] |
getTableCellElementNames()
Returns the possible local names of the elements that represents a table cell.
|
protected abstract java.lang.String[] |
getTableElementLocalName()
Returns the possible local names of the elements that represents a table.
|
protected abstract java.lang.String[] |
getTableRowElementNames()
Return the possible local names of the elements that represent a table row.
|
protected boolean |
isElement(AuthorNode node,
java.lang.String elemLocalName)
Test if a given node is an element and has the a specific local name.
|
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkTableColSpanIsDefined, getIgnoredColumnAttributes, getIgnoredRowAttributes, getTableCellSpanProvider, updateTableColSpan, updateTableColumnNumber, updateTableRowNumber, updateTableRowSpan
protected boolean isElement(AuthorNode node, java.lang.String elemLocalName)
node
- The AuthorNode
to be checked.elemLocalName
- The local name of the element.true
if the given AuthorNode
is an element and
its local name matches the given string.public boolean isTableCell(AuthorNode node)
AuthorTableHelper
AuthorNode
is a table cell node.isTableCell
in interface AuthorTableHelper
node
- The AuthorNode
to be checked.true
if the node is a table cell node, false
otherwise.AuthorTableHelper.isTableCell(ro.sync.ecss.extensions.api.node.AuthorNode)
public boolean isTable(AuthorNode node)
AuthorTableHelper
AuthorNode
is a table node.isTable
in interface AuthorTableHelper
node
- The AuthorNode
to be checked.true
if the node is a table node, false
otherwise.AuthorTableHelper.isTable(ro.sync.ecss.extensions.api.node.AuthorNode)
public boolean isTableRow(AuthorNode node)
AuthorTableHelper
AuthorNode
is a table row node.isTableRow
in interface AuthorTableHelper
node
- The AuthorNode
to be checked.true
if the node is a table row node, false
otherwise.AuthorTableHelper.isTableRow(ro.sync.ecss.extensions.api.node.AuthorNode)
protected abstract java.lang.String[] getTableCellElementNames()
null
.protected abstract java.lang.String[] getTableRowElementNames()
protected abstract java.lang.String[] getTableElementLocalName()
© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.