| Home >> All >> org >> apache >> commons >> digester >> plugins >> [ strategies Javadoc ] |
org.apache.commons.digester.plugins.strategies: Javadoc index of package org.apache.commons.digester.plugins.strategies.
Package Samples:
org.apache.commons.digester.plugins.strategies: Provides an easy mechanism whereby new digestion rules can be added dynamically during a digestion.
Classes:
FinderSetProperties: A rule-finding algorithm which expects the user to specify whether "automatic property setting" is desired. If this class discovers that this is in fact the case for a declaration, then a RuleLoader is returned which, when invoked, adds a single SetPropertiesRule instance to the digester. This allows ordinary JavaBean classes to be used as plugins, and have xml attributes be mapped to bean properties of the same name, without any custom plugin rules being created for them. This RuleFinder is typically used as the last RuleFinder, so that automatic property setting only occurs if there is no other ...
LoaderSetProperties: A RuleLoader which creates a single SetPropertiesRule and adds it to the digester when its addRules() method is invoked. This loader ensures that any xml attributes on the plugin tag get mapped to equivalent properties on a javabean. This allows JavaBean classes to be used as plugins without any requirement to create custom plugin rules.
FinderFromDfltResource: A rule-finding algorithm which looks for a resource file in the classpath whose name is derived from the plugin class name plus a specified suffix. If the resource-file is found, then it is expected to define a set of Digester rules in xmlrules format.
FinderFromFile: A rule-finding algorithm which expects the user to specify an absolute or relative path in the plugin declaration. The file is expected to contain Digester rules in xmlrules format.
FinderFromResource: A rule-finding algorithm which expects the user to specify a resource name (ie a file in the classpath). The file is expected to contain Digester rules in xmlrules format.
LoaderFromClass: A RuleLoader which invokes a static method on a target class, leaving that method to actually instantiate and add new rules to a Digester instance.
FinderFromMethod: A rule-finding algorithm which expects the caller to specify a methodname as a plugin property, where the method exists on the plugin class.
FinderFromDfltClass: A rule-finding algorithm which looks for a method with a specific name on a class whose name is derived from the plugin class name.
LoaderFromStream: A rule-finding algorithm which loads an xmlplugins-format file. Note that the "include" feature of xmlrules is not supported.
FinderFromClass: A rule-finding algorithm which expects the caller to specify a classname and methodname as plugin properties.
FinderFromDfltMethod: A rule-finding algorithm which looks for a method with a specific name on the plugin class.
| Home | Contact Us | Privacy Policy | Terms of Service |