| java.lang.Object org.apache.tomcat.util.digester.RuleSetBase org.apache.catalina.startup.ContextRuleSet
ContextRuleSet | public class ContextRuleSet extends RuleSetBase (Code) | | 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".
author: Craig R. McClanahan version: $Revision: 500684 $ $Date: 2007-01-28 00:27:18 +0100 (dim., 28 janv. 2007) $ |
Field Summary | |
protected boolean | create Should the context be created. | protected String | prefix The matching pattern prefix to use for recognizing our elements. |
Constructor Summary | |
public | ContextRuleSet() Construct an instance of this RuleSet with the default
matching pattern prefix. | public | ContextRuleSet(String prefix) Construct an instance of this RuleSet with the specified
matching pattern prefix. | public | ContextRuleSet(String prefix, boolean create) Construct an instance of this RuleSet with the specified
matching pattern prefix. |
Method Summary | |
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). |
create | protected boolean create(Code) | | Should the context be created.
|
prefix | protected String prefix(Code) | | The matching pattern prefix to use for recognizing our elements.
|
ContextRuleSet | public ContextRuleSet()(Code) | | Construct an instance of this RuleSet with the default
matching pattern prefix.
|
ContextRuleSet | public ContextRuleSet(String prefix)(Code) | | Construct an instance of this RuleSet with the specified
matching pattern prefix.
Parameters: prefix - Prefix for matching pattern rules (including thetrailing slash character) |
ContextRuleSet | public ContextRuleSet(String prefix, boolean create)(Code) | | Construct an instance of this RuleSet with the specified
matching pattern prefix.
Parameters: prefix - Prefix for matching pattern rules (including thetrailing slash character) |
addRuleInstances | public void addRuleInstances(Digester digester)(Code) | | 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.
Parameters: digester - Digester instance to which the new Rule instancesshould be added. |
Fields inherited from org.apache.tomcat.util.digester.RuleSetBase | protected String namespaceURI(Code)(Java Doc)
|
|
|