|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.ecss.extensions.commons.AbstractDocumentTypeHelper
public abstract class AbstractDocumentTypeHelper
Abstract implementation of the document type helper.
Field Summary |
---|
Fields inherited from interface ro.sync.ecss.extensions.commons.table.operations.AuthorTableHelper |
---|
TYPE_CELL, TYPE_ROW, TYPE_TABLE |
Constructor Summary | |
---|---|
AbstractDocumentTypeHelper()
|
Method Summary | |
---|---|
protected abstract String[] |
getTableCellElementNames()
Returns the possible local names of the elements that represents a table cell. |
protected abstract String[] |
getTableElementLocalName()
Returns the possible local names of the elements that represents a table. |
protected abstract String[] |
getTableRowElementNames()
Return the possible local names of the elements that represent a table row. |
protected boolean |
isElement(AuthorNode node,
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ro.sync.ecss.extensions.commons.table.operations.AuthorTableHelper |
---|
checkTableColSpanIsDefined, getTableCellSpanProvider, updateTableColSpan, updateTableColumnNumber, updateTableRowNumber, updateTableRowSpan |
Constructor Detail |
---|
public AbstractDocumentTypeHelper()
Method Detail |
---|
protected boolean isElement(AuthorNode node, 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 String[] getTableCellElementNames()
null
.protected abstract String[] getTableRowElementNames()
protected abstract String[] getTableElementLocalName()
|
Oxygen XML Editor 11.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |