org.drools.decisiontable.parser
Interface SheetListener

All Known Implementing Classes:
NullSheetListener, PropertiesSheetListener, RuleSheetListener

public interface SheetListener

 

Field Summary
static int NON_MERGED
           
 
Method Summary
 void finishSheet()
          Come to the end of the sheet.
 void newCell(int row, int column, java.lang.String value, int mergedColStart)
          Enter a new cell.
 void newRow(int rowNumber, int columns)
          Enter a new row.
 void startSheet(java.lang.String name)
          Start a new sheet
 

Field Detail

NON_MERGED

public static final int NON_MERGED
See Also:
Constant Field Values
Method Detail

startSheet

public void startSheet(java.lang.String name)
Start a new sheet

Parameters:
name - the sheet name

finishSheet

public void finishSheet()
Come to the end of the sheet.


newRow

public void newRow(int rowNumber,
                   int columns)
Enter a new row.

Parameters:
rowNumber -
columns -

newCell

public void newCell(int row,
                    int column,
                    java.lang.String value,
                    int mergedColStart)
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.

Parameters:
row - the row number
column - the column alpha character label
value - the string value of the cell