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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRuleInstances
(org.apache.commons.digester.Digester digester) Add the set of Rule instances defined in this RuleSet to the specifiedDigester
instance, 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
Digester
instance, 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.ModuleConfig
is pushed onto the evaluation stack before parsing begins.- Specified by:
addRuleInstances
in interfaceorg.apache.commons.digester.RuleSet
- Specified by:
addRuleInstances
in classorg.apache.commons.digester.RuleSetBase
- Parameters:
digester
- Digester instance to which the new Rule instances should be added.
-