|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.decisiontable.parser.ExternalSheetListener
public class ExternalSheetListener
SheetListener for creating rules from a template
Field Summary |
---|
Fields inherited from interface org.drools.decisiontable.parser.SheetListener |
---|
NON_MERGED |
Constructor Summary | |
---|---|
ExternalSheetListener(int startRow,
int startCol,
String template)
|
|
ExternalSheetListener(int startRow,
int startCol,
TemplateContainer tc)
|
|
ExternalSheetListener(int startRow,
int startCol,
TemplateContainer tc,
TemplateRuleBase rb)
|
|
ExternalSheetListener(int startRow,
int startCol,
TemplateContainer tc,
TemplateRuleBase ruleBase,
Generator generator)
|
Method Summary | |
---|---|
void |
finishSheet()
Come to the end of the sheet. |
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 columnCount)
Enter a new row. |
String |
renderDRL()
|
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 |
---|
public ExternalSheetListener(int startRow, int startCol, String template)
public ExternalSheetListener(int startRow, int startCol, TemplateContainer tc)
public ExternalSheetListener(int startRow, int startCol, TemplateContainer tc, TemplateRuleBase rb)
public ExternalSheetListener(int startRow, int startCol, TemplateContainer tc, TemplateRuleBase ruleBase, Generator generator)
Method Detail |
---|
public Properties getProperties()
RuleSheetListener
getProperties
in interface RuleSheetListener
public Package getRuleSet()
RuleSheetListener
getRuleSet
in interface RuleSheetListener
public void finishSheet()
SheetListener
finishSheet
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 cellpublic void newRow(int rowNumber, int columnCount)
SheetListener
newRow
in interface SheetListener
public void startSheet(String name)
SheetListener
startSheet
in interface SheetListener
name
- the sheet namepublic String renderDRL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |