Uses of Class
org.apache.commons.digester.Digester

Packages that use Digester
org.apache.commons.digester The Digester package provides for rules-based processing of arbitrary XML documents. 
org.apache.commons.digester.plugins Provides an easy mechanism whereby new digestion rules can be added dynamically during a digestion. 
org.apache.commons.digester.plugins.strategies This package contains "rule-finding" strategy classes, and their associated "helper" loader classes. 
org.apache.commons.digester.xmlrules The xmlrules package provides for XML-based definition of rules for Digester
 

Uses of Digester in org.apache.commons.digester
 

Fields in org.apache.commons.digester declared as Digester
protected  Digester RulesBase.digester
          The Digester instance with which this Rules instance is associated.
protected  Digester Rule.digester
          The Digester with which this Rule is associated.
protected  Digester AbstractObjectCreationFactory.digester
          The associated Digester instance that was set up by FactoryCreateRule upon initialization.
 

Methods in org.apache.commons.digester that return Digester
 Digester WithDefaultsRulesWrapper.getDigester()
          Gets digester using these Rules
 Digester RulesBase.getDigester()
          Return the Digester instance with which this Rules instance is associated.
 Digester Rules.getDigester()
          Return the Digester instance with which this Rules instance is associated.
 Digester Rule.getDigester()
          Return the Digester with which this Rule is associated.
 Digester ObjectCreationFactory.getDigester()
          Returns the Digester that was set by the FactoryCreateRule upon initialization.
 Digester AbstractRulesImpl.getDigester()
          Return the Digester instance with which this Rules instance is associated.
 Digester AbstractObjectCreationFactory.getDigester()
          Returns the Digester that was set by the FactoryCreateRule upon initialization.
 

Methods in org.apache.commons.digester with parameters of type Digester
abstract  void RuleSetBase.addRuleInstances(Digester digester)
          Add the set of Rule instances defined in this RuleSet to the specified Digester instance, associating them with our namespace URI (if any).
 void RuleSet.addRuleInstances(Digester digester)
          Add the set of Rule instances defined in this RuleSet to the specified Digester instance, associating them with our namespace URI (if any).
 java.lang.Object StackAction.onPop(Digester d, java.lang.String stackName, java.lang.Object o)
          Invoked just after an object has been popped from a digester stack.
 java.lang.Object StackAction.onPush(Digester d, java.lang.String stackName, java.lang.Object o)
          Invoked just before an object is to be pushed onto a digester stack.
 void WithDefaultsRulesWrapper.setDigester(Digester digester)
          Sets digeseter using these Rules
 void SetNestedPropertiesRule.setDigester(Digester digester)
          Invoked when rule is added to digester.
 void RulesBase.setDigester(Digester digester)
          Set the Digester instance with which this Rules instance is associated.
 void Rules.setDigester(Digester digester)
          Set the Digester instance with which this Rules instance is associated.
 void Rule.setDigester(Digester digester)
          Set the Digester with which this Rule is associated.
 void ObjectCreationFactory.setDigester(Digester digester)
          Set the Digester to allow the implementation to do logging, classloading based on the digester's classloader, etc.
 void CallMethodRule.setDigester(Digester digester)
          Set the associated digester.
 void AbstractRulesImpl.setDigester(Digester digester)
          Set the Digester instance with which this Rules instance is associated.
 void AbstractObjectCreationFactory.setDigester(Digester digester)
          Set the Digester to allow the implementation to do logging, classloading based on the digester's classloader, etc.
 

