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 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.digester3 declared as RulesModifier and TypeFieldDescriptionprivate RulesSetNestedPropertiesRule.AnyChildRules.decoratedRulesprivate RulesDigester.rulesTheRulesimplementation containing our collection ofRuleinstances and associated matching policy.private RulesWithDefaultsRulesWrapper.wrappedRulesThe Rules implementation that this class wraps.Methods in org.apache.commons.digester3 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.digester3 with parameters of type RulesModifier and TypeMethodDescriptionvoidvoidSet theRulesimplementation 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 TypeClassDescriptionclassA 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 RulesPluginRules.decoratedRulesThe 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) 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.digester3.plugins with parameters of type RulesModifierConstructorDescriptionPluginRules(Rules decoratedRules) Constructor for top-level Rules object which handles rule-matching using the specified implementation.