org.apache.commons.digester.plugins
public class PluginDeclarationRule extends Rule
Normally, a PluginDeclarationRule is added to a Digester instance with the pattern "{root}/plugin" or "* /plugin" where {root} is the name of the root tag in the input document.
Since: 1.6
Constructor Summary | |
---|---|
PluginDeclarationRule() constructor |
Method Summary | |
---|---|
void | begin(String namespace, String name, Attributes attributes)
Invoked upon reading a tag defining a plugin declaration. |
static void | declarePlugin(Digester digester, Properties props) |
Parameters: namespace The xml namespace in which the xml element which triggered this rule resides. name The name of the xml element which triggered this rule. attributes The set of attributes on the xml element which triggered this rule.
Throws: java.lang.Exception