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.
digester, namespaceURI| Constructor | Description |
|---|---|
PluginDeclarationRule() |
constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes) |
Invoked upon reading a tag defining a plugin declaration.
|
static void |
declarePlugin(Digester digester,
java.util.Properties props) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbegin, body, body, end, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURIpublic PluginDeclarationRule()
public void begin(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes) throws java.lang.Exception
begin in class Rulenamespace - 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.java.lang.Exceptionpublic static void declarePlugin(Digester digester, java.util.Properties props) throws PluginException
PluginException