org.drools.decisiontable.parser.xls
Class NullSheetListener

java.lang.Object
  extended by org.drools.decisiontable.parser.xls.NullSheetListener
All Implemented Interfaces:
DataListener

public class NullSheetListener
extends Object
implements DataListener

Null listner.


Field Summary
 
Fields inherited from interface org.drools.template.parser.DataListener
NON_MERGED
 
Constructor Summary
NullSheetListener()
           
 
Method Summary
 void finishSheet()
          Come to the end of the sheet.
 void newCell(int row, int column, String value, int mergedColstart)
          Enter a new cell.
 void newRow(int rowNumber, int columns)
          Enter a new row.
 void startSheet(String name)
          Start a new sheet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullSheetListener

public NullSheetListener()
Method Detail

startSheet

public void startSheet(String name)
Description copied from interface: DataListener
Start a new sheet

Specified by:
startSheet in interface DataListener
Parameters:
name - the sheet name

finishSheet

public void finishSheet()
Description copied from interface: DataListener
Come to the end of the sheet.

Specified by:
finishSheet in interface DataListener

newRow

public void newRow(int rowNumber,
                   int columns)
Description copied from interface: DataListener
Enter a new row.

Specified by:
newRow in interface DataListener

newCell

public void newCell(int row,
                    int column,
                    String value,
                    int mergedColstart)
Description copied from interface: DataListener
Enter a new cell. Do NOT call this event for trailling cells at the end of the line. It will just confuse the parser. If all the trailing cells are empty, just stop raising events.

Specified by:
newCell in interface DataListener
Parameters:
row - the row number
column - the column alpha character label
value - the string value of the cell


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.