站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

SheetListener (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.decisiontable.parser
Interface SheetListener

All Known Subinterfaces:
RuleSheetListener
All Known Implementing Classes:
DefaultRuleSheetListener, ExternalSheetListener, NullSheetListener, PropertiesSheetListener, RuleMatrixSheetListener

public interface SheetListener

Author:
Shaun Addison Callback interface for scanning an spreadsheet.

Field Summary
static int NON_MERGED
           
 
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
 

Field Detail

NON_MERGED

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

startSheet

void startSheet(String name)
Start a new sheet

Parameters:
name - the sheet name

finishSheet

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


newRow

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

Parameters:
rowNumber -
columns -

newCell

void newCell(int row,
             int column,
             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
mergedCol - the "source" column if it is merged. -1 otherwise.


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