|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.drools.decisiontable.parser.DefaultRuleSheetListener
public class DefaultRuleSheetListener
| Field Summary | |
|---|---|
static java.lang.String |
FUNCTIONS_TAG
|
static java.lang.String |
IMPORT_TAG
|
static java.lang.String |
RULE_TABLE_TAG
|
static java.lang.String |
RULESET_TAG
|
static java.lang.String |
SEQUENTIAL_FLAG
|
static java.lang.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()
|
java.util.Properties |
getProperties()
Return the rule sheet properties |
Package |
getRuleSet()
Build the final ruleset as parsed. |
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. |
protected void |
postInitRuleTable(int row,
int column,
java.lang.String value)
Called after rule table initialisation. |
protected void |
preInitRuleTable(int row,
int column,
java.lang.String value)
Called before rule table initialisation. |
void |
startSheet(java.lang.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 java.lang.String FUNCTIONS_TAG
public static final java.lang.String IMPORT_TAG
public static final java.lang.String SEQUENTIAL_FLAG
public static final java.lang.String VARIABLES_TAG
public static final java.lang.String RULE_TABLE_TAG
public static final java.lang.String RULESET_TAG
| Constructor Detail |
|---|
public DefaultRuleSheetListener()
| Method Detail |
|---|
public java.util.Properties getProperties()
RuleSheetListener
getProperties in interface RuleSheetListenerpublic Package getRuleSet()
RuleSheetListener
getRuleSet in interface RuleSheetListenerprotected void addRule(Rule newRule)
rule - public void startSheet(java.lang.String name)
SheetListener
startSheet in interface SheetListenername - 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,
java.lang.String value,
int mergedColStart)
SheetListener
newCell in interface SheetListenerrow - the row numbercolumn - the column alpha character labelvalue - the string value of the cell
protected void preInitRuleTable(int row,
int column,
java.lang.String value)
protected Rule getCurrentRule()
protected void postInitRuleTable(int row,
int column,
java.lang.String value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||