code: public void addRules(Digester digester) {
  
          digester.addRule(m_basePath, new Rule() {
  
              @SuppressWarnings("synthetic-access")
              @Override
              public void begin(String namespace, String name, Attributes attributes) throws Exception {
  
                  I_CmsConfigurationParameterHandler config = (I_CmsConfigurationParameterHandler)(m_class.newInstance());
                  for (String attr : m_attrs) {
                      String attrValue = attributes.getValue(attr);
                      if (attrValue != null) {
                          config.addConfigurationParameter(attr, attrValue);
                      }
                  }
                  config.initConfiguration();
                  getDigester().push(config);
              }
  
              @Override
              public void end(String namespace, String name) throws Exception {
  
                  getDigester().pop();
              }
  
          });
      }
docs: Adds the configuration parsing rules to the digester.<p>
  
  @param digester the digester to which the rules should be added