Save This Page
Home » dom4j-1.6.1 » org.dom4j.rule » [javadoc | source]
org.dom4j.rule
public class: RuleSet [javadoc | source]
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:
 public RuleSet() 
Method from org.dom4j.rule.RuleSet Summary:
addAll,   addRule,   getMatchingRule,   getRuleArray,   removeRule,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.dom4j.rule.RuleSet Detail:
 public  void addAll(RuleSet that) 
    Adds all the rules to this RuleSet from the given other rule set.
 public  void addRule(Rule rule) 
 public 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.
 public  void removeRule(Rule rule) 
 public String toString()