Uses of Interface
org.apache.commons.digester3.Rules
-
Packages that use Rules Package Description org.apache.commons.digester3 Thexmlrulespackage 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 Thepluginspackage 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 classAbstractRulesImplAbstractRuleImplprovides basic services forRulesimplementations.classExtendedBaseRulesExtension ofRulesBasefor complex schema.classRegexRulesRules implementation that uses regular expression matching for paths.classRulesBaseDefault implementation of theRulesinterface that supports the standard rule matching behavior.private classSetNestedPropertiesRule.AnyChildRulesPrivate Rules implementationclassWithDefaultsRulesWrapperRulesDecorator 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 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 Rules Modifier and Type Method Description RulesSetNestedPropertiesRule.AnyChildRules. getOldRules()RulesDigester. getRules()Return theRulesimplementation 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 voidSetNestedPropertiesRule.AnyChildRules. init(java.lang.String prefix, Rules rules)voidDigester. setRules(Rules rules)Set theRulesimplementation 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 DigesterDigesterLoader. newDigester(javax.xml.parsers.SAXParser parser, Rules rules)DigesterDigesterLoader. newDigester(Rules rules)DigesterDigesterLoader. newDigester(org.xml.sax.XMLReader reader, Rules rules)Creates a newXMLReaderinstance that relies on the givenXMLReaderand custom user defineRulesimplementation. -
Uses of Rules in org.apache.commons.digester3.plugins
Classes in org.apache.commons.digester3.plugins that implement Rules Modifier and Type Class Description classPluginRulesA 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 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 Rules Modifier and Type Method Description (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.RulesPluginRules. getParent()Return the parent Rules object.abstract RulesRulesFactory. 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.
-