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

public Class CredentialHandlerRuleSet

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 CredentialHandler definition element. This RuleSet supports CredentialHandler such as the NestedCredentialHandler that used nested CredentialHandlers.

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
CredentialHandlerRuleSet()

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

public
CredentialHandlerRuleSet(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_LEVELSback to summary
private static final int MAX_NESTED_LEVELS
prefixback to summary
protected final String prefix

The matching pattern prefix to use for recognizing our elements.

Constructor Detail

CredentialHandlerRuleSetback to summary
public CredentialHandlerRuleSet()

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

CredentialHandlerRuleSetback to summary
public CredentialHandlerRuleSet(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)