public class LoaderSetProperties extends RuleLoader
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.
Constructor and Description |
---|
LoaderSetProperties() |
public LoaderSetProperties()
public void addRules(Digester digester, String path)
This method is invoked when the start of an xml tag is encountered which maps to a PluginCreateRule. Any rules added here are removed from the digester when the end of that xml tag is encountered.
addRules
in class RuleLoader
digester
- The gigester has to be configuredpath
- The path where rule has to be boundCopyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.