Home » apache-tomcat-6.0.26-src » org.apache » catalina » startup » [javadoc | source]
org.apache.catalina.startup
public class: ContextRuleSet [javadoc | source]
java.lang.Object
   org.apache.tomcat.util.digester.RuleSetBase
      org.apache.catalina.startup.ContextRuleSet

All Implemented Interfaces:
    RuleSet

RuleSet for processing the contents of a Context or DefaultContext definition element. To enable parsing of a DefaultContext, be sure to specify a prefix that ends with "/Default".

Field Summary
protected  String prefix    The matching pattern prefix to use for recognizing our elements. 
protected  boolean create    Should the context be created. 
Fields inherited from org.apache.tomcat.util.digester.RuleSetBase:
namespaceURI
Constructor:
 public ContextRuleSet() 
 public ContextRuleSet(String prefix) 
    Construct an instance of this RuleSet with the specified matching pattern prefix.
    Parameters:
    prefix - Prefix for matching pattern rules (including the trailing slash character)
 public ContextRuleSet(String prefix,
    boolean create) 
    Construct an instance of this RuleSet with the specified matching pattern prefix.
    Parameters:
    prefix - Prefix for matching pattern rules (including the trailing slash character)
Method from org.apache.catalina.startup.ContextRuleSet Summary:
addRuleInstances
Methods from org.apache.tomcat.util.digester.RuleSetBase:
addRuleInstances,   getNamespaceURI
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.startup.ContextRuleSet Detail:
 public  void addRuleInstances(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.