net.sf.jxls.transformer
Class SheetTransformer
java.lang.Object
net.sf.jxls.transformer.SheetTransformer
public class SheetTransformer
- extends java.lang.Object
- Author:
- Leonid Vysochyn
|
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
|
Constructor Summary |
SheetTransformer(java.util.Set fixedSizeCollections,
java.util.Set groupedCollections,
java.util.List rowProcessors,
java.util.List cellProcessors)
|
SheetTransformer(java.util.Set fixedSizeCollections,
java.util.Set groupedCollections,
java.util.List rowProcessors,
java.util.List cellProcessors,
Configuration configuration)
|
|
Method Summary |
ResultTransformation |
processRow(SheetTransformationController stc,
Sheet sheet,
org.apache.poi.ss.usermodel.Row hssfRow,
int startCell,
int endCell,
java.util.Map beans,
Row parentRow)
|
ResultTransformation |
processRows(SheetTransformationController stc,
Sheet sheet,
int startRow,
int endRow,
java.util.Map beans,
Row parentRow)
Processes rows in a template sheet using map of beans as parameter |
void |
setGroupedCollections(java.util.Set groupedCollections)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
SheetTransformer
public SheetTransformer(java.util.Set fixedSizeCollections,
java.util.Set groupedCollections,
java.util.List rowProcessors,
java.util.List cellProcessors,
Configuration configuration)
SheetTransformer
public SheetTransformer(java.util.Set fixedSizeCollections,
java.util.Set groupedCollections,
java.util.List rowProcessors,
java.util.List cellProcessors)
setGroupedCollections
public void setGroupedCollections(java.util.Set groupedCollections)
processRows
public ResultTransformation processRows(SheetTransformationController stc,
Sheet sheet,
int startRow,
int endRow,
java.util.Map beans,
Row parentRow)
throws ParsePropertyException
- Processes rows in a template sheet using map of beans as parameter
- Parameters:
stc - - SheetTransformationController corresponding to the sheet containing given rowssheet - Sheet objectstartRow - Row to start processingendRow - Last row to be processedbeans - Beans for substitutionparentRow - - Row object representing original template row linked to rows to process
- Returns:
- A number of rows to be shifted
- Throws:
ParsePropertyException
processRow
public ResultTransformation processRow(SheetTransformationController stc,
Sheet sheet,
org.apache.poi.ss.usermodel.Row hssfRow,
int startCell,
int endCell,
java.util.Map beans,
Row parentRow)
Copyright © 2005-2013 jXLS Team. All Rights Reserved.