| Digester RuleSet for configuring Chain of
Responsibility command chains, and adding them to an appropriate
org.apache.commons.chain.Catalog . The following properties
may be configured prior to executing the addRuleInstance()
method in order to influence the rules that get added, with default
values in square brackets:
- catalogClass -- Fully qualified name of the
implementation class used to create new
org.apache.commons.chain.Catalog instances.
If not specified, the default value is
org.apache.commons.chain.impl.CatalogBsae .
- catalogElement -- Name of the XML element representing
the addition of a
org.apache.commons.chain.Catalog .
Any such catalog that is created will be registered with the
org.apache.commons.chain.CatalogFactory instance for our
application, under the name specified by the
nameAttribute
attribute (if present), or as the default
org.apache.commons.chain.Catalog .
If not specified, the default value is catalog .
- chainClass -- Fully qualified name of the implementation
class used to create new
org.apache.commons.chain.Chain instances.
If not specified, the default value is
org.apache.commons.chain.impl.ChainBase .
- chainElement -- Name of the XML element representing
the addition of a
org.apache.commons.chain.Chain . A chain
element has the same functionality as a command element, except that
it defaults the implementation class to
org.apache.commons.chain.impl.ChainBase . [chain]
- classAttribute -- Attribute on a chain (optional) or
command (required) element that specifies the fully qualified class
name of the implementation class that should be instantiated.
[className]
- commandElement -- Name of the XML element
representing the addition of a
org.apache.commons.chain.Command .
An implementation class name must be provided on the attribute named by the
classAttribute property. [command]
- defineElement -- Name of the XML element
that associates the element specified by the
nameAttribute
attributes with a
org.apache.commons.chain.Command or
org.apache.commons.chain.Chain implementation class
named by the classAttribute attribute. [define]
- nameAttribute -- Attribute on an outermost chain or
command element that will be used to register this command with the
associated
org.apache.commons.chain.Catalog instance on the stack.
[name]
- namespaceURI -- The XML namespace URI with which these
rules will be associated, or
null for no namespace.
[null]
author: Craig R. McClanahan version: $Revision: 411876 $ $Date: 2006-06-05 19:02:19 +0100 (Mon, 05 Jun 2006) $ |