Constructors in org.apache.commons.digester with parameters of type Digester
BeanPropertySetterRule(Digester digester)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use BeanPropertySetterRule.BeanPropertySetterRule() instead.
BeanPropertySetterRule(Digester digester, java.lang.String propertyName)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use BeanPropertySetterRule.BeanPropertySetterRule(String propertyName) instead.
CallMethodRule(Digester digester, java.lang.String methodName, int paramCount)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use CallMethodRule.CallMethodRule(String methodName,int paramCount) instead.
CallMethodRule(Digester digester, java.lang.String methodName, int paramCount, java.lang.Class[] paramTypes)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use CallMethodRule.CallMethodRule(String methodName,int paramCount, Class [] paramTypes) instead.
CallMethodRule(Digester digester, java.lang.String methodName, int paramCount, java.lang.String[] paramTypes)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use CallMethodRule.CallMethodRule(String methodName,int paramCount, String [] paramTypes) instead.
CallParamRule(Digester digester, int paramIndex)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use CallParamRule.CallParamRule(int paramIndex) instead.
CallParamRule(Digester digester, int paramIndex, java.lang.String attributeName)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use CallParamRule.CallParamRule(int paramIndex, String attributeName) instead.
FactoryCreateRule(Digester digester, java.lang.Class clazz)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use FactoryCreateRule.FactoryCreateRule(Class clazz) instead.
FactoryCreateRule(Digester digester, java.lang.Class clazz, java.lang.String attributeName)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use FactoryCreateRule.FactoryCreateRule(Class clazz, String attributeName) instead.
FactoryCreateRule(Digester digester, ObjectCreationFactory creationFactory)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use FactoryCreateRule.FactoryCreateRule(ObjectCreationFactory creationFactory) instead.
FactoryCreateRule(Digester digester, java.lang.String className)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use FactoryCreateRule.FactoryCreateRule(String className) instead.
FactoryCreateRule(Digester digester, java.lang.String className, java.lang.String attributeName)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use FactoryCreateRule.FactoryCreateRule(String className, String attributeName) instead.
ObjectCreateRule(Digester digester, java.lang.Class clazz)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use ObjectCreateRule.ObjectCreateRule(Class clazz) instead.
ObjectCreateRule(Digester digester, java.lang.String className)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use ObjectCreateRule.ObjectCreateRule(String className) instead.
ObjectCreateRule(Digester digester, java.lang.String attributeName, java.lang.Class clazz)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use ObjectCreateRule.ObjectCreateRule(String attributeName, Class clazz) instead.
ObjectCreateRule(Digester digester, java.lang.String className, java.lang.String attributeName)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use ObjectCreateRule.ObjectCreateRule(String className, String attributeName) instead.
Rule(Digester digester)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use Rule.Rule() instead.
SetNextRule(Digester digester, java.lang.String methodName)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use SetNextRule.SetNextRule(String methodName) instead.
SetNextRule(Digester digester, java.lang.String methodName, java.lang.String paramType)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use SetNextRule.SetNextRule(String methodName,String paramType) instead.
SetPropertiesRule(Digester digester)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use SetPropertiesRule.SetPropertiesRule() instead.
SetPropertyRule(Digester digester, java.lang.String name, java.lang.String value)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use SetPropertyRule.SetPropertyRule(String name, String value) instead.
SetRootRule(Digester digester, java.lang.String methodName)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use SetRootRule.SetRootRule(String methodName) instead.
SetRootRule(Digester digester, java.lang.String methodName, java.lang.String paramType)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use SetRootRule.SetRootRule(String methodName,String paramType) instead.
SetTopRule(Digester digester, java.lang.String methodName)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use SetTopRule.SetTopRule(String methodName) instead.
SetTopRule(Digester digester, java.lang.String methodName, java.lang.String paramType)
          Deprecated. The digester instance is now set in the addRule(java.lang.String, org.apache.commons.digester.Rule) method. Use SetTopRule.SetTopRule(String methodName, String paramType) instead.
 

Uses of Digester in org.apache.commons.digester.plugins
 

Fields in org.apache.commons.digester.plugins declared as Digester
protected  Digester PluginRules.digester
          The Digester instance with which this Rules instance is associated.
 

Methods in org.apache.commons.digester.plugins that return Digester
 Digester PluginRules.getDigester()
          Return the Digester instance with which this instance is associated.
 

Methods in org.apache.commons.digester.plugins with parameters of type Digester
abstract  void RuleLoader.addRules(Digester d, java.lang.String path)
          Configures the digester with custom rules for some plugged-in class.
 void Declaration.configure(Digester digester, java.lang.String pattern)
          Attempt to load custom rules for the target class at the specified pattern.
static void PluginDeclarationRule.declarePlugin(Digester digester, java.util.Properties props)
           
abstract  RuleLoader RuleFinder.findLoader(Digester d, java.lang.Class pluginClass, java.util.Properties p)
          Apply the finder algorithm to attempt to locate a source of digester rules for the specified plugin class.
 RuleLoader PluginManager.findLoader(Digester digester, java.lang.String id, java.lang.Class pluginClass, java.util.Properties props)
          Given a plugin class and some associated properties, scan the list of known RuleFinder instances until one detects a source of custom rules for this plugin (aka a RuleLoader).
 void Declaration.init(Digester digester, PluginManager pm)
          Must be called exactly once, and must be called before any call to the configure method.
abstract  Rules RulesFactory.newRules(Digester d, java.lang.Class pluginClass)
          Return an instance of some Rules implementation that the plugged-in class shall use to match its private parsing rules.
 void PluginRules.setDigester(Digester digester)
          Set the Digester instance with which this Rules instance is associated.
 

Uses of Digester in org.apache.commons.digester.plugins.strategies
 

