Uses of Interface
org.apache.commons.digester.Rules
Packages that use Rules
Package
Description
The
xmlrules
package provides for XML-based definition of
rules for Digester
.The
plugins
package provides an easy mechanism whereby new
digestion rules can be added dynamically during a digestion.The Digester package lets you configure an XML -> Java object mapping module,
which triggers certain actions called rules whenever a particular pattern of
nested XML elements is recognized.
-
Uses of Rules in org.apache.commons.digester
Classes in org.apache.commons.digester 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.digester declared as RulesModifier and TypeFieldDescriptionprivate Rules
SetNestedPropertiesRule.AnyChildRules.decoratedRules
protected 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.digester 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.digester 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.digester with parameters of type Rules -
Uses of Rules in org.apache.commons.digester.plugins
Classes in org.apache.commons.digester.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.digester.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.digester.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.digester.plugins with parameters of type RulesModifierConstructorDescriptionPluginRules
(Rules decoratedRules) Constructor for top-level Rules object which handles rule-matching using the specified implementation. -
Uses of Rules in org.apache.commons.digester.xmlrules
Classes in org.apache.commons.digester.xmlrules that implement RulesModifier and TypeClassDescriptionprivate class
Wraps a Rules object.Fields in org.apache.commons.digester.xmlrules declared as RulesConstructors in org.apache.commons.digester.xmlrules with parameters of type Rules