ro.sync.ecss.extensions.tei.table
Class InsertRowOperation
java.lang.Object
ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
ro.sync.ecss.extensions.commons.table.operations.InsertRowOperationBase
ro.sync.ecss.extensions.tei.table.InsertRowOperation
- All Implemented Interfaces:
- AuthorOperation, Extension, TEIConstants
public class InsertRowOperation
- extends InsertRowOperationBase
- implements TEIConstants
Operation used to insert a table row for TEI documents.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InsertRowOperation
public InsertRowOperation()
- Constructor.
getCellElementName
protected java.lang.String getCellElementName(AuthorElement tableElement,
int columnIndex)
- Description copied from class:
InsertRowOperationBase
- Get the name of the element that represents a cell.
- Specified by:
getCellElementName
in class InsertRowOperationBase
- Parameters:
tableElement
- The table elementcolumnIndex
- The column index.
- Returns:
- The name of the element that represent a cell in the table.
- See Also:
InsertRowOperationBase.getCellElementName(AuthorElement, int)
getRowElementName
protected java.lang.String getRowElementName(AuthorElement tableElement)
- Description copied from class:
InsertRowOperationBase
- Get the name of the element that represents a row.
- Specified by:
getRowElementName
in class InsertRowOperationBase
- Parameters:
tableElement
- The table parent element.
- Returns:
- The name of the element that represent a row in the table.
- See Also:
InsertRowOperationBase.getRowElementName(AuthorElement)
getIgnoredAttributes
protected java.lang.String[] getIgnoredAttributes()
- Description copied from class:
InsertRowOperationBase
- Gets the attributes which should be skipped when using the current row as temaplate for insert
operation.
- Overrides:
getIgnoredAttributes
in class InsertRowOperationBase
- Returns:
- The attributes which should be skipped when using the current row as template for
insert operation.
By default, there is no such attribute and returned value is
null
. - See Also:
InsertRowOperationBase.getIgnoredAttributes()
useCurrentRowTemplateOnInsert
protected boolean useCurrentRowTemplateOnInsert()
- Overrides:
useCurrentRowTemplateOnInsert
in class InsertRowOperationBase
- Returns:
true
if the current row template should be used to create
the new row that must be inserted.
Default: false
- See Also:
InsertRowOperationBase.useCurrentRowTemplateOnInsert()
© Copyright SyncRO Soft SRL 2002 - 2010.