Class TableDocumentPart
java.lang.Object
com.pnfsoftware.jeb.core.output.table.impl.TableDocumentPart
- All Implemented Interfaces:
ITableDocumentPart
A trivial implementation of table document part.
-
Constructor Summary
ConstructorsConstructorDescriptionTableDocumentPart(int firstRowIndex, List<? extends ITableRow> rows) Create a table part. -
Method Summary
Modifier and TypeMethodDescriptionintGet the index of the first row in this document part, relative to the entire table document.getRows()Get the rows contained in this part.
-
Constructor Details
-
TableDocumentPart
Create a table part.- Parameters:
firstRowIndex-rows-
-
-
Method Details
-
getFirstRowIndex
public int getFirstRowIndex()Description copied from interface:ITableDocumentPartGet the index of the first row in this document part, relative to the entire table document.- Specified by:
getFirstRowIndexin interfaceITableDocumentPart- Returns:
- the absolute index of the first row in this part
-
getRows
Description copied from interface:ITableDocumentPartGet the rows contained in this part.- Specified by:
getRowsin interfaceITableDocumentPart- Returns:
- a list of rows
-