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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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).

    Methods inherited from class org.apache.commons.digester.RuleSetBase

    getNamespaceURI

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 of org.apache.struts.config.ModuleConfig is pushed onto the evaluation stack before parsing begins.

      Specified by:
      addRuleInstances in interface org.apache.commons.digester.RuleSet
      Specified by:
      addRuleInstances in class org.apache.commons.digester.RuleSetBase
      Parameters:
      digester - Digester instance to which the new Rule instances should be added.