public class RuleChain extends Object
| Constructor and Description |
|---|
RuleChain() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(RuleSet ruleSet)
Add all Rules from the given RuleSet which want to participate in the
RuleChain.
|
void |
apply(List<Node> nodes,
RuleContext ctx,
Language language)
Apply the RuleChain to the given Nodes using the given
RuleContext, for those rules using the given Language.
|
public void add(RuleSet ruleSet)
ruleSet - The RuleSet to add Rules from.public void apply(List<Node> nodes, RuleContext ctx, Language language)
nodes - The Nodes.ctx - The RuleContext.language - The Language.Copyright © 2002-2014 InfoEther. All Rights Reserved.