com.xenonsoft.bridgetown.resources
Class CoreRuleSet

java.lang.Object
  extended byorg.apache.commons.digester.RuleSetBase
      extended bycom.xenonsoft.bridgetown.resources.CoreRuleSet
All Implemented Interfaces:
org.apache.commons.digester.RuleSet, java.io.Serializable

public class CoreRuleSet
extends org.apache.commons.digester.RuleSetBase
implements java.io.Serializable

A custom Commons Digester rule set for the parsing The Core Bridgetown XML Configuration.

Version:
$Id: CoreRuleSet.java,v 1.4 2005/03/17 02:38:02 peter_pilgrim Exp $
Author:
Peter Pilgrim, 03-Feb-2005 20:09:22
See Also:
XMLConfigLoader, PointcutRuleSet, ListConfigRuleSet, MapConfigRuleSet, Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.digester.RuleSetBase
namespaceURI
 
Constructor Summary
CoreRuleSet()
          Default constructor
 
Method Summary
protected  void addCommonMethodInvocationRule(org.apache.commons.digester.Digester digester, java.lang.String prefix, java.lang.String methodTag, java.lang.String addNextMethod)
          Generate the rules for parsing method invocation constructs in the Bridgetown XML Grammar
 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 Detail

CoreRuleSet

public CoreRuleSet()
Default constructor

Method Detail

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.

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

addCommonMethodInvocationRule

protected void addCommonMethodInvocationRule(org.apache.commons.digester.Digester digester,
                                             java.lang.String prefix,
                                             java.lang.String methodTag,
                                             java.lang.String addNextMethod)
Generate the rules for parsing method invocation constructs in the Bridgetown XML Grammar

Parameters:
digester - the digester instance
prefix - the XPath prefix string
methodTag - the name of the method invocation tag
addNextMethod - the name of the method to the parent configuration object to which add the MethodConfig instance.
See Also:
MethodConfig


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.