Uses of Interface
org.apache.commons.digester3.Rules
-
Packages that use Rules Package Description org.apache.commons.digester3 Thexmlrules
package provides for XML-based definition of rules forDigester
.org.apache.commons.digester3.binder The Digester EDSL allows configure Digester using fluent APIs.org.apache.commons.digester3.plugins Theplugins
package provides an easy mechanism whereby new digestion rules can be added dynamically during a digestion. -
-
Uses of Rules in org.apache.commons.digester3
Classes in org.apache.commons.digester3 that implement Rules Modifier and Type Class Description class
AbstractRulesImpl
AbstractRuleImpl
provides basic services forRules
implementations.class
ExtendedBaseRules
Extension ofRulesBase
for complex schema.class
RegexRules
Rules implementation that uses regular expression matching for paths.class
RulesBase
Default implementation of theRules
interface that supports the standard rule matching behavior.private class
SetNestedPropertiesRule.AnyChildRules
Private Rules implementationclass
WithDefaultsRulesWrapper
Rules
Decorator that returns default rules when no matches are returned by the wrapped implementation.Fields in org.apache.commons.digester3 declared as Rules Modifier and Type Field Description private Rules
SetNestedPropertiesRule.AnyChildRules. decoratedRules
private Rules
Digester. rules
TheRules
implementation containing our collection ofRule
instances and associated matching policy.private Rules
WithDefaultsRulesWrapper. wrappedRules
The Rules implementation that this class wraps.Methods in org.apache.commons.digester3 that return Rules Modifier and Type Method Description Rules
SetNestedPropertiesRule.AnyChildRules. getOldRules()
Rules
Digester. getRules()
Return theRules
implementation object containing our rules collection and associated matching policy.Methods in org.apache.commons.digester3 with parameters of type Rules Modifier and Type Method Description void
SetNestedPropertiesRule.AnyChildRules. init(java.lang.String prefix, Rules rules)
void
Digester. setRules(Rules rules)
Set theRules
implementation object containing our rules collection and associated matching policy.Constructors in org.apache.commons.digester3 with parameters of type Rules Constructor Description WithDefaultsRulesWrapper(Rules wrappedRules)
Base constructor. -
Uses of Rules in org.apache.commons.digester3.binder
Methods in org.apache.commons.digester3.binder with parameters of type Rules Modifier and Type Method Description Digester
DigesterLoader. newDigester(javax.xml.parsers.SAXParser parser, Rules rules)
Digester
DigesterLoader. newDigester(Rules rules)
Digester
DigesterLoader. newDigester(org.xml.sax.XMLReader reader, Rules rules)
Creates a newXMLReader
instance that relies on the givenXMLReader
and custom user defineRules
implementation. -
Uses of Rules in org.apache.commons.digester3.plugins
Classes in org.apache.commons.digester3.plugins that implement Rules Modifier and Type Class Description class
PluginRules
A custom digester Rules manager which must be used as the Rules object when using the plugins module functionality.Fields in org.apache.commons.digester3.plugins declared as Rules Modifier and Type Field Description private Rules
PluginRules. decoratedRules
The rules implementation that we are "enhancing" with plugins functionality, as per the Decorator pattern.Methods in org.apache.commons.digester3.plugins that return Rules Modifier and Type Method Description (package private) Rules
PluginRules. getDecoratedRules()
This package-scope method is used by the PluginCreateRule class to get direct access to the rules that were dynamically added by the plugin.Rules
PluginRules. getParent()
Return the parent Rules object.abstract Rules
RulesFactory. newRules(Digester d, java.lang.Class<?> pluginClass)
Return an instance of some Rules implementation that the plugged-in class shall use to match its private parsing rules.Constructors in org.apache.commons.digester3.plugins with parameters of type Rules Constructor Description PluginRules(Rules decoratedRules)
Constructor for top-level Rules object which handles rule-matching using the specified implementation.
-