|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.factory.IlrRulesetPrinter
public class IlrRulesetPrinter
This class provides utilities for writing the components of a ruleset.
It is based on IlrRuleWriter
class, but further configure it
in order to provide more specific methods. An object of this class
works implicitly on an instance of IlrRulesetFactory
.
Constructor Summary | |
---|---|
IlrRulesetPrinter(Writer writer)
Constructs an object which writes rules to the passed writer. |
Method Summary | |
---|---|
void |
begin(IlrRulesetFactory factory)
Sets the passed ruleset factory object as working object. |
void |
end()
Resets this object to its initial state. |
String[] |
getImportPackages()
Gets the import packages of this ruleset. |
IlrRuleWriter |
getRuleWriter()
Gets the underline rule writer. |
void |
printFunction(IlrFunctionFactory function,
boolean indent)
Prints a function with or without the first level indent. |
void |
printInitialActions(boolean indent)
Prints the initial actions with or without the first level indent. |
void |
printProperties()
Prints the properties of this ruleset. |
void |
printRule(IlrRuleFactory rule,
boolean indent)
Prints a rule with or without the first level indent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrRulesetPrinter(Writer writer)
Method Detail |
---|
public void begin(IlrRulesetFactory factory)
public void end()
public final IlrRuleWriter getRuleWriter()
public String[] getImportPackages()
public void printProperties()
public void printInitialActions(boolean indent)
public void printFunction(IlrFunctionFactory function, boolean indent)
public void printRule(IlrRuleFactory rule, boolean indent)
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |