| org.apache.commons.chain.config.ConfigRegisterRule
ConfigRegisterRule | class ConfigRegisterRule extends Rule (Code) | | Digester rule that will cause the top-most element on the Digester
stack (if it is a
Command to be registered with the next-to-top
element on the Digester stack (if it is a
Catalog or
Chain ).
To be registered with a
Catalog , the top-most element must contain
a value for the specified attribute that contains the name under which
it should be registered.
author: Craig R. McClanahan version: $Revision: 387850 $ $Date: 2006-03-22 12:52:57 +0000 (Wed, 22 Mar 2006) $ |
ConfigRegisterRule | public ConfigRegisterRule(String nameAttribute)(Code) | | Construct a new instance of this rule that looks for an attribute
with the specified name.
Parameters: nameAttribute - Name of the attribute containing the name underwhich this command should be registered |
begin | public void begin(String namespace, String name, Attributes attributes) throws Exception(Code) | | Register the top
Command if appropriate.
Parameters: namespace - the namespace URI of the matching element, or anempty string if the parser is not namespace aware or the element hasno namespace Parameters: name - the local name if the parser is namespace aware, or justthe element name otherwise Parameters: attributes - The attribute list of this element |
|
|