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 and Description |
---|
PluginDeclarationRule()
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
begin(String namespace,
String name,
Attributes attributes)
Invoked upon reading a tag defining a plugin declaration.
|
static void |
declarePlugin(Digester digester,
Properties props) |
begin, body, body, end, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
public void begin(String namespace, String name, Attributes attributes) throws Exception
public static void declarePlugin(Digester digester, Properties props) throws PluginException
PluginException
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.