net.sf.jxls.transformer
Class SheetTransformer

java.lang.Object
  extended by 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
 

Field Detail

log

protected static final org.apache.commons.logging.Log log
Constructor Detail

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)
Method Detail

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 rows
sheet - Sheet object
startRow - Row to start processing
endRow - Last row to be processed
beans - Beans for substitution
parentRow - - 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.