@API(type=INTERNAL, src=PUBLIC) public class InsertRowOperation extends InsertRowOperationBase implements TEIConstants
CUSTOM_INSERTION_ARGUMENT_DESCRIPTOR
TABLE_INFO_ARGUMENT_DESCRIPTOR, TABLE_INFO_ARGUMENT_NAME, tableHelper
ATTRIBUTE_NAME_COLS, ATTRIBUTE_NAME_ID, ATTRIBUTE_NAME_ROWS, ATTRIBUTE_NAME_XML_ID, ELEMENT_NAME_CELL, ELEMENT_NAME_ROW, ELEMENT_NAME_TABLE
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
Constructor and Description |
---|
InsertRowOperation()
Constructor.
|
InsertRowOperation(AuthorTableHelper tableHelper)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getCellElementName(AuthorElement tableElement,
int columnIndex)
Get the name of the element that represents a cell.
|
protected java.lang.String |
getRowElementName(AuthorElement tableElement)
Get the name of the element that represents a row.
|
protected boolean |
useCurrentRowTemplateOnInsert() |
createCellXMLFragment, doOperationInternal, getArguments, getDefaultContentForEmptyCells, getDescription, getOperationArguments, getRowXMLFragment, insertRows, removeCustomInsertionDescriptor
createEmptyCell, doOperation, findCellInsertionOffset, getElementAncestor, isElement, isTableElement
public InsertRowOperation()
public InsertRowOperation(AuthorTableHelper tableHelper)
tableHelper
- Table helper.protected java.lang.String getCellElementName(AuthorElement tableElement, int columnIndex)
InsertRowOperationBase
getCellElementName
in class InsertRowOperationBase
tableElement
- The table elementcolumnIndex
- The column index.InsertRowOperationBase.getCellElementName(AuthorElement, int)
protected java.lang.String getRowElementName(AuthorElement tableElement)
InsertRowOperationBase
getRowElementName
in class InsertRowOperationBase
tableElement
- The table parent element.InsertRowOperationBase.getRowElementName(AuthorElement)
protected boolean useCurrentRowTemplateOnInsert()
useCurrentRowTemplateOnInsert
in class InsertRowOperationBase
true
if the current row template should be used to create
the new row that must be inserted.
Default: false
InsertRowOperationBase.useCurrentRowTemplateOnInsert()
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.