net.sf.jxls.transformer
Class CollectionRowTransformer

java.lang.Object
  extended by net.sf.jxls.transformer.BaseRowTransformer
      extended by net.sf.jxls.transformer.CollectionRowTransformer
All Implemented Interfaces:
RowTransformer

public class CollectionRowTransformer
extends BaseRowTransformer

Implementation of RowTransformer interface for duplicating a collection row

Author:
Leonid Vysochyn

Field Summary
(package private)  java.util.List rowCollections
           
 
Fields inherited from class net.sf.jxls.transformer.BaseRowTransformer
log, row
 
Constructor Summary
CollectionRowTransformer(Row row, java.util.Set fixedSizeCollections, java.util.List cellProcessors, java.util.List rowProcessors, Configuration configuration)
           
 
Method Summary
(package private)  void addRowCollection(RowCollection rowCollection)
           
 ResultTransformation getTransformationResult()
           
(package private)  ResultTransformation processRowCollections(SheetTransformationController sheetTransformationController, SheetTransformer sheetTransformer, Row row, java.util.Map beans)
          Processes a row containing collection properties
 ResultTransformation transform(SheetTransformationController stc, SheetTransformer sheetTransformer, java.util.Map beans)
           
 
Methods inherited from class net.sf.jxls.transformer.BaseRowTransformer
addListRange, applyCellProcessors, getRow, getTransformationBlock, setTransformationBlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rowCollections

java.util.List rowCollections
Constructor Detail

CollectionRowTransformer

public CollectionRowTransformer(Row row,
                                java.util.Set fixedSizeCollections,
                                java.util.List cellProcessors,
                                java.util.List rowProcessors,
                                Configuration configuration)
Method Detail

getTransformationResult

public ResultTransformation getTransformationResult()

addRowCollection

void addRowCollection(RowCollection rowCollection)

transform

public ResultTransformation transform(SheetTransformationController stc,
                                      SheetTransformer sheetTransformer,
                                      java.util.Map beans)

processRowCollections

ResultTransformation processRowCollections(SheetTransformationController sheetTransformationController,
                                           SheetTransformer sheetTransformer,
                                           Row row,
                                           java.util.Map beans)
                                     throws ParsePropertyException
Processes a row containing collection properties

Parameters:
sheetTransformationController - - SheetTransformationController for given sheet
row - Information about row
beans - Beans to apply
sheetTransformer - - SheetTransformer to use when processing Row Collections
Returns:
number to SHIFT all other rows in template
Throws:
ParsePropertyException


Copyright 2005-2005-2007 jXLS Team. All Rights Reserved.