|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RuleProvider
RuleProvider declares the contract which must be followed to make different types of rule/evaluation technologies work with Smooks.
| Method Summary | |
|---|---|
RuleEvalResult |
evaluate(String ruleName,
CharSequence selectedData,
org.milyn.container.ExecutionContext context)
Evalutate the rule. |
String |
getName()
Gets this providers name. |
String |
getSrc()
Gets the source for this rule provider |
void |
setName(String name)
The name of this rule provider. |
void |
setSrc(String src)
Sets the src for this rule provider. |
| Method Detail |
|---|
String getName()
void setName(String name)
name - The rule providers name.String getSrc()
void setSrc(String src)
src - The source which defines the rules.
RuleEvalResult evaluate(String ruleName,
CharSequence selectedData,
org.milyn.container.ExecutionContext context)
throws org.milyn.SmooksException
ruleName - The ruleName to be used in this evaluation.selectedData - The data that this evalute method will evaluate upon.context - The Smooks Excecution context.
RuleEvalResult Object representing an evaluation result.
org.milyn.SmooksException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||