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

public Class RealmRuleSet

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 contents of a Realm definition element. This RuleSet supports Realms such as the CombinedRealm that used nested Realms.

Field Summary

Modifier and TypeField and Description
private static final int
protected final String
prefix

The matching pattern prefix to use for recognizing our elements.

Constructor Summary

AccessConstructor and Description
public
RealmRuleSet()

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

public
RealmRuleSet(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).

private void
addRuleInstances(Digester digester, String pattern, String methodName)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

MAX_NESTED_REALM_LEVELSback to summary
private static final int MAX_NESTED_REALM_LEVELS
prefixback to summary
protected final String prefix

The matching pattern prefix to use for recognizing our elements.

Constructor Detail

RealmRuleSetback to summary
public RealmRuleSet()

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

RealmRuleSetback to summary
public RealmRuleSet(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
addRuleInstancesback to summary
private void addRuleInstances(Digester digester, String pattern, String methodName)