| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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 Summary | |
| RuleManager() | |
| Method Summary | |
| protected  void | addDefaultRule(Mode mode,
               Pattern pattern,
               Action action) | 
| protected  void | addDefaultRules(Mode mode)Adds the default stylesheet rules to the given Modeinstance | 
|  void | addRule(Rule rule) | 
|  void | clear() | 
| protected  Rule | createDefaultRule(Pattern pattern,
                  Action action) | 
| protected  Mode | createMode()A factory method to return a new Modeinstance which should add
 the necessary default rules | 
|  Rule | getMatchingRule(String modeName,
                Node node)Performs an XSLT processing model match for the rule which matches the given Node the best. | 
|  Mode | getMode(String modeName)DOCUMENT ME! | 
|  Action | getValueOfAction()DOCUMENT ME! | 
|  void | removeRule(Rule rule) | 
|  void | setValueOfAction(Action valueOfAction)Sets the default value-of action which is used in the default rules for the pattern "text()|@" | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public RuleManager()
| Method Detail | 
public Mode getMode(String modeName)
modeName - DOCUMENT ME!
public void addRule(Rule rule)
public void removeRule(Rule rule)
public Rule getMatchingRule(String modeName,
                            Node node)
modeName - is the name of the mode associated with the rule if anynode - is the DOM4J Node to match against
public void clear()
public Action getValueOfAction()
public void setValueOfAction(Action valueOfAction)
valueOfAction - DOCUMENT ME!protected Mode createMode()
Modeinstance which should add
 the necessary default rules
protected void addDefaultRules(Mode mode)
Modeinstance
mode - DOCUMENT ME!
protected void addDefaultRule(Mode mode,
                              Pattern pattern,
                              Action action)
protected Rule createDefaultRule(Pattern pattern,
                                 Action action)
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||