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 TypeClassDescriptionclassAbstractRuleImplprovides basic services forRulesimplementations.classExtension ofRulesBasefor complex schema.classRules implementation that uses regular expression matching for paths.classDefault implementation of theRulesinterface that supports the standard rule matching behavior.private classPrivate Rules implementationclassRulesDecorator that returns default rules when no matches are returned by the wrapped implementation.Fields in org.apache.commons.digester declared as RulesModifier and TypeFieldDescriptionprivate RulesSetNestedPropertiesRule.AnyChildRules.decoratedRulesprotected RulesDigester.rulesTheRulesimplementation containing our collection ofRuleinstances and associated matching policy.private RulesWithDefaultsRulesWrapper.wrappedRulesThe Rules implementation that this class wraps.Methods in org.apache.commons.digester that return RulesModifier and TypeMethodDescriptionSetNestedPropertiesRule.AnyChildRules.getOldRules()Digester.getRules()Return theRulesimplementation object containing our rules collection and associated matching policy.Methods in org.apache.commons.digester with parameters of type RulesModifier and TypeMethodDescriptionvoidvoidSet theRulesimplementation 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 TypeClassDescriptionclassA 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 RulesPluginRules.decoratedRulesThe 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) RulesPluginRules.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 RulesReturn 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 classWraps a Rules object.Fields in org.apache.commons.digester.xmlrules declared as RulesConstructors in org.apache.commons.digester.xmlrules with parameters of type Rules