Save This Page
Home » dom4j-1.6.1 » org.dom4j.rule » [javadoc | source]
org.dom4j.rule
public class: RuleManager [javadoc | source]
java.lang.Object
   org.dom4j.rule.RuleManager

RuleManager manages a set of rules such that a rule can be found for a given DOM4J Node using the XSLT processing model.

Constructor:
 public RuleManager() 
Method from org.dom4j.rule.RuleManager Summary:
addDefaultRule,   addDefaultRules,   addRule,   clear,   createDefaultRule,   createMode,   getMatchingRule,   getMode,   getValueOfAction,   removeRule,   setValueOfAction
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.dom4j.rule.RuleManager Detail:
 protected  void addDefaultRule(Mode mode,
    Pattern pattern,
    Action action) 
 protected  void addDefaultRules(Mode mode) 
    Adds the default stylesheet rules to the given Mode instance
 public  void addRule(Rule rule) 
 public  void clear() 
 protected Rule createDefaultRule(Pattern pattern,
    Action action) 
 protected Mode createMode() 
    A factory method to return a new Mode instance which should add the necessary default rules
 public Rule getMatchingRule(String modeName,
    Node node) 
    Performs an XSLT processing model match for the rule which matches the given Node the best.
 public Mode getMode(String modeName) 
    DOCUMENT ME!
 public Action getValueOfAction() 
    DOCUMENT ME!
 public  void removeRule(Rule rule) 
 public  void setValueOfAction(Action valueOfAction) 
    Sets the default value-of action which is used in the default rules for the pattern "text()|@"