net.sf.jxls.transformer
Class BaseRowTransformer

java.lang.Object
  extended by net.sf.jxls.transformer.BaseRowTransformer
All Implemented Interfaces:
RowTransformer
Direct Known Subclasses:
CollectionRowTransformer, SimpleRowTransformer, TagRowTransformer

public abstract class BaseRowTransformer
extends java.lang.Object
implements RowTransformer

Base class for RowTransformer impelementations

Author:
Leonid Vysochyn

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
BaseRowTransformer()
           
 
Method Summary
protected  boolean addListRange(Sheet sheet, java.lang.String rangeName, ListRange range)
          Adds new ListRange to the map of ranges and updates formulas if there is range with the same name already
protected  void applyCellProcessors(Cell cell)
          Applies all registered CellProcessors to a cell
 Row getRow()
           
 Block getTransformationBlock()
           
 void setTransformationBlock(Block block)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jxls.transformer.RowTransformer
getTransformationResult, transform
 

Field Detail

log

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

BaseRowTransformer

public BaseRowTransformer()
Method Detail

getRow

public Row getRow()
Specified by:
getRow in interface RowTransformer

addListRange

protected boolean addListRange(Sheet sheet,
                               java.lang.String rangeName,
                               ListRange range)
Adds new ListRange to the map of ranges and updates formulas if there is range with the same name already

Parameters:
sheet - Sheet to process
rangeName - The name of ListRange to add
range - actual ListRange to add
Returns:
true if a range with such name already exists or false if not

applyCellProcessors

protected void applyCellProcessors(Cell cell)
Applies all registered CellProcessors to a cell

Parameters:
cell - - Cell object with cell information

getTransformationBlock

public Block getTransformationBlock()
Specified by:
getTransformationBlock in interface RowTransformer

setTransformationBlock

public void setTransformationBlock(Block block)
Specified by:
setTransformationBlock in interface RowTransformer


Copyright © 2005-2013 jXLS Team. All Rights Reserved.