Methods in org.apache.commons.digester.plugins.strategies with parameters of type Digester
 void LoaderSetProperties.addRules(Digester digester, java.lang.String path)
          Just add a SetPropertiesRule at the specified path.
 void LoaderFromStream.addRules(Digester d, java.lang.String path)
          Add the rules previously loaded from the input stream into the specified digester.
 void LoaderFromClass.addRules(Digester d, java.lang.String path)
          Just invoke the target method.
 RuleLoader FinderSetProperties.findLoader(Digester d, java.lang.Class pluginClass, java.util.Properties p)
          Returns a RuleLoader unless the properties contain an entry with the name matching constructor param propsAttr, and the value matching what is in falseval.
 RuleLoader FinderFromResource.findLoader(Digester d, java.lang.Class pluginClass, java.util.Properties p)
          If there exists a property with the name matching constructor param resourceAttr, then load that file, run it through the xmlrules module and return an object encapsulating those rules.
 RuleLoader FinderFromMethod.findLoader(Digester d, java.lang.Class pluginClass, java.util.Properties p)
          If there exists a property with the name matching constructor param methodAttr, then locate the appropriate Method on the plugin class and return an object encapsulating that info.
 RuleLoader FinderFromFile.findLoader(Digester d, java.lang.Class pluginClass, java.util.Properties p)
          If there exists a property with the name specified in the constructor, then load that file, run it through the xmlrules module and return an object encapsulating those rules.
 RuleLoader FinderFromDfltResource.findLoader(Digester d, java.lang.Class pluginClass, java.util.Properties p)
          If there exists a resource file whose name is equal to the plugin class name + the suffix specified in the constructor, then load that file, run it through the xmlrules module and return an object encapsulating those rules.
 RuleLoader FinderFromDfltMethod.findLoader(Digester d, java.lang.Class pluginClass, java.util.Properties p)
          If there exists on the plugin class a method with name matching the constructor's methodName value then locate the appropriate Method on the plugin class and return an object encapsulating that info.
 RuleLoader FinderFromDfltClass.findLoader(Digester digester, java.lang.Class pluginClass, java.util.Properties p)
          If there exists a class whose name is the plugin class name + the suffix specified to the constructor, then load that class, locate the appropriate rules-adding method on that class, and return an object encapsulating that info.
 RuleLoader FinderFromClass.findLoader(Digester digester, java.lang.Class pluginClass, java.util.Properties p)
          If there exists a property with the name matching constructor param ruleClassAttr, then load the specified class, locate the appropriate rules-adding method on that class, and return an object encapsulating that info.
static RuleLoader FinderFromResource.loadRules(Digester d, java.lang.Class pluginClass, java.io.InputStream is, java.lang.String resourceName)
          Open the specified resource file (ie a file in the classpath, including being within a jar in the classpath), run it through the xmlrules module and return an object encapsulating those rules.
 

Uses of Digester in org.apache.commons.digester.xmlrules
 

Fields in org.apache.commons.digester.xmlrules declared as Digester
protected  Digester DigesterRuleParser.targetDigester
          This is the digester to which we are adding the rules that we parse from the Rules XML document.
 

Methods in org.apache.commons.digester.xmlrules that return Digester
static Digester DigesterLoader.createDigester(org.xml.sax.InputSource rulesSource)
          Creates a new digester and initializes it from the specified InputSource
static Digester DigesterLoader.createDigester(org.xml.sax.InputSource rulesSource, Digester rulesDigester)
          Creates a new digester and initializes it from the specified InputSource.
static Digester DigesterLoader.createDigester(java.net.URL rulesXml)
          Creates a new digester and initializes it from the specified XML file
static Digester DigesterLoader.createDigester(java.net.URL rulesXml, Digester rulesDigester)
          Creates a new digester and initializes it from the specified XML file.
 

Methods in org.apache.commons.digester.xmlrules with parameters of type Digester
 void FromXmlRuleSet.addRuleInstances(Digester digester)
          Adds to the digester the set of Rule instances defined in the XML file for this rule set.
 void DigesterRuleParser.addRuleInstances(Digester digester)
          Add to the given digester the set of Rule instances used to parse an XML document defining Digester rules.
 void FromXmlRuleSet.addRuleInstances(Digester digester, java.lang.String basePath)
          Adds to the digester the set of Rule instances defined in the XML file for this rule set.
static Digester DigesterLoader.createDigester(org.xml.sax.InputSource rulesSource, Digester rulesDigester)
          Creates a new digester and initializes it from the specified InputSource.
static Digester DigesterLoader.createDigester(java.net.URL rulesXml, Digester rulesDigester)
          Creates a new digester and initializes it from the specified XML file.
 void DigesterRulesSource.getRules(Digester digester)
          Creates and adds Digester Rules to a given Rules object
 void DigesterRuleParser.setTarget(Digester d)
          Sets the digester into which to add the parsed rules
 

Constructors in org.apache.commons.digester.xmlrules with parameters of type Digester
DigesterRuleParser(Digester targetDigester)
          Constructs a rule set for converting XML digester rule descriptions into Rule objects, and adding them to the given Digester
FromXmlRuleSet(org.xml.sax.InputSource inputSource, Digester rulesDigester)
          Constructs a FromXmlRuleSet using the default DigesterRuleParser and a ruleDigester for loading the rules xml.
FromXmlRuleSet(org.xml.sax.InputSource inputSource, DigesterRuleParser parser, Digester rulesDigester)
           
FromXmlRuleSet(java.net.URL rulesXml, Digester rulesDigester)
          Constructs a FromXmlRuleSet using the default DigesterRuleParser and a ruleDigester for loading the rules xml.
FromXmlRuleSet(java.net.URL rulesXml, DigesterRuleParser parser, Digester rulesDigester)
           
 



Copyright © 2001-2006 The Apache Software Foundation. All Rights Reserved.