|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dom4j.rule.RuleSet
RuleSet
manages a set of rules which are sorted in order of
relevance according to the XSLT defined conflict resolution policy. This
makes finding the correct rule for a DOM4J Node using the XSLT processing
model efficient as the rules can be evaluated in order of priority.
Constructor Summary | |
RuleSet()
|
Method Summary | |
void |
addAll(RuleSet that)
Adds all the rules to this RuleSet from the given other rule set. |
void |
addRule(Rule rule)
|
Rule |
getMatchingRule(Node node)
Performs an XSLT processing model match for the rule which matches the given Node the best. |
protected Rule[] |
getRuleArray()
Returns an array of sorted rules. |
void |
removeRule(Rule rule)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RuleSet()
Method Detail |
public String toString()
public Rule getMatchingRule(Node node)
node
- is the DOM4J Node to match against
public void addRule(Rule rule)
public void removeRule(Rule rule)
public void addAll(RuleSet that)
that
- DOCUMENT ME!protected Rule[] getRuleArray()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |