|
|||||||||
| Home >> All >> org >> dom4j >> [ rule overview ] | PREV NEXT | ||||||||
A
- ANY_NODE - Static variable in interface org.dom4j.rule.Pattern
- Matches any node
- Action - interface org.dom4j.rule.Action.
-
Actionrepresents some default action which should occur when a rule matches a node in the XSLT processing model. - action - Variable in class org.dom4j.rule.Rule
- Holds value of property action.
- addAll(RuleSet) - Method in class org.dom4j.rule.RuleSet
- Adds all the rules to this RuleSet from the given other rule set.
- addDefaultRule(Mode, Pattern, Action) - Method in class org.dom4j.rule.RuleManager
- addDefaultRules(Mode) - Method in class org.dom4j.rule.RuleManager
- Adds the default stylesheet rules to the given Modeinstance
- addRule(Rule) - Method in class org.dom4j.rule.Mode
- addRule(Rule) - Method in class org.dom4j.rule.RuleManager
- addRule(Rule) - Method in class org.dom4j.rule.RuleSet
- addRule(Rule) - Method in class org.dom4j.rule.Stylesheet
- Add a rule to this stylesheet.
- addTemplate(String) - Method in class org.dom4j.rule.StylesheetTest
- addToNameMap(Map, String, Rule) - Method in class org.dom4j.rule.Mode
- Adds the Rule to a RuleSet for the given name.
- appearenceCount - Variable in class org.dom4j.rule.Rule
- Holds value of property appearenceCount.
- appearenceCount - Variable in class org.dom4j.rule.RuleManager
- A counter so that rules can be ordered by the order in which they were added to the rule base
- applyTemplates(Element) - Method in class org.dom4j.rule.Mode
- applyTemplates(Document) - Method in class org.dom4j.rule.Mode
- applyTemplates(Object, XPath) - Method in class org.dom4j.rule.Stylesheet
- Processes the result of the xpath expression.
- applyTemplates(Object, XPath, String) - Method in class org.dom4j.rule.Stylesheet
- Processes the result of the xpath expression in the given mode.
- applyTemplates(Object) - Method in class org.dom4j.rule.Stylesheet
- If input is a
Node, this will processes all of the children of that node. - applyTemplates(Object, String) - Method in class org.dom4j.rule.Stylesheet
- Processes the input object in the given mode.
- attributeNameRuleSets - Variable in class org.dom4j.rule.Mode
- Map of exact (local) attribute names to RuleSet instances
C
- clear() - Method in class org.dom4j.rule.RuleManager
- clear() - Method in class org.dom4j.rule.Stylesheet
- compareTo(Object) - Method in class org.dom4j.rule.Rule
- compareTo(Rule) - Method in class org.dom4j.rule.Rule
- Compares two rules in XSLT processing model order assuming that the modes are equal.
- createDefaultRule(Pattern, Action) - Method in class org.dom4j.rule.RuleManager
- createMode() - Method in class org.dom4j.rule.RuleManager
- A factory method to return a new Modeinstance which should add the necessary default rules
- createRule(String) - Method in class org.dom4j.rule.RuleTest
D
- DEFAULT_PRIORITY - Static variable in interface org.dom4j.rule.Pattern
- According to the spec we should return 0.5 if we cannot determine the priority
E
- elementNameRuleSets - Variable in class org.dom4j.rule.Mode
- Map of exact (local) element names to RuleSet instances
- equals(Object) - Method in class org.dom4j.rule.Rule
F
- factory - Variable in class org.dom4j.rule.RuleTest
- fireRule(Node) - Method in class org.dom4j.rule.Mode
- Runs the actions associated with the given node
G
- getAction() - Method in class org.dom4j.rule.Rule
- Getter for property action.
- getAppearenceCount() - Method in class org.dom4j.rule.Rule
- Getter for property appearenceCount.
- getImportPrecedence() - Method in class org.dom4j.rule.Rule
- Getter for property importPrecedence.
- getMatchType() - Method in interface org.dom4j.rule.Pattern
- DOCUMENT ME!
- getMatchType() - Method in class org.dom4j.rule.Rule
- DOCUMENT ME!
- getMatchesNodeName() - Method in interface org.dom4j.rule.Pattern
- For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then this pattern may return the name of the element or attribute it matches.
- getMatchesNodeName() - Method in class org.dom4j.rule.Rule
- For patterns which only match an ATTRIBUTE_NODE or an ELEMENT_NODE then this pattern may return the name of the element or attribute it matches.
- getMatchingRule(Node) - Method in class org.dom4j.rule.Mode
- Performs an XSLT processing model match for the rule which matches the given Node the best.
- getMatchingRule(String, Node) - Method in class org.dom4j.rule.RuleManager
- Performs an XSLT processing model match for the rule which matches the given Node the best.
- getMatchingRule(Node) - Method in class org.dom4j.rule.RuleSet
- Performs an XSLT processing model match for the rule which matches the given Node the best.
- getMode() - Method in class org.dom4j.rule.Rule
- Getter for property mode.
- getMode(String) - Method in class org.dom4j.rule.RuleManager
- DOCUMENT ME!
- getModeName() - Method in class org.dom4j.rule.Stylesheet
- DOCUMENT ME!
- getPattern() - Method in class org.dom4j.rule.Rule
- Getter for property pattern.
- getPriority() - Method in interface org.dom4j.rule.Pattern
- Returns the default resolution policy of the pattern according to the XSLT conflict resolution spec .
- getPriority() - Method in class org.dom4j.rule.Rule
- Getter for property priority.
- getRuleArray() - Method in class org.dom4j.rule.RuleSet
- Returns an array of sorted rules.
- getRuleSet(int) - Method in class org.dom4j.rule.Mode
- DOCUMENT ME!
- getUnionPatterns() - Method in interface org.dom4j.rule.Pattern
- If this pattern is a union pattern then this method should return an array of patterns which describe the union pattern, which should contain more than one pattern.
- getUnionRules() - Method in class org.dom4j.rule.Rule
- 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.
- getValueOfAction() - Method in class org.dom4j.rule.RuleManager
- DOCUMENT ME!
- getValueOfAction() - Method in class org.dom4j.rule.Stylesheet
- DOCUMENT ME!
H
- hashCode() - Method in class org.dom4j.rule.Rule
I
- importPrecedence - Variable in class org.dom4j.rule.Rule
- Holds value of property importPrecedence.
M
- Mode - class org.dom4j.rule.Mode.
-
Modemanages a number of RuleSet instances for the mode in a stylesheet. - Mode() - Constructor for class org.dom4j.rule.Mode
- main(String[]) - Static method in class org.dom4j.rule.PriorityTest
- main(String[]) - Static method in class org.dom4j.rule.RuleTest
- main(String[]) - Static method in class org.dom4j.rule.StylesheetTest
- matches(Node) - Method in interface org.dom4j.rule.Pattern
- DOCUMENT ME!
- matches(Node) - Method in class org.dom4j.rule.Rule
- DOCUMENT ME!
- mode - Variable in class org.dom4j.rule.Rule
- Holds value of property mode.
- modeName - Variable in class org.dom4j.rule.Stylesheet
- Holds value of property mode.
- modes - Variable in class org.dom4j.rule.RuleManager
- Map of modes indexed by mode
N
- NONE - Static variable in interface org.dom4j.rule.Pattern
- Matches no nodes
- NUMBER_OF_TYPES - Static variable in interface org.dom4j.rule.Pattern
- Count of the number of node types
- NullAction - class org.dom4j.rule.NullAction.
-
NullActionrepresents an empty action that does nothing. - NullAction() - Constructor for class org.dom4j.rule.NullAction
O
- org.dom4j.rule - package org.dom4j.rule
P
- Pattern - interface org.dom4j.rule.Pattern.
-
Patterndefines the behaviour for pattern in the XSLT processing model. - PriorityTest - class org.dom4j.rule.PriorityTest.
- Tests the priority behaviour of Pattern.
- PriorityTest() - Constructor for class org.dom4j.rule.PriorityTest
- pattern - Variable in class org.dom4j.rule.Rule
- Holds value of property pattern.
- priority - Variable in class org.dom4j.rule.Rule
- Holds value of property priority.
R
- Rule - class org.dom4j.rule.Rule.
-
Rulematches against DOM4J Node so that some action can be performed such as in the XSLT processing model. - Rule() - Constructor for class org.dom4j.rule.Rule
- Rule(Pattern) - Constructor for class org.dom4j.rule.Rule
- Rule(Pattern, Action) - Constructor for class org.dom4j.rule.Rule
- Rule(Rule, Pattern) - Constructor for class org.dom4j.rule.Rule
- Constructs a new Rule with the same instance data as the given rule but a different pattern.
- RuleManager - class org.dom4j.rule.RuleManager.
-
RuleManagermanages a set of rules such that a rule can be found for a given DOM4J Node using the XSLT processing model. - RuleManager() - Constructor for class org.dom4j.rule.RuleManager
- RuleSet - class org.dom4j.rule.RuleSet.
-
RuleSetmanages a set of rules which are sorted in order of relevance according to the XSLT defined conflict resolution policy. - RuleSet() - Constructor for class org.dom4j.rule.RuleSet
- RuleTest - class org.dom4j.rule.RuleTest.
- Tests the ordering of Rules
- RuleTest() - Constructor for class org.dom4j.rule.RuleTest
- removeFromNameMap(Map, String, Rule) - Method in class org.dom4j.rule.Mode
- removeRule(Rule) - Method in class org.dom4j.rule.Mode
- removeRule(Rule) - Method in class org.dom4j.rule.RuleManager
- removeRule(Rule) - Method in class org.dom4j.rule.RuleSet
- removeRule(Rule) - Method in class org.dom4j.rule.Stylesheet
- Removes the specified rule from this stylesheet.
- ruleArray - Variable in class org.dom4j.rule.RuleSet
- A lazily evaluated and cached array of rules sorted
- ruleManager - Variable in class org.dom4j.rule.Stylesheet
- ruleSets - Variable in class org.dom4j.rule.Mode
- rules - Variable in class org.dom4j.rule.RuleSet
- An unordered list of Rule objects
- run(Node) - Method in interface org.dom4j.rule.Action
- run(Node) - Method in class org.dom4j.rule.NullAction
- run(Object) - Method in class org.dom4j.rule.Stylesheet
- Runs this stylesheet on the given input which should be either a Node or a List of Node objects.
- run(Object, String) - Method in class org.dom4j.rule.Stylesheet
- run(List) - Method in class org.dom4j.rule.Stylesheet
- run(List, String) - Method in class org.dom4j.rule.Stylesheet
- run(Node) - Method in class org.dom4j.rule.Stylesheet
- run(Node, String) - Method in class org.dom4j.rule.Stylesheet
S
- SINGLETON - Static variable in class org.dom4j.rule.NullAction
- Singleton instance
- Stylesheet - class org.dom4j.rule.Stylesheet.
-
Stylesheetimplements an XSLT stylesheet such that rules can be added to the stylesheet and the stylesheet can be applied to a source document or node. - Stylesheet() - Constructor for class org.dom4j.rule.Stylesheet
- Creates a new empty stylesheet.
- StylesheetTest - class org.dom4j.rule.StylesheetTest.
- A test harness to test the use of the Stylesheet and the XSLT rule engine.
- StylesheetTest() - Constructor for class org.dom4j.rule.StylesheetTest
- setAction(Action) - Method in class org.dom4j.rule.Rule
- Setter for property action.
- setAppearenceCount(int) - Method in class org.dom4j.rule.Rule
- Setter for property appearenceCount.
- setImportPrecedence(int) - Method in class org.dom4j.rule.Rule
- Setter for property importPrecedence.
- setMode(String) - Method in class org.dom4j.rule.Rule
- Setter for property mode.
- setModeName(String) - Method in class org.dom4j.rule.Stylesheet
- Sets the name of the mode that the stylesheet uses by default.
- setPattern(Pattern) - Method in class org.dom4j.rule.Rule
- Setter for property pattern.
- setPriority(double) - Method in class org.dom4j.rule.Rule
- Setter for property priority.
- setUp() - Method in class org.dom4j.rule.StylesheetTest
- setValueOfAction(Action) - Method in class org.dom4j.rule.RuleManager
- Sets the default value-of action which is used in the default rules for the pattern "text()|@"
- setValueOfAction(Action) - Method in class org.dom4j.rule.Stylesheet
- Sets the default value-of action which is used in the default rules for the pattern "text()|@"
- stylesheet - Variable in class org.dom4j.rule.StylesheetTest
T
- templates - Variable in class org.dom4j.rule.StylesheetTest
- templates2 - Variable in class org.dom4j.rule.StylesheetTest
- testAnyNode() - Method in class org.dom4j.rule.PriorityTest
- testDocument() - Method in class org.dom4j.rule.RuleTest
- testFilter() - Method in class org.dom4j.rule.PriorityTest
- testFireRuleForNode() - Method in class org.dom4j.rule.StylesheetTest
- testGreater(String, String) - Method in class org.dom4j.rule.RuleTest
- testLittleDoc() - Method in class org.dom4j.rule.StylesheetTest
- testNameNode() - Method in class org.dom4j.rule.PriorityTest
- testOrder() - Method in class org.dom4j.rule.RuleTest
- testPriority(String, double) - Method in class org.dom4j.rule.PriorityTest
- testRules() - Method in class org.dom4j.rule.StylesheetTest
- testTextMatchesCDATA() - Method in class org.dom4j.rule.RuleTest
- testURI() - Method in class org.dom4j.rule.PriorityTest
- toString() - Method in class org.dom4j.rule.Rule
- toString() - Method in class org.dom4j.rule.RuleSet
V
- valueOfAction - Variable in class org.dom4j.rule.RuleManager
- Holds value of property valueOfAction.
A C D E F G H I M N O P R S T V
|
|||||||||
| Home >> All >> org >> dom4j >> [ rule overview ] | PREV NEXT | ||||||||