Uses of Class
org.apache.commons.digester.Digester
-
Packages that use Digester Package Description org.apache.commons.digester Thexmlrulespackage provides for XML-based definition of rules forDigester.org.apache.commons.digester.annotations Theannotationspackage provides for Java5 Annotations meta data-based definition of rules forDigester.org.apache.commons.digester.plugins Thepluginspackage provides an easy mechanism whereby new digestion rules can be added dynamically during a digestion.org.apache.commons.digester.plugins.strategies Theplugins.strategiespackage contains "rule-finding" strategy classes, and their associated "helper" loader classes.org.apache.commons.digester.xmlrules The Digester package lets you configure an XML -> Java object mapping module, which triggers certain actions called rules whenever a particular pattern of nested XML elements is recognized. -
-
Uses of Digester in org.apache.commons.digester
Fields in org.apache.commons.digester declared as Digester Modifier and Type Field Description protected DigesterAbstractObjectCreationFactory. digesterThe associatedDigesterinstance that was set up byFactoryCreateRuleupon initialization.protected DigesterRule. digesterThe Digester with which this Rule is associated.protected DigesterRulesBase. digesterThe Digester instance with which this Rules instance is associated.Methods in org.apache.commons.digester that return Digester Modifier and Type Method Description DigesterAbstractObjectCreationFactory. getDigester()Returns theDigesterthat was set by theFactoryCreateRuleupon initialization.DigesterAbstractRulesImpl. getDigester()Return the Digester instance with which this Rules instance is associated.DigesterObjectCreationFactory. getDigester()Returns theDigesterthat was set by theFactoryCreateRuleupon initialization.DigesterRule. getDigester()Return the Digester with which this Rule is associated.DigesterRules. getDigester()Return the Digester instance with which this Rules instance is associated.DigesterRulesBase. getDigester()Return the Digester instance with which this Rules instance is associated.DigesterWithDefaultsRulesWrapper. getDigester()Gets digester using these RulesMethods in org.apache.commons.digester with parameters of type Digester Modifier and Type Method Description voidRuleSet. addRuleInstances(Digester digester)Add the set of Rule instances defined in this RuleSet to the specifiedDigesterinstance, associating them with our namespace URI (if any).abstract voidRuleSetBase. addRuleInstances(Digester digester)Add the set of Rule instances defined in this RuleSet to the specifiedDigesterinstance, associating them with our namespace URI (if any).java.lang.ObjectStackAction. 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.ObjectStackAction. onPush(Digester d, java.lang.String stackName, java.lang.Object o)Invoked just before an object is to be pushed onto a digester stack.voidAbstractObjectCreationFactory. setDigester(Digester digester)Set theDigesterto allow the implementation to do logging, classloading based on the digester's classloader, etc.voidAbstractRulesImpl. setDigester(Digester digester)Set the Digester instance with which this Rules instance is associated.voidCallMethodRule. setDigester(Digester digester)Set the associated digester.voidObjectCreationFactory. setDigester(Digester digester)Set theDigesterto allow the implementation to do logging, classloading based on the digester's classloader, etc.voidRule. setDigester(Digester digester)Set theDigesterwith which thisRuleis associated.voidRules. setDigester(Digester digester)Set the Digester instance with which this Rules instance is associated.voidRulesBase. setDigester(Digester digester)Set the Digester instance with which this Rules instance is associated.voidSetNestedPropertiesRule. setDigester(Digester digester)Invoked when rule is added to digester.voidWithDefaultsRulesWrapper. setDigester(Digester digester)Sets digeseter using these RulesConstructors in org.apache.commons.digester with parameters of type Digester Constructor Description BeanPropertySetterRule(Digester digester)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.BeanPropertySetterRule(Digester digester, java.lang.String propertyName)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.CallMethodRule(Digester digester, java.lang.String methodName, int paramCount)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.CallMethodRule(Digester digester, java.lang.String methodName, int paramCount, java.lang.Class<?>[] paramTypes)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.CallMethodRule(Digester digester, java.lang.String methodName, int paramCount, java.lang.String[] paramTypes)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.CallParamRule(Digester digester, int paramIndex)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.CallParamRule(Digester digester, int paramIndex, java.lang.String attributeName)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.FactoryCreateRule(Digester digester, java.lang.Class<?> clazz)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.FactoryCreateRule(Digester digester, java.lang.Class<?> clazz, java.lang.String attributeName)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.FactoryCreateRule(Digester digester, java.lang.String className)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.FactoryCreateRule(Digester digester, java.lang.String className, java.lang.String attributeName)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.FactoryCreateRule(Digester digester, ObjectCreationFactory creationFactory)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.ObjectCreateRule(Digester digester, java.lang.Class<?> clazz)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.ObjectCreateRule(Digester digester, java.lang.String className)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.ObjectCreateRule(Digester digester, java.lang.String attributeName, java.lang.Class<?> clazz)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.ObjectCreateRule(Digester digester, java.lang.String className, java.lang.String attributeName)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.Rule(Digester digester)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.SetNextRule(Digester digester, java.lang.String methodName)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.SetNextRule(Digester digester, java.lang.String methodName, java.lang.String paramType)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.SetPropertiesRule(Digester digester)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.SetPropertyRule(Digester digester, java.lang.String name, java.lang.String value)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.SetRootRule(Digester digester, java.lang.String methodName)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.SetRootRule(Digester digester, java.lang.String methodName, java.lang.String paramType)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.SetTopRule(Digester digester, java.lang.String methodName)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method.SetTopRule(Digester digester, java.lang.String methodName, java.lang.String paramType)Deprecated.The digester instance is now set in theaddRule(java.lang.String, org.apache.commons.digester.Rule)method. -
Uses of Digester in org.apache.commons.digester.annotations
Methods in org.apache.commons.digester.annotations that return Digester Modifier and Type Method Description DigesterDigesterLoader. createDigester(java.lang.Class<?> target)Creates a new digester which rules are defined by analyzing the digester annotations in the target class.Methods in org.apache.commons.digester.annotations with parameters of type Digester Modifier and Type Method Description voidFromAnnotationsRuleSet. addRuleInstances(Digester digester)Add the set of Rule instances defined in this RuleSet to the specifiedDigesterinstance, associating them with our namespace URI (if any).voidDigesterLoader. addRules(java.lang.Class<?> target, Digester digester)Add rules to an already created Digester instance, analyzing the digester annotations in the target class. -
Uses of Digester in org.apache.commons.digester.plugins
Fields in org.apache.commons.digester.plugins declared as Digester Modifier and Type Field Description protected DigesterPluginRules. digesterThe Digester instance with which this Rules instance is associated.Methods in org.apache.commons.digester.plugins that return Digester Modifier and Type Method Description DigesterPluginRules. getDigester()Return the Digester instance with which this instance is associated.Methods in org.apache.commons.digester.plugins with parameters of type Digester Modifier and Type Method Description abstract voidRuleLoader. addRules(Digester d, java.lang.String path)Configures the digester with custom rules for some plugged-in class.voidDeclaration. configure(Digester digester, java.lang.String pattern)Attempt to load custom rules for the target class at the specified pattern.static voidPluginDeclarationRule. declarePlugin(Digester digester, java.util.Properties props)RuleLoaderPluginManager. 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).abstract RuleLoaderRuleFinder. 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.voidDeclaration. init(Digester digester, PluginManager pm)Must be called exactly once, and must be called before any call to the configure method.abstract RulesRulesFactory. 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.voidPluginRules. 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 Modifier and Type Method Description voidLoaderFromClass. addRules(Digester d, java.lang.String path)Just invoke the target method.voidLoaderFromStream. addRules(Digester d, java.lang.String path)Add the rules previously loaded from the input stream into the specified digester.voidLoaderSetProperties. addRules(Digester digester, java.lang.String path)Just add a SetPropertiesRule at the specified path.RuleLoaderFinderFromClass. 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.RuleLoaderFinderFromDfltClass. 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.RuleLoaderFinderFromDfltMethod. 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.RuleLoaderFinderFromDfltResource. 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.RuleLoaderFinderFromFile. 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.RuleLoaderFinderFromMethod. 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.RuleLoaderFinderFromResource. 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.RuleLoaderFinderSetProperties. 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.static RuleLoaderFinderFromResource. 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 Modifier and Type Field Description protected DigesterDigesterRuleParser. targetDigesterThis 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 Modifier and Type Method Description static DigesterDigesterLoader. createDigester(java.net.URL rulesXml)Creates a new digester and initializes it from the specified XML filestatic DigesterDigesterLoader. createDigester(java.net.URL rulesXml, Digester rulesDigester)Creates a new digester and initializes it from the specified XML file.static DigesterDigesterLoader. createDigester(org.xml.sax.InputSource rulesSource)Creates a new digester and initializes it from the specified InputSourcestatic DigesterDigesterLoader. createDigester(org.xml.sax.InputSource rulesSource, Digester rulesDigester)Creates a new digester and initializes it from the specified InputSource.Methods in org.apache.commons.digester.xmlrules with parameters of type Digester Modifier and Type Method Description voidDigesterRuleParser. addRuleInstances(Digester digester)Add to the given digester the set of Rule instances used to parse an XML document defining Digester rules.voidFromXmlRuleSet. addRuleInstances(Digester digester)Adds to the digester the set of Rule instances defined in the XML file for this rule set.voidFromXmlRuleSet. 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 DigesterDigesterLoader. createDigester(java.net.URL rulesXml, Digester rulesDigester)Creates a new digester and initializes it from the specified XML file.static DigesterDigesterLoader. createDigester(org.xml.sax.InputSource rulesSource, Digester rulesDigester)Creates a new digester and initializes it from the specified InputSource.voidDigesterRulesSource. getRules(Digester digester)Creates and adds Digester Rules to a given Rules objectvoidDigesterRuleParser. setTarget(Digester d)Sets the digester into which to add the parsed rulesConstructors in org.apache.commons.digester.xmlrules with parameters of type Digester Constructor Description DigesterRuleParser(Digester targetDigester)Constructs a rule set for converting XML digester rule descriptions into Rule objects, and adding them to the given DigesterFromXmlRuleSet(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)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)
-