net.sf.jett.transform
Class CellTransformer

java.lang.Object
  extended by net.sf.jett.transform.CellTransformer

public class CellTransformer
extends java.lang.Object

A CellTransformer knows how to transform a Cell inside of a Sheet. If a Tag is found, then the CellTransformer will process it.

Author:
Randy Gettman

Constructor Summary
CellTransformer()
           
 
Method Summary
 boolean transform(org.apache.poi.ss.usermodel.Cell cell, WorkbookContext workbookContext, TagContext cellContext)
          Transforms the given Cell, using the given Map of bean names to bean objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellTransformer

public CellTransformer()
Method Detail

transform

public boolean transform(org.apache.poi.ss.usermodel.Cell cell,
                         WorkbookContext workbookContext,
                         TagContext cellContext)
Transforms the given Cell, using the given Map of bean names to bean objects.

Parameters:
cell - The Cell to transform.
workbookContext - The WorkbookContext that provides the Map of Formulas, the TagLibraryRegistry, the CellListeners, the fixed size collection names, and the turned off implicit collection names.
cellContext - The TagContext that provides the Map of beans data, the Map of processed Cells, and the parent Block.
Returns:
true if this Cell was transformed, false if it needs to be transformed again. This may happen if the Block associated with the Tag was removed.


Copyright © 2012-2013 Jett Team. All Rights Reserved.