Uses of Interface
org.apache.commons.digester.Rules
-
Packages that use Rules Package Description org.apache.commons.digester Thexmlrulespackage provides for XML-based definition of rules forDigester.org.apache.commons.digester.plugins Thepluginspackage provides an easy mechanism whereby new digestion rules can be added dynamically during a digestion.org.apache.commons.digester.xmlrules 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 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.digester declared as Rules Modifier and Type Field Description private 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 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.digester 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.digester with parameters of type Rules Constructor Description WithDefaultsRulesWrapper(Rules wrappedRules)Base constructor. -
Uses of Rules in org.apache.commons.digester.plugins
Classes in org.apache.commons.digester.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.digester.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.digester.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.digester.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. -
Uses of Rules in org.apache.commons.digester.xmlrules
Classes in org.apache.commons.digester.xmlrules that implement Rules Modifier and Type Class Description private classDigesterRuleParser.RulesPrefixAdapterWraps a Rules object.Fields in org.apache.commons.digester.xmlrules declared as Rules Modifier and Type Field Description private RulesDigesterRuleParser.RulesPrefixAdapter. delegateConstructors in org.apache.commons.digester.xmlrules with parameters of type Rules Constructor Description RulesPrefixAdapter(java.lang.String patternPrefix, Rules rules)
-