Package org.apache.commons.digester.plugins


package org.apache.commons.digester.plugins
The plugins package provides an easy mechanism whereby new digestion rules can be added dynamically during a digestion.
  • Class
    Description
    Represents a Class that can be instantiated by a PluginCreateRule, plus info on how to load custom digester rules for mapping xml into that plugged-in class.
    Defines an interface that a Rule class can implement if it wishes to get an initialisation callback after the rule has been added to the set of Rules within a PluginRules instance.
    Thrown when a bug is detected in the plugins code.
    Thrown when an error occurs due to the way the calling application uses the plugins module.
    Provides data and services which should exist only once per digester.
    Allows the original rules for parsing the configuration file to define points at which plugins are allowed, by configuring a PluginCreateRule with the appropriate pattern.
    A Digester rule which allows the user to pre-declare a class which is to be referenced later at a plugin point by a PluginCreateRule.
    Thrown when some plugin-related error has occurred, and none of the other exception types are appropriate.
    Thrown when an error occurs due to bad data in the file being parsed.
    Coordinates between PluginDeclarationRule and PluginCreateRule objects, providing a place to share data between instances of these rules.
    A custom digester Rules manager which must be used as the Rules object when using the plugins module functionality.
    Each concrete implementation of RuleFinder is an algorithm for locating a source of digester rules for a plugin.
    Interface for classes which can dynamically load custom plugin rules associated with a user's plugin class.
    Whenever the scope of a plugin tag is entered, the PluginRules class creates a new Rules instance and configures it with the appropriate parsing rules for the plugged-in class.