| Package | Description |
|---|---|
| org.apache.tomcat.util.digester |
| 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 |
ObjectCreateRule
Rule implementation that creates a new object and pushes it
onto the object stack.
|
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.
|
| 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 |
|---|---|
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.
|
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.
|
| 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 |
Digester.addRule(String pattern,
Rule rule)
Register a new Rule matching the specified pattern.
|
Copyright © 2014–2015 Webtide. All rights reserved.