Package | Description |
---|---|
org.apache.commons.digester |
The
xmlrules package provides for XML-based definition of
rules for Digester . |
org.apache.commons.digester.plugins |
The
plugins package provides an easy mechanism whereby new
digestion rules can be added dynamically during a digestion. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRulesImpl
AbstractRuleImpl provides basic services for Rules implementations. |
class |
ExtendedBaseRules
Extension of
RulesBase for complex schema. |
class |
RegexRules
Rules implementation that uses regular expression matching for paths.
|
class |
RulesBase
Default implementation of the
Rules interface that supports
the standard rule matching behavior. |
class |
WithDefaultsRulesWrapper
Rules Decorator that returns default rules
when no matches are returned by the wrapped implementation. |
Modifier and Type | Field and Description |
---|---|
protected Rules |
Digester.rules
The
Rules implementation containing our collection of
Rule instances and associated matching policy. |
Modifier and Type | Method and Description |
---|---|
Rules |
Digester.getRules()
Return the
Rules implementation object containing our
rules collection and associated matching policy. |
Modifier and Type | Method and Description |
---|---|
void |
Digester.setRules(Rules rules)
Set the
Rules implementation object containing our
rules collection and associated matching policy. |
Constructor and Description |
---|
WithDefaultsRulesWrapper(Rules wrappedRules)
Base constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
PluginRules
A custom digester Rules manager which must be used as the Rules object
when using the plugins module functionality.
|
Modifier and Type | Method and Description |
---|---|
Rules |
PluginRules.getParent()
Return the parent Rules object.
|
abstract Rules |
RulesFactory.newRules(Digester d,
Class<?> pluginClass)
Return an instance of some Rules implementation that the plugged-in
class shall use to match its private parsing rules.
|
Constructor and Description |
---|
PluginRules(Rules decoratedRules)
Constructor for top-level Rules object which handles rule-matching
using the specified implementation.
|
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.