net.sf.jxls.transformer
Class RowCollection

java.lang.Object
  extended by net.sf.jxls.transformer.RowCollection

public class RowCollection
extends java.lang.Object

Contains information about collections in a row of XLS template

Author:
Leonid Vysochyn

Constructor Summary
RowCollection(Property property)
           
RowCollection(Property collectionProperty, int dependentRowNumber)
           
RowCollection(Row parentRow, Property collectionProperty, int dependentRowNumber)
           
 
Method Summary
 void addCell(Cell cell)
           
 boolean containsCell(Cell cell)
           
 void createIterator(int step)
           
 java.util.List getCells()
           
 java.lang.String getCollectionItemName()
           
 Property getCollectionProperty()
           
 int getDependentRowNumber()
           
 java.lang.Object getIterateObject()
           
 java.lang.Object getNextObject()
           
 int getNumberOfRows()
           
 Row getParentRow()
           
 java.util.List getRowCollectionCells()
           
 boolean hasNextObject()
           
 void setCollectionItemName(java.lang.String collectionItemName)
           
 void setDependentRowNumber(int dependentRowNumber)
           
 void setParentRow(Row parentRow)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RowCollection

public RowCollection(Row parentRow,
                     Property collectionProperty,
                     int dependentRowNumber)

RowCollection

public RowCollection(Property property)

RowCollection

public RowCollection(Property collectionProperty,
                     int dependentRowNumber)
Method Detail

getParentRow

public Row getParentRow()

setParentRow

public void setParentRow(Row parentRow)

addCell

public void addCell(Cell cell)

getCollectionProperty

public Property getCollectionProperty()

getCells

public java.util.List getCells()

getDependentRowNumber

public int getDependentRowNumber()

setDependentRowNumber

public void setDependentRowNumber(int dependentRowNumber)

containsCell

public boolean containsCell(Cell cell)

getCollectionItemName

public java.lang.String getCollectionItemName()

setCollectionItemName

public void setCollectionItemName(java.lang.String collectionItemName)

getNumberOfRows

public int getNumberOfRows()

getIterateObject

public java.lang.Object getIterateObject()
Returns:
Current Collection Item being iterated

getNextObject

public java.lang.Object getNextObject()
Returns:
next object in the collection

hasNextObject

public boolean hasNextObject()
Returns:
true if the next invocation of getNextObject() will return object in the collection or false otherwise

createIterator

public void createIterator(int step)

getRowCollectionCells

public java.util.List getRowCollectionCells()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Collection Name associated with this row collection


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