Package org.apache.struts.config
Class ConfigRuleSet
java.lang.Object
org.apache.commons.digester.RuleSetBase
org.apache.struts.config.ConfigRuleSet
- All Implemented Interfaces:
org.apache.commons.digester.RuleSet
public class ConfigRuleSet
extends org.apache.commons.digester.RuleSetBase
The set of Digester rules required to parse a Struts configuration file
(struts-config.xml).
- Since:
- Struts 1.1
- Version:
- $Rev$ $Date: 2005-08-16 15:53:27 -0400 (Tue, 16 Aug 2005) $
-
Field Summary
Fields inherited from class org.apache.commons.digester.RuleSetBase
namespaceURI -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRuleInstances(org.apache.commons.digester.Digester digester) Add the set of Rule instances defined in this RuleSet to the specifiedDigesterinstance, associating them with our namespace URI (if any).Methods inherited from class org.apache.commons.digester.RuleSetBase
getNamespaceURI
-
Constructor Details
-
ConfigRuleSet
public ConfigRuleSet()
-
-
Method Details
-
addRuleInstances
public void addRuleInstances(org.apache.commons.digester.Digester digester) Add the set of Rule instances defined in this RuleSet to the specified
Digesterinstance, associating them with our namespace URI (if any). This method should only be called by a Digester instance. These rules assume that an instance oforg.apache.struts.config.ModuleConfigis pushed onto the evaluation stack before parsing begins.- Specified by:
addRuleInstancesin interfaceorg.apache.commons.digester.RuleSet- Specified by:
addRuleInstancesin classorg.apache.commons.digester.RuleSetBase- Parameters:
digester- Digester instance to which the new Rule instances should be added.
-