|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Rule | |
---|---|
org.apache.commons.digester | The Digester package provides for rules-based processing of arbitrary XML documents. |
org.apache.commons.digester.plugins | Provides an easy mechanism whereby new digestion rules can be added dynamically during a digestion. |
org.apache.commons.digester.xmlrules | The xmlrules package provides for XML-based definition of
rules for Digester . |
Uses of Rule in org.apache.commons.digester |
---|
Subclasses of Rule in org.apache.commons.digester | |
---|---|
class |
BeanPropertySetterRule
Rule implements sets a bean property on the top object to the body text. |
class |
CallMethodRule
Rule implementation that calls a method on an object on the stack (normally the top/parent object), passing arguments collected from subsequent CallParamRule rules or from the body of this
element. |
class |
CallParamRule
Rule implementation that saves a parameter for use by a surrounding CallMethodRule |
class |
FactoryCreateRule
Rule implementation that uses an ObjectCreationFactory to create
a new object which it pushes onto the object stack. |
class |
NodeCreateRule
A rule implementation that creates a DOM Node containing the XML at the element that matched
the rule. |
class |
ObjectCreateRule
Rule implementation that creates a new object and pushes it onto the object stack. |
class |
ObjectParamRule
Rule implementation that saves a parameter for use by a surrounding CallMethodRule |
class |
PathCallParamRule
Rule implementation that saves a parameter containing the Digester matching path for use by a surrounding
CallMethodRule . |
class |
SetNestedPropertiesRule
Rule implementation that sets properties on the object at the top of the stack, based on child elements with names matching properties on that object. |
class |
SetNextRule
Rule implementation that calls a method on the (top-1) (parent) object, passing the top object (child) as an argument. |
class |
SetPropertiesRule
Rule implementation that sets properties on the object at the top of the stack, based on attributes with corresponding names. |
class |
SetPropertyRule
Rule implementation that sets an individual property on the object at the top of the stack, based on attributes with specified names. |
class |
SetRootRule
Rule implementation that calls a method on the root object on the stack, passing the top object (child) as an argument. |
class |
SetTopRule
Rule implementation that calls a "set parent" method on the top (child) object, passing the (top-1) (parent) object as an argument. |
Methods in org.apache.commons.digester with parameters of type Rule | |
---|---|
void |
WithDefaultsRulesWrapper.add(java.lang.String pattern,
Rule rule)
Adds a Rule to be fired on given pattern. |
void |
RulesBase.add(java.lang.String pattern,
Rule rule)
Register a new Rule instance matching the specified pattern. |
void |
Rules.add(java.lang.String pattern,
Rule rule)
Register a new Rule instance matching the specified pattern. |
void |
ExtendedBaseRules.add(java.lang.String pattern,
Rule rule)
Register a new Rule instance matching the specified pattern. |
void |
AbstractRulesImpl.add(java.lang.String pattern,
Rule rule)
Registers a new Rule instance matching the specified pattern. |
void |
WithDefaultsRulesWrapper.addDefault(Rule rule)
Adds a rule to be fired when wrapped implementation returns no matches |
void |
Digester.addRule(java.lang.String pattern,
Rule rule)
Register a new Rule matching the specified pattern. |
protected void |
RegexRules.registerRule(java.lang.String pattern,
Rule rule)
Register a new Rule instance matching the specified pattern. |
protected abstract void |
AbstractRulesImpl.registerRule(java.lang.String pattern,
Rule rule)
Register rule at given pattern. |
Uses of Rule in org.apache.commons.digester.plugins |
---|
Subclasses of Rule in org.apache.commons.digester.plugins | |
---|---|
class |
PluginCreateRule
Allows the original rules for parsing the configuration file to define points at which plugins are allowed, by configuring a PluginCreateRule with the appropriate pattern. |
class |
PluginDeclarationRule
A Digester rule which allows the user to pre-declare a class which is to be referenced later at a plugin point by a PluginCreateRule. |
Methods in org.apache.commons.digester.plugins with parameters of type Rule | |
---|---|
void |
PluginRules.add(java.lang.String pattern,
Rule rule)
Register a new Rule instance matching the specified pattern. |
Uses of Rule in org.apache.commons.digester.xmlrules |
---|
Subclasses of Rule in org.apache.commons.digester.xmlrules | |
---|---|
protected class |
DigesterRuleParser.SetNestedPropertiesAliasRule
A rule for adding a attribute-property alias to the custom alias mappings of the containing SetNestedPropertiesRule rule. |
protected class |
DigesterRuleParser.SetPropertiesAliasRule
A rule for adding a attribute-property alias to the custom alias mappings of the containing SetPropertiesRule rule. |
Methods in org.apache.commons.digester.xmlrules with parameters of type Rule | |
---|---|
void |
DigesterRuleParser.add(Rule rule)
Adds a rule the the target digester. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |