Home » apache-tomcat-6.0.26-src » org.apache » tomcat » util » digester »

org.apache.tomcat.util.digester

Interfaces:

ObjectCreationFactory  

Interface for use with FactoryCreateRule

code | html
RuleSet  

Public interface defining a shorthand means of configuring a complete set of related Rule definitions, possibly associated with a particular namespace URI, in one operation. 

code | html
Rules   Public interface defining a collection of Rule instances (and corresponding matching patterns) plus an implementation of a matching policy that selects the rules that match a particular pattern of nested elements discovered during parsing.  code | html

Abstract Classes:

AbstractObjectCreationFactory  

Abstract base class for ObjectCreationFactory implementations.

 
code | html
AbstractRulesImpl  

AbstractRuleImpl provides basic services for Rules implementations. 

code | html
Rule   Concrete implementations of this class implement actions to be taken when a corresponding nested pattern of XML elements has been matched.  code | html
RuleSetBase  

Convenience base class that implements the RuleSet interface. 

code | html

Classes:

ArrayStack  

Imported copy of the ArrayStack class from Commons Collections, which was the only direct dependency from Digester.

WARNNG - This class is public solely to allow it to be used from subpackages of org.apache.commons.digester

code | html
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. 

code | html
CallParamRule  

Rule implementation that saves a parameter for use by a surrounding CallMethodRule.

This parameter may be:

code | html
Digester  

A Digester processes an XML input stream by matching a series of element nesting patterns to execute Rules that have been added prior to the start of parsing. 

code | html
Digester.SystemPropertySource     code | html
FactoryCreateRule  

Rule implementation that uses an ObjectCreationFactory to create a new object which it pushes onto the object stack. 

code | html
GenericParser   Create a SAXParser configured to support XML Schema and DTD.  code | html
NodeCreateRule   A rule implementation that creates a DOM Node containing the XML at the element that matched the rule.  code | html
NodeCreateRule.NodeBuilder   The SAX content handler that does all the actual work of assembling the DOM node tree from the SAX events.  code | html
ObjectCreateRule   Rule implementation that creates a new object and pushes it onto the object stack.  code | html
ObjectParamRule  

Rule implementation that saves a parameter for use by a surrounding CallMethodRule.

This parameter may be:

 
code | html
ParserFeatureSetterFactory   Creates a SAXParser based on the underlying parser.  code | html
PathCallParamRule  

Rule implementation that saves a parameter containing the Digester matching path for use by a surrounding CallMethodRule

code | html
RulesBase  

Default implementation of the Rules interface that supports the standard rule matching behavior. 

code | html
SetNextRule  

Rule implementation that calls a method on the (top-1) (parent) object, passing the top object (child) as an argument. 

code | html
SetPropertiesRule  

Rule implementation that sets properties on the object at the top of the stack, based on attributes with corresponding names.

This rule supports custom mapping of attribute names to property names. 

code | html
SetPropertyRule   Rule implementation that sets an individual property on the object at the top of the stack, based on attributes with specified names.  code | html
SetRootRule  

Rule implementation that calls a method on the root object on the stack, passing the top object (child) as an argument. 

code | html
SetTopRule  

Rule implementation that calls a "set parent" method on the top (child) object, passing the (top-1) (parent) object as an argument.

This rule now supports more flexible method matching by default. 

code | html
WithDefaultsRulesWrapper  

Rules Decorator that returns default rules when no matches are returned by the wrapped implementation.

This allows default Rule instances to be added to any existing Rules implementation. 

code | html
XercesParser   Create a SAXParser based on the underlying Xerces version.  code | html