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

public Class MemoryRuleSet

Additional top-level class in compilation unit: MemoryUserRule.

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

RuleSet for recognizing the users defined in the XML file processed by MemoryRealm.

Author
Craig R. McClanahan

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

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

public
MemoryRuleSet(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

MemoryRuleSetback to summary
public MemoryRuleSet()

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

MemoryRuleSetback to summary
public MemoryRuleSet(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