Top Description Fields Constructors Methods
org.apache.catalina.startup

public Class NamingRuleSet

extends Object
implements RuleSet
Class Inheritance
All Implemented Interfaces
org.apache.tomcat.util.digester.RuleSet
Imports
org.apache.tomcat.util.digester.Digester, .RuleSet

RuleSet for processing the JNDI Enterprise Naming Context resource declaration elements.
Authors
Craig R. McClanahan, Remy Maucherat

Field Summary

Modifier and TypeField and Description
protected final String
prefix

The matching pattern prefix to use for recognizing our elements.

Constructor Summary

AccessConstructor and Description
public
NamingRuleSet()

Construct an instance of this RuleSet with the default matching pattern prefix.

public
NamingRuleSet(String
Prefix for matching pattern rules (including the trailing slash character)
prefix
)

Construct an instance of this RuleSet with the specified matching pattern prefix.

Method Summary

Modifier and TypeMethod and Description
public void
addRuleInstances(Digester
Digester instance to which the new Rule instances should be added.
digester
)

Implements org.apache.tomcat.util.digester.RuleSet.addRuleInstances.

Add the set of Rule instances defined in this RuleSet to the specified Digester instance, associating them with our namespace URI (if any).

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

prefixback to summary
protected final String prefix

The matching pattern prefix to use for recognizing our elements.

Constructor Detail

NamingRuleSetback to summary
public NamingRuleSet()

Construct an instance of this RuleSet with the default matching pattern prefix.

NamingRuleSetback to summary
public NamingRuleSet(String prefix)

Construct an instance of this RuleSet with the specified matching pattern prefix.

Parameters
prefix:String

Prefix for matching pattern rules (including the trailing slash character)

Method Detail

addRuleInstancesback to summary
public void addRuleInstances(Digester digester)

Implements org.apache.tomcat.util.digester.RuleSet.addRuleInstances.

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

Digester instance to which the new Rule instances should be added.

Annotations
@Override