void |
LoaderFromClass.addRules(Digester d,
java.lang.String path) |
Configures the digester with custom rules for some plugged-in class.
|
void |
LoaderFromStream.addRules(Digester d,
java.lang.String path) |
Configures the digester with custom rules for some plugged-in class.
|
RuleLoader |
FinderFromClass.findLoader(Digester digester,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists a property with the name matching constructor param ruleClassAttr, then load the specified class,
locate the appropriate rules-adding method on that class, and return an object encapsulating that info.
|
RuleLoader |
FinderFromDfltClass.findLoader(Digester digester,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists a class whose name is the plugin class name + the suffix specified to the constructor, then load
that class, locate the appropriate rules-adding method on that class, and return an object encapsulating that
info.
|
RuleLoader |
FinderFromDfltMethod.findLoader(Digester d,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists on the plugin class a method with name matching the constructor's methodName value then locate
the appropriate Method on the plugin class and return an object encapsulating that info.
|
RuleLoader |
FinderFromDfltResource.findLoader(Digester d,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists a resource file whose name is equal to the plugin class name + the suffix specified in the
constructor, then load that file, run it through the xmlrules module and return an object encapsulating those
rules.
|
RuleLoader |
FinderFromFile.findLoader(Digester d,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists a property with the name specified in the constructor, then load that file, run it through the
xmlrules module and return an object encapsulating those rules.
|
RuleLoader |
FinderFromMethod.findLoader(Digester d,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists a property with the name matching constructor param methodAttr, then locate the appropriate
Method on the plugin class and return an object encapsulating that info.
|
RuleLoader |
FinderFromResource.findLoader(Digester d,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
If there exists a property with the name matching constructor param resourceAttr, then load that file, run it
through the xmlrules module and return an object encapsulating those rules.
|
RuleLoader |
FinderSetProperties.findLoader(Digester d,
java.lang.Class<?> pluginClass,
java.util.Properties p) |
Returns a RuleLoader unless the properties contain an entry with the name matching constructor param
propsAttr, and the value matching what is in falseval.
|
static RuleLoader |
FinderFromResource.loadRules(Digester d,
java.lang.Class<?> pluginClass,
java.io.InputStream is,
java.lang.String resourceName) |
Open the specified resource file (ie a file in the classpath, including being within a jar in the classpath), run
it through the xmlrules module and return an object encapsulating those rules.
|
static java.lang.reflect.Method |
LoaderFromClass.locateMethod(java.lang.Class<?> rulesClass,
java.lang.String methodName) |
Find a method on the specified class whose name matches methodName, and whose signature is:
public static void foo(Digester d, String patternPrefix); .
|