Class DocbookCALSTableHelper
java.lang.Object
ro.sync.ecss.extensions.commons.table.properties.TablePropertiesHelperBase
ro.sync.ecss.extensions.docbook.table.properties.DocbookCALSTableHelper
- All Implemented Interfaces:
TableHelper,TableHelperConstants,TablePropertiesConstants,TablePropertiesHelper
- Direct Known Subclasses:
Docbook5CALSTableHelper,DocbookHTMLTableHelper
@API(type=INTERNAL,
src=PUBLIC)
public class DocbookCALSTableHelper
extends TablePropertiesHelperBase
Docbook CALS table helper.
-
Field Summary
Fields inherited from interface ro.sync.ecss.extensions.commons.table.properties.TableHelperConstants
TYPE_BODY, TYPE_BODY_DESC_CELL, TYPE_CELL, TYPE_COLSPEC, TYPE_FOOTER, TYPE_GROUP, TYPE_HEADER, TYPE_HEADER_CELL, TYPE_HEADER_DESC_CELL, TYPE_ROW, TYPE_TABLEFields inherited from interface ro.sync.ecss.extensions.commons.table.properties.TablePropertiesConstants
ALIGN, ATTR_NOT_SET, BOTTOM, CENTER, CHAR, COLSEP, EMPTY_ICON, FRAME, ICON_ALIGN_CENTER, ICON_ALIGN_JUSTIFY, ICON_ALIGN_LEFT, ICON_ALIGN_RIGHT, ICON_COL_ROW_SEP, ICON_COLSEP, ICON_FRAME_ALL, ICON_FRAME_BOTTOM, ICON_FRAME_LHS, ICON_FRAME_RHS, ICON_FRAME_SIDES, ICON_FRAME_TOP, ICON_FRAME_TOPBOT, ICON_ROW_TYPE_BODY, ICON_ROW_TYPE_FOOTER, ICON_ROW_TYPE_HEADER, ICON_ROWSEP, ICON_VALIGN_BOTTOM, ICON_VALIGN_MIDDLE, ICON_VALIGN_TOP, JUSTIFY, LEFT, MIDDLE, NOT_COMPUTED, PRESERVE, RIGHT, ROW_TYPE, ROW_TYPE_BODY, ROW_TYPE_FOOTER, ROW_TYPE_HEADER, ROW_TYPE_PROPERTY, ROWSEP, TITLE_ELEMENT, TOP, VALIGN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleantrueif the current table allows footer element.getElementTag(int elementType) Obtain the element name.booleanisTable(AuthorElement element) Checks if the given node represents the table element.booleanisTableBody(AuthorElement node) Checks if the given node represents a table body element.booleanisTableCell(AuthorElement element) Checks if the given node represents a table cell element.booleanisTableColspec(AuthorElement element) Checks if the given node represents a table colspec element.booleanisTableFoot(AuthorElement element) Checks if the given node represents a table foot element.booleanisTableGroup(AuthorElement element) Checks if the given node represents a table group element.booleanisTableHead(AuthorElement node) Checks if the given node represents a table head element.booleanisTableRow(AuthorElement node) Checks if the given node represents a table row element.Methods inherited from class ro.sync.ecss.extensions.commons.table.properties.TablePropertiesHelperBase
getElementName, getElementType, getFirstChildOfTypeFromParentWithType, isNodeOfType
-
Constructor Details
-
DocbookCALSTableHelper
public DocbookCALSTableHelper()
-
-
Method Details
-
isTableBody
Description copied from interface:TablePropertiesHelperChecks if the given node represents a table body element.- Specified by:
isTableBodyin interfaceTablePropertiesHelper- Overrides:
isTableBodyin classTablePropertiesHelperBase- Parameters:
node- The node to be checked.- Returns:
trueif the given node is a table body element.- See Also:
-
isTableRow
Description copied from interface:TablePropertiesHelperChecks if the given node represents a table row element.- Specified by:
isTableRowin interfaceTablePropertiesHelper- Overrides:
isTableRowin classTablePropertiesHelperBase- Parameters:
node- The node to be checked.- Returns:
trueif the given node is a table row element.- See Also:
-
isTableHead
Description copied from interface:TablePropertiesHelperChecks if the given node represents a table head element.- Specified by:
isTableHeadin interfaceTablePropertiesHelper- Overrides:
isTableHeadin classTablePropertiesHelperBase- Parameters:
node- The node to be checked.- Returns:
trueif the given node is a table head element.- See Also:
-
isTableFoot
Description copied from interface:TablePropertiesHelperChecks if the given node represents a table foot element.- Specified by:
isTableFootin interfaceTablePropertiesHelper- Overrides:
isTableFootin classTablePropertiesHelperBase- Parameters:
element- The node to be checked.- Returns:
trueif the given node is a table foot element.- See Also:
-
isTable
Description copied from interface:TableHelperChecks if the given node represents the table element.- Specified by:
isTablein interfaceTableHelper- Overrides:
isTablein classTablePropertiesHelperBase- Parameters:
element- The node to be checked.- Returns:
trueif the given node is the table element.- See Also:
-
isTableGroup
Description copied from interface:TableHelperChecks if the given node represents a table group element.- Specified by:
isTableGroupin interfaceTableHelper- Overrides:
isTableGroupin classTablePropertiesHelperBase- Parameters:
element- The node to be checked.- Returns:
trueif the given node is the table group element.- See Also:
-
isTableColspec
Description copied from interface:TablePropertiesHelperChecks if the given node represents a table colspec element.- Specified by:
isTableColspecin interfaceTablePropertiesHelper- Overrides:
isTableColspecin classTablePropertiesHelperBase- Parameters:
element- The node to be checked.- Returns:
trueif the given node is a table colspec element.- See Also:
-
isTableCell
Description copied from interface:TablePropertiesHelperChecks if the given node represents a table cell element.- Specified by:
isTableCellin interfaceTablePropertiesHelper- Overrides:
isTableCellin classTablePropertiesHelperBase- Parameters:
element- The node to be checked.- Returns:
trueif the given node is a table cell element.- See Also:
-
getElementTag
Description copied from interface:TablePropertiesHelperObtain the element name.- Specified by:
getElementTagin interfaceTablePropertiesHelper- Overrides:
getElementTagin classTablePropertiesHelperBase- Parameters:
elementType- The type of the element.- Returns:
- the element tag.
- See Also:
-