Package org.apache.commons.digester


package org.apache.commons.digester
The xmlrules package provides for XML-based definition of rules for Digester. This improves maintainability of Java code, as rules are now defined in XML and read into Digester at run-time.
  • Class
    Description
    Abstract base class for ObjectCreationFactory implementations.
    AbstractRuleImpl provides basic services for Rules implementations.
    Rule implements sets a bean property on the top object to the body text.
    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.
    Rule implementation that saves a parameter for use by a surrounding CallMethodRule.
    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.
    Extension of RulesBase for complex schema.
    Rule implementation that uses an ObjectCreationFactory to create a new object which it pushes onto the object stack.
    A rule implementation that creates a DOM Node containing the XML at the element that matched the rule.
    Rule implementation that creates a new object and pushes it onto the object stack.
    Interface for use with FactoryCreateRule.
    Rule implementation that saves a parameter for use by a surrounding CallMethodRule.
    Deprecated.
    Create an XMLParser instance yourself, configure validation appropriately, and pass it as a parameter to the Digester constructor, or use Digester.setXMLSchema(javax.xml.validation.Schema) for validation.
    Rule implementation that saves a parameter containing the Digester matching path for use by a surrounding CallMethodRule.
    Regular expression matching strategy for RegexRules.
    Rules implementation that uses regular expression matching for paths.
    Concrete implementations of this class implement actions to be taken when a corresponding nested pattern of XML elements has been matched.
    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.
    Default implementation of the Rules interface that supports the standard rule matching behavior.
    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.
    Convenience base class that implements the RuleSet interface.
    Rule implementation that sets properties on the object at the top of the stack, based on child elements with names matching properties on that object.
    Rule implementation that calls a method on the (top-1) (parent) object, passing the top object (child) as an argument.
    Rule implementation that sets properties on the object at the top of the stack, based on attributes with corresponding names.
    Rule implementation that sets an individual property on the object at the top of the stack, based on attributes with specified names.
    Rule implementation that calls a method on the root object on the stack, passing the top object (child) as an argument.
    Rule implementation that calls a "set parent" method on the top (child) object, passing the (top-1) (parent) object as an argument.
    Simple regex pattern matching algorithm.
    An interface that can be implemented in order to get notifications of objects being pushed onto a digester stack or popped from one.
    (Logical) Interface for substitution strategies.
    Rules Decorator that returns default rules when no matches are returned by the wrapped implementation.