net.sf.jxls.reader
Class XLSForEachBlockReaderImpl

java.lang.Object
  extended by net.sf.jxls.reader.BaseBlockReader
      extended by net.sf.jxls.reader.XLSForEachBlockReaderImpl
All Implemented Interfaces:
XLSBlockReader, XLSLoopBlockReader

public class XLSForEachBlockReaderImpl
extends BaseBlockReader
implements XLSLoopBlockReader

Author:
Leonid Vysochyn

Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
XLSForEachBlockReaderImpl()
           
XLSForEachBlockReaderImpl(int startRow, int endRow, java.lang.String items, java.lang.String var, java.lang.Class varType)
           
 
Method Summary
 void addBlockReader(XLSBlockReader reader)
           
 java.util.List getBlockReaders()
           
 java.lang.String getItems()
           
 SectionCheck getLoopBreakCondition()
           
 java.lang.String getVar()
           
 java.lang.Class getVarType()
           
 XLSReadStatus read(XLSRowCursor cursor, java.util.Map beans)
           
 void setItems(java.lang.String items)
           
 void setLoopBreakCondition(SectionCheck sectionCheck)
           
 void setVar(java.lang.String var)
           
 void setVarType(java.lang.Class varType)
           
 
Methods inherited from class net.sf.jxls.reader.BaseBlockReader
getEndRow, getReadStatus, getStartRow, setEndRow, setReadStatus, setStartRow
 
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.reader.XLSBlockReader
getEndRow, getStartRow, setEndRow, setStartRow
 

Field Detail

log

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

XLSForEachBlockReaderImpl

public XLSForEachBlockReaderImpl()

XLSForEachBlockReaderImpl

public XLSForEachBlockReaderImpl(int startRow,
                                 int endRow,
                                 java.lang.String items,
                                 java.lang.String var,
                                 java.lang.Class varType)
Method Detail

read

public XLSReadStatus read(XLSRowCursor cursor,
                          java.util.Map beans)
Specified by:
read in interface XLSBlockReader

addBlockReader

public void addBlockReader(XLSBlockReader reader)
Specified by:
addBlockReader in interface XLSLoopBlockReader

getBlockReaders

public java.util.List getBlockReaders()
Specified by:
getBlockReaders in interface XLSLoopBlockReader

getLoopBreakCondition

public SectionCheck getLoopBreakCondition()
Specified by:
getLoopBreakCondition in interface XLSLoopBlockReader

setLoopBreakCondition

public void setLoopBreakCondition(SectionCheck sectionCheck)
Specified by:
setLoopBreakCondition in interface XLSLoopBlockReader

setItems

public void setItems(java.lang.String items)

setVar

public void setVar(java.lang.String var)

setVarType

public void setVarType(java.lang.Class varType)

getItems

public java.lang.String getItems()

getVar

public java.lang.String getVar()

getVarType

public java.lang.Class getVarType()


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