| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tomcat.util.digester.RuleSetBase
org.apache.catalina.startup.ContextRuleSet
public class ContextRuleSet
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  boolean | createShould the context be created. | 
| protected  java.lang.String | prefixThe matching pattern prefix to use for recognizing our elements. | 
| Fields inherited from class org.apache.tomcat.util.digester.RuleSetBase | 
|---|
| namespaceURI | 
| Constructor Summary | |
|---|---|
| ContextRuleSet()Construct an instance of this RuleSetwith the default
 matching pattern prefix. | |
| ContextRuleSet(java.lang.String prefix)Construct an instance of this RuleSetwith the specified
 matching pattern prefix. | |
| ContextRuleSet(java.lang.String prefix,
               boolean create)Construct an instance of this RuleSetwith the specified
 matching pattern prefix. | |
| Method Summary | |
|---|---|
|  void | addRuleInstances(Digester digester)Add the set of Rule instances defined in this RuleSet to the specified Digesterinstance, associating them with
 our namespace URI (if any). | 
| Methods inherited from class org.apache.tomcat.util.digester.RuleSetBase | 
|---|
| getNamespaceURI | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected java.lang.String prefix
protected boolean create
| Constructor Detail | 
|---|
public ContextRuleSet()
RuleSet with the default
 matching pattern prefix.
public ContextRuleSet(java.lang.String prefix)
RuleSet with the specified
 matching pattern prefix.
prefix - Prefix for matching pattern rules (including the
  trailing slash character)
public ContextRuleSet(java.lang.String prefix,
                      boolean create)
RuleSet with the specified
 matching pattern prefix.
prefix - Prefix for matching pattern rules (including the
  trailing slash character)| Method 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.
addRuleInstances in interface RuleSetaddRuleInstances in class RuleSetBasedigester - Digester instance to which the new Rule instances
  should be added.| 
 | Apache Tomcat 6.0.53 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||