Package | Description |
---|---|
org.dom4j.rule |
Modifier and Type | Method and Description |
---|---|
protected Rule |
RuleManager.createDefaultRule(Pattern pattern,
Action action) |
Rule |
RuleSet.getMatchingRule(Node node)
Performs an XSLT processing model match for the rule which matches the
given Node the best.
|
Rule |
Mode.getMatchingRule(Node node)
Performs an XSLT processing model match for the rule which matches the
given Node the best.
|
Rule |
RuleManager.getMatchingRule(String modeName,
Node node)
Performs an XSLT processing model match for the rule which matches the
given Node the best.
|
protected Rule[] |
RuleSet.getRuleArray()
Returns an array of sorted rules.
|
Rule[] |
Rule.getUnionRules()
If this rule contains a union pattern then this method should return an
array of Rules which describe the union rule, which should contain more
than one rule.
|
Modifier and Type | Method and Description |
---|---|
void |
Stylesheet.addRule(Rule rule)
Add a rule to this stylesheet.
|
void |
RuleSet.addRule(Rule rule) |
void |
RuleManager.addRule(Rule rule) |
void |
Mode.addRule(Rule rule) |
protected Map |
Mode.addToNameMap(Map map,
String name,
Rule rule)
Adds the Rule to a RuleSet for the given name.
|
int |
Rule.compareTo(Rule that)
Compares two rules in XSLT processing model order assuming that the modes
are equal.
|
protected void |
Mode.removeFromNameMap(Map map,
String name,
Rule rule) |
void |
Stylesheet.removeRule(Rule rule)
Removes the specified rule from this stylesheet.
|
void |
RuleSet.removeRule(Rule rule) |
void |
RuleManager.removeRule(Rule rule) |
void |
Mode.removeRule(Rule rule) |
Constructor and Description |
---|
Rule(Rule that,
Pattern pattern)
Constructs a new Rule with the same instance data as the given rule but a
different pattern.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.