Uses of Interface
org.apache.commons.digester3.Rules
Packages that use Rules
Package
Description
The
xmlrules
package provides for XML-based definition of
rules for Digester
.The Digester EDSL allows configure Digester using fluent APIs.
The
plugins
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 RulesModifier and TypeClassDescriptionclass
AbstractRuleImpl
provides basic services forRules
implementations.class
Extension ofRulesBase
for complex schema.class
Rules implementation that uses regular expression matching for paths.class
Default implementation of theRules
interface that supports the standard rule matching behavior.private class
Private Rules implementationclass
Rules
Decorator that returns default rules when no matches are returned by the wrapped implementation.Fields in org.apache.commons.digester3 declared as RulesModifier and TypeFieldDescriptionprivate 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 RulesModifier and TypeMethodDescriptionSetNestedPropertiesRule.AnyChildRules.getOldRules()
Digester.getRules()
Return theRules
implementation object containing our rules collection and associated matching policy.Methods in org.apache.commons.digester3 with parameters of type RulesModifier and TypeMethodDescriptionvoid
void
Set theRules
implementation object containing our rules collection and associated matching policy.Constructors in org.apache.commons.digester3 with parameters of type Rules -
Uses of Rules in org.apache.commons.digester3.binder
Methods in org.apache.commons.digester3.binder with parameters of type RulesModifier and TypeMethodDescriptionDigesterLoader.newDigester
(SAXParser parser, Rules rules) DigesterLoader.newDigester
(Rules rules) DigesterLoader.newDigester
(XMLReader reader, Rules rules) -
Uses of Rules in org.apache.commons.digester3.plugins
Classes in org.apache.commons.digester3.plugins that implement RulesModifier and TypeClassDescriptionclass
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 RulesModifier and TypeFieldDescriptionprivate 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 RulesModifier and TypeMethodDescription(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.PluginRules.getParent()
Return the parent Rules object.abstract Rules
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 RulesModifierConstructorDescriptionPluginRules
(Rules decoratedRules) Constructor for top-level Rules object which handles rule-matching using the specified implementation.