| Package | Description |
|---|---|
| org.apache.catalina.startup | |
| org.apache.tomcat.util.digester |
| Modifier and Type | Class and Description |
|---|---|
class |
CopyParentClassLoaderRule
Rule that copies the
parentClassLoader property from the
next-to-top item on the stack (which must be a Container)
to the top item on the stack (which must also be a
Container). |
class |
LifecycleListenerRule
Rule that creates a new
LifecycleListener instance,
and associates it with the top object on the stack (which must
implement LifecycleListener). |
class |
SetAllPropertiesRule
Rule that uses the introspection utils to set properties.
|
class |
SetContextPropertiesRule
Rule that uses the introspection utils to set properties of a context
(everything except "path").
|
class |
SetDocBaseRule
Rule that modifies the docBase of the host, setting it appropriately,
before adding the Context to the parent Host.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CallMethodRule
Rule implementation that calls a method on an object on the stack
(normally the top/parent object), passing arguments collected from
subsequent
CallParamRule rules or from the body of this
element. |
class |
CallParamRule
Rule implementation that saves a parameter for use by a surrounding
CallMethodRule |
class |
FactoryCreateRule
Rule implementation that uses an
ObjectCreationFactory to create
a new object which it pushes onto the object stack. |
class |
NodeCreateRule
A rule implementation that creates a DOM
Node containing the XML at the element that matched
the rule. |
class |
ObjectCreateRule
Rule implementation that creates a new object and pushes it
onto the object stack.
|
class |
ObjectParamRule
Rule implementation that saves a parameter for use by a surrounding
CallMethodRule |
class |
PathCallParamRule
Rule implementation that saves a parameter containing the
Digester matching path for use by a surrounding
CallMethodRule. |
class |
SetNextRule
Rule implementation that calls a method on the (top-1) (parent)
object, passing the top object (child) as an argument.
|
class |
SetPropertiesRule
Rule implementation that sets properties on the object at the top of the
stack, based on attributes with corresponding names.
|
class |
SetPropertyRule
Rule implementation that sets an individual property on the object at the
top of the stack, based on attributes with specified names.
|
class |
SetRootRule
Rule implementation that calls a method on the root object on the stack,
passing the top object (child) as an argument.
|
class |
SetTopRule
Rule implementation that calls a "set parent" method on the top (child)
object, passing the (top-1) (parent) object as an argument.
|
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,List<Rule>> |
RulesBase.cache
The set of registered Rule instances, keyed by the matching pattern.
|
protected ArrayStack<List<Rule>> |
Digester.matches
Stack whose elements are List objects, each containing a list of
Rule objects as returned from Rules.getMatch().
|
protected ArrayList<Rule> |
RulesBase.rules
The set of registered Rule instances, in the order that they were
originally registered.
|
| Modifier and Type | Method and Description |
|---|---|
List<Rule> |
WithDefaultsRulesWrapper.getDefaults()
Gets Rule's which will be fired when the wrapped implementation returns no matches
|
protected List<Rule> |
RulesBase.lookup(String namespaceURI,
String pattern)
Return a List of Rule instances for the specified pattern that also
match the specified namespace URI (if any).
|
List<Rule> |
RulesBase.match(String namespaceURI,
String pattern)
Return a List of all registered Rule instances that match the specified
nesting pattern, or a zero-length List if there are no matches.
|
List<Rule> |
Rules.match(String namespaceURI,
String pattern)
Return a List of all registered Rule instances that match the specified
nesting pattern, or a zero-length List if there are no matches.
|
abstract List<Rule> |
AbstractRulesImpl.match(String namespaceURI,
String pattern)
Return a List of all registered Rule instances that match the specified
nesting pattern, or a zero-length List if there are no matches.
|
List<Rule> |
WithDefaultsRulesWrapper.match(String namespaceURI,
String pattern)
Return list of rules matching given pattern.
|
List<Rule> |
RulesBase.rules()
Return a List of all registered Rule instances, or a zero-length List
if there are no registered Rule instances.
|
List<Rule> |
Rules.rules()
Return a List of all registered Rule instances, or a zero-length List
if there are no registered Rule instances.
|
abstract List<Rule> |
AbstractRulesImpl.rules()
Return a List of all registered Rule instances, or a zero-length List
if there are no registered Rule instances.
|
List<Rule> |
WithDefaultsRulesWrapper.rules()
Gets all rules
|
| Modifier and Type | Method and Description |
|---|---|
void |
RulesBase.add(String pattern,
Rule rule)
Register a new Rule instance matching the specified pattern.
|
void |
Rules.add(String pattern,
Rule rule)
Register a new Rule instance matching the specified pattern.
|
void |
AbstractRulesImpl.add(String pattern,
Rule rule)
Registers a new Rule instance matching the specified pattern.
|
void |
WithDefaultsRulesWrapper.add(String pattern,
Rule rule)
Adds a Rule to be fired on given pattern.
|
void |
WithDefaultsRulesWrapper.addDefault(Rule rule)
Adds a rule to be fired when wrapped implementation returns no matches
|
void |
Digester.addRule(String pattern,
Rule rule)
Register a new Rule matching the specified pattern.
|
protected abstract void |
AbstractRulesImpl.registerRule(String pattern,
Rule rule)
Register rule at given pattern.
|
Copyright © 2017. All rights reserved.