Save This Page
Home » commons-chain-1.2-src » org.apache.commons » chain » config » [javadoc | source]
org.apache.commons.chain.config
public class: ConfigRuleSet [javadoc | source]
java.lang.Object
   org.apache.commons.digester.RuleSetBase
      org.apache.commons.chain.config.ConfigRuleSet

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:

Method from org.apache.commons.chain.config.ConfigRuleSet Summary:
addRuleInstances,   getCatalogClass,   getCatalogElement,   getChainClass,   getChainElement,   getClassAttribute,   getCommandElement,   getDefineElement,   getNameAttribute,   setCatalogClass,   setCatalogElement,   setChainClass,   setChainElement,   setClassAttribute,   setCommandElement,   setDefineElement,   setNameAttribute
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.chain.config.ConfigRuleSet Detail:
 public  void addRuleInstances(Digester digester) 

    Add the set of Rule instances defined in this RuleSet to the specified Digester instance, associating them with our namespace URI (if any). This method should only be called by a Digester instance.

 public String getCatalogClass() 
 public String getCatalogElement() 

    Return the element name of a catalog element.

 public String getChainClass() 
 public String getChainElement() 

    Return the element name of a chain element.

 public String getClassAttribute() 

    Return the attribute name of a class attribute.

 public String getCommandElement() 

    Return the element name of a command element.

 public String getDefineElement() 

    Return the element name of a define element.

 public String getNameAttribute() 

    Return the attribute name of a name attribute.

 public  void setCatalogClass(String catalogClass) 
 public  void setCatalogElement(String catalogElement) 

    Set the element name of a catalog element.

 public  void setChainClass(String chainClass) 
 public  void setChainElement(String chainElement) 

    Set the element name of a chain element.

 public  void setClassAttribute(String classAttribute) 

    Set the attribute name of a class attribute.

 public  void setCommandElement(String commandElement) 

    Set the element name of a command element.

 public  void setDefineElement(String defineElement) 

    Set the element name of a define element.

 public  void setNameAttribute(String nameAttribute) 

    Set the attribute name of a name attribute.