net.sf.jxls.transformer
Class Row

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

public class Row
extends java.lang.Object

Represents single row in excel transformation

Author:
Leonid Vysochyn

Constructor Summary
Row(Sheet sheet, org.apache.poi.ss.usermodel.Row hssfRow)
           
 
Method Summary
 RowCollection addCell(Cell cell)
          Adds Cell object to the list of cells for this row
 void addRowCollection(RowCollection rowCollection)
          Adds RowCollection object to the row collection list
 java.util.List getCells()
           
 RowCollection getMaxNumberOfRowsCollection()
           
 RowCollection getMaxSizeCollection()
           
 int getMinDependentRowNumber()
           
 Row getParentRow()
           
 org.apache.poi.ss.usermodel.Row getPoiRow()
           
 RowCollection getRowCollectionByCollectionName(java.lang.String collectionName)
          Founds RowCollection with given collection name in this row
 java.util.List getRowCollections()
          Returns list with all RowCollection objects for this row
 Sheet getSheet()
           
 void setCells(java.util.List cells)
           
 void setParentRow(Row parentRow)
           
 void setPoiRow(org.apache.poi.ss.usermodel.Row hssfRow)
           
 void setSheet(Sheet sheet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Row

public Row(Sheet sheet,
           org.apache.poi.ss.usermodel.Row hssfRow)
Method Detail

getParentRow

public Row getParentRow()
Returns:
Parent Row object if there is any

setParentRow

public void setParentRow(Row parentRow)

getSheet

public Sheet getSheet()

setSheet

public void setSheet(Sheet sheet)

getMaxNumberOfRowsCollection

public RowCollection getMaxNumberOfRowsCollection()
Returns:
RowCollection in this row having maximum number of rows

getMaxSizeCollection

public RowCollection getMaxSizeCollection()
Returns:
RowCollection in this row with maximum number of items

getRowCollectionByCollectionName

public RowCollection getRowCollectionByCollectionName(java.lang.String collectionName)
Founds RowCollection with given collection name in this row

Parameters:
collectionName - - Collection name used to seek required RowCollection
Returns:
RowCollection in this row having collection with required name

getRowCollections

public java.util.List getRowCollections()
Returns list with all RowCollection objects for this row

Returns:
list of RowCollection objects

addRowCollection

public void addRowCollection(RowCollection rowCollection)
Adds RowCollection object to the row collection list

Parameters:
rowCollection - RowCollection to add

addCell

public RowCollection addCell(Cell cell)
Adds Cell object to the list of cells for this row

Parameters:
cell - Cell to add
Returns:
RowCollection object if given cell has row collection or null if it has not

getCells

public java.util.List getCells()
Returns:
List of all Cell objects for this row

setCells

public void setCells(java.util.List cells)

getPoiRow

public org.apache.poi.ss.usermodel.Row getPoiRow()
Returns:
POI Row object for the row

setPoiRow

public void setPoiRow(org.apache.poi.ss.usermodel.Row hssfRow)

getMinDependentRowNumber

public int getMinDependentRowNumber()
Returns:
The minimal dependent row number for this row


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