|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.decisiontable.parser.DefaultRuleSheetListener
public class DefaultRuleSheetListener
Field Summary | |
---|---|
static String |
FUNCTIONS_TAG
|
static String |
IMPORT_TAG
|
static String |
RULE_TABLE_TAG
|
static String |
RULESET_TAG
|
static String |
SEQUENTIAL_FLAG
|
static String |
VARIABLES_TAG
|
Fields inherited from interface org.drools.decisiontable.parser.SheetListener |
---|
NON_MERGED |
Constructor Summary | |
---|---|
DefaultRuleSheetListener()
|
Method Summary | |
---|---|
protected void |
addRule(Rule newRule)
Add a new rule to the current list of rules |
void |
finishSheet()
Come to the end of the sheet. |
protected Rule |
getCurrentRule()
|
Properties |
getProperties()
Return the rule sheet properties |
Package |
getRuleSet()
Build the final ruleset as parsed. |
void |
newCell(int row,
int column,
String value,
int mergedColStart)
Enter a new cell. |
void |
newRow(int rowNumber,
int columns)
Enter a new row. |
protected void |
postInitRuleTable(int row,
int column,
String value)
Called after rule table initialisation. |
protected void |
preInitRuleTable(int row,
int column,
String value)
Called before rule table initialisation. |
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 |
Field Detail |
---|
public static final String FUNCTIONS_TAG
public static final String IMPORT_TAG
public static final String SEQUENTIAL_FLAG
public static final String VARIABLES_TAG
public static final String RULE_TABLE_TAG
public static final String RULESET_TAG
Constructor Detail |
---|
public DefaultRuleSheetListener()
Method Detail |
---|
public Properties getProperties()
RuleSheetListener
getProperties
in interface RuleSheetListener
public Package getRuleSet()
RuleSheetListener
getRuleSet
in interface RuleSheetListener
protected void addRule(Rule newRule)
rule
- public void startSheet(String name)
SheetListener
startSheet
in interface SheetListener
name
- the sheet namepublic void finishSheet()
SheetListener
finishSheet
in interface SheetListener
public void newRow(int rowNumber, int columns)
SheetListener
newRow
in interface SheetListener
public void newCell(int row, int column, String value, int mergedColStart)
SheetListener
newCell
in interface SheetListener
row
- the row numbercolumn
- the column alpha character labelvalue
- the string value of the cellprotected void preInitRuleTable(int row, int column, String value)
protected Rule getCurrentRule()
protected void postInitRuleTable(int row, int column, String value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |