RulesModule
that automatically binds every
rule to the input namespaceURI.ObjectCreationFactory
implementations.LinkedRuleBuilder.setNext(String)
,
LinkedRuleBuilder.setRoot(String)
or LinkedRuleBuilder.setTop(String)
.AbstractRuleImpl
provides basic services for Rules
implementations.Digester
matching path.Digester
instance,
associating them with our namespace URI (if any).SetNestedPropertiesRule
.SetNestedPropertiesRule
.SetNestedPropertiesRule
.SetRootRule
with the specified parameters.SetRootRule
with the specified parameters.Class
visit performed by
the DigesterLoader
.AnnotationHandler
.BeanPropertySetter
will be bound with BeanPropertySetterRule
digester rule.@BeanPropertySetter
annotations on the same element.LinkedRuleBuilder.setBeanProperty()
.BeanPropertySetter
handler.LinkedRuleBuilder.addRule(Rule)
.LinkedRuleBuilder.addRuleCreatedBy(org.apache.commons.digester3.binder.RuleProvider)
.CallMethod
will be bound with CallMethodRule
digester rule.LinkedRuleBuilder.callParam()
rule or from the body of this element.@CallMethod
annotations on the same element.LinkedRuleBuilder.callMethod(String)
.CallMethod
handler.CallParamRule
rules or from the body of this element.CallParam
will be bound with CallParamRule
digester rule.LinkedRuleBuilder.callMethod(String)
.@CallParam
annotations on the same element.LinkedRuleBuilder.callParam()
.CallParam
handler.CallMethodRule.
- CallParamRule(int) - Constructor for class org.apache.commons.digester3.CallParamRule
-
Construct a "call parameter" rule that will save the body text of this element as the parameter value.
- CallParamRule(int, String) - Constructor for class org.apache.commons.digester3.CallParamRule
-
Construct a "call parameter" rule that will save the value of the specified attribute as the parameter value.
- CallParamRule(int, boolean) - Constructor for class org.apache.commons.digester3.CallParamRule
-
Construct a "call parameter" rule.
- CallParamRule(int, int) - Constructor for class org.apache.commons.digester3.CallParamRule
-
Constructs a "call parameter" rule which sets a parameter from the stack.
- CaseTransform - Class in org.apache.commons.digester3.examples.plugins.pipeline
-
An implementation of the Transform interface which converts all
input text to either upper or lower case.
- CaseTransform() - Constructor for class org.apache.commons.digester3.examples.plugins.pipeline.CaseTransform
-
- Catalog - Class in org.apache.commons.digester3.examples.api.catalog
-
See Main.java.
- Catalog() - Constructor for class org.apache.commons.digester3.examples.api.catalog.Catalog
-
- Channel - Class in org.apache.commons.digester3.rss
-
Implementation object representing a channel in the
Rich Site Summary DTD, version 0.91.
- Channel() - Constructor for class org.apache.commons.digester3.rss.Channel
-
- channelClass - Variable in class org.apache.commons.digester3.rss.RSSDigester
-
The fully qualified class name of the
Channel
implementation class.
- characters(char[], int, int) - Method in class org.apache.commons.digester3.Digester
- characters(char[], int, int) - Method in class org.apache.commons.digester3.examples.api.documentmarkup.MarkupDigester
-
Process notification of character data received from the body of
an XML element.
- className - Variable in class org.apache.commons.digester3.FactoryCreateRule
-
The Java class name of the ObjectCreationFactory to be created.
- className - Variable in class org.apache.commons.digester3.ObjectCreateRule
-
The Java class name of the object to be created.
- clazz - Variable in class org.apache.commons.digester3.ObjectCreateRule
-
The Java class of the object to be created.
- cleanup() - Method in class org.apache.commons.digester3.Digester
-
Clean up allocated resources after parsing is complete.
- clear() - Method in class org.apache.commons.digester3.Digester
-
Clear the current contents of the default object stack, the param stack, all named stacks, and other internal
variables.
- clear() - Method in class org.apache.commons.digester3.plugins.PluginRules
-
Clear all rules.
- clear() - Method in class org.apache.commons.digester3.RegexRules
-
Clear all existing Rule instance registrations.
- clear() - Method in interface org.apache.commons.digester3.Rules
-
Clear all existing Rule instance registrations.
- clear() - Method in class org.apache.commons.digester3.RulesBase
-
Clear all existing Rule instance registrations.
- clear() - Method in class org.apache.commons.digester3.WithDefaultsRulesWrapper
-
Clear all existing Rule instance registrations.
- CompoundSubstitutor - Class in org.apache.commons.digester3.substitution
-
This Substitutor chains two Substitutors
a
and b
.
- CompoundSubstitutor(Substitutor, Substitutor) - Constructor for class org.apache.commons.digester3.substitution.CompoundSubstitutor
-
Creates a new CompoundSubstitutor instance.
- CompoundTransform - Class in org.apache.commons.digester3.examples.plugins.pipeline
-
An implementation of the Transform interface which is configured with
a sequence of "subtransforms", and applies them one by one to the input
data.
- CompoundTransform() - Constructor for class org.apache.commons.digester3.examples.plugins.pipeline.CompoundTransform
-
- configure() - Method in class org.apache.commons.digester3.annotations.FromAnnotationsRuleModule
-
Configures a
RulesBinder
via the exposed methods.
- configure(RulesBinder) - Method in class org.apache.commons.digester3.binder.AbstractRulesModule
-
Configure the Digester rules binding via the given rules binder.
- configure() - Method in class org.apache.commons.digester3.binder.AbstractRulesModule
-
Configures a
RulesBinder
via the exposed methods.
- configure(RulesBinder) - Method in interface org.apache.commons.digester3.binder.RulesModule
-
Configure the Digester rules binding via the given rules binder.
- configure() - Method in class org.apache.commons.digester3.Digester
-
Provide a hook for lazy configuration of this
Digester
instance.
- configure() - Method in class org.apache.commons.digester3.edsl.atom.AtomRulesModule
-
- configure(Digester, String) - Method in class org.apache.commons.digester3.plugins.Declaration
-
Attempt to load custom rules for the target class at the specified pattern.
- configure() - Method in class org.apache.commons.digester3.rss.RSSDigester
-
Configure the parsing rules that will be used to process RSS input.
- configure() - Method in class org.apache.commons.digester3.xmlrules.FromXmlRulesModule
-
Configures a
RulesBinder
via the exposed methods.
- configured - Variable in class org.apache.commons.digester3.rss.RSSDigester
-
Have we been configured yet?
- configureRules() - Method in class org.apache.commons.digester3.annotations.FromAnnotationsRuleModule
-
Configures a
RulesBinder
via the exposed methods.
- copyright - Variable in class org.apache.commons.digester3.rss.Channel
-
The channel copyright (1-100 characters).
- createInputSourceFromURL(URL) - Method in class org.apache.commons.digester3.Digester
-
Given a URL, return an InputSource that reads from that URL.
- createInputSourceFromURL(String) - Method in class org.apache.commons.digester3.Digester
-
Convenience method that creates an
InputSource
from the string version of a URL.
- createNode() - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
A rule implementation that creates a DOM Node containing the XML at the element that matched the rule.
- createObject(Attributes) - Method in class org.apache.commons.digester3.AbstractObjectCreationFactory
-
Factory method called by
FactoryCreateRule
to supply an object based on the element's attributes.
- createObject(Attributes) - Method in class org.apache.commons.digester3.annotations.rules.FactoryCreate.DefaultObjectCreationFactory
-
Factory method called by
FactoryCreateRule
to supply an object based on the element's attributes.
- createObject() - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
Construct an object.
- createObject(Attributes) - Method in class org.apache.commons.digester3.examples.api.catalog.BookFactory
-
- createObject(Attributes) - Method in interface org.apache.commons.digester3.ObjectCreationFactory
-
Factory method called by
FactoryCreateRule
to supply an object based on the element's attributes.
- createPlugin() - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
A Digester rule which allows the user to declare a plugin.
- createRule() - Method in class org.apache.commons.digester3.binder.BeanPropertySetterBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.ByRuleBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.ByRuleProviderBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.CallMethodBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.CallParamBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.FactoryCreateBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.NestedPropertiesBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.NodeCreateRuleProvider
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.ObjectCreateBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.ObjectParamBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.PathCallParamBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.PluginCreateRuleBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.PluginDeclarationRuleBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.SetNextBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.SetPropertiesBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.SetPropertyBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.SetRootBuilder
-
Provides an instance of
Rule
.
- createRule() - Method in class org.apache.commons.digester3.binder.SetTopBuilder
-
Provides an instance of
Rule
.
- createRuleSet() - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Creates a new
RuleSet
instance based on the current configuration.
- createSAXException(String, Exception) - Method in class org.apache.commons.digester3.Digester
-
Create a SAX exception which also understands about the location in the digester file where the exception occurs
- createSAXException(Exception) - Method in class org.apache.commons.digester3.Digester
-
Create a SAX exception which also understands about the location in the digester file where the exception occurs
- createSAXException(String) - Method in class org.apache.commons.digester3.Digester
-
Create a SAX exception which also understands about the location in the digester file where the exception occurs
- creationFactory - Variable in class org.apache.commons.digester3.FactoryCreateRule
-
The object creation factory we will use to instantiate objects as required based on the attributes specified in
the matched XML element.
- CreationRule - Annotation Type in org.apache.commons.digester3.annotations.rules
-
Marks a Digester rule as a creation rule, that's crucial for the
setNext
rule.
- currTextSegment - Variable in class org.apache.commons.digester3.examples.api.documentmarkup.MarkupDigester
-
The text found in the current element since the last child element.
D
- Declaration - Class in org.apache.commons.digester3.plugins
-
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.
- Declaration(String) - Constructor for class org.apache.commons.digester3.plugins.Declaration
-
Constructor.
- Declaration(Class<?>) - Constructor for class org.apache.commons.digester3.plugins.Declaration
-
Constructor.
- Declaration(Class<?>, RuleLoader) - Constructor for class org.apache.commons.digester3.plugins.Declaration
-
Create an instance where a fully-initialised ruleLoader instance is provided by the caller instead of having the
PluginManager "discover" an appropriate one.
- declarePlugin() - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
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.
- declarePlugin(Digester, Properties) - Static method in class org.apache.commons.digester3.plugins.PluginDeclarationRule
-
Helper method to declare a plugin inside the given Digester.
- description - Variable in class org.apache.commons.digester3.rss.Channel
-
The channel description (1-500 characters).
- description - Variable in class org.apache.commons.digester3.rss.Image
-
The image description (1-100 characters).
- description - Variable in class org.apache.commons.digester3.rss.Item
-
The item description (1-500 characters).
- description - Variable in class org.apache.commons.digester3.rss.TextInput
-
The text input description (1-100 characters).
- Digester - Class in org.apache.commons.digester3
-
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.
- Digester() - Constructor for class org.apache.commons.digester3.Digester
-
Construct a new Digester with default properties.
- Digester(SAXParser) - Constructor for class org.apache.commons.digester3.Digester
-
Construct a new Digester, allowing a SAXParser to be passed in.
- Digester(XMLReader) - Constructor for class org.apache.commons.digester3.Digester
-
Construct a new Digester, allowing an XMLReader to be passed in.
- digester - Variable in class org.apache.commons.digester3.plugins.PluginRules
-
The Digester instance with which this Rules instance is associated.
- DigesterLoader - Class in org.apache.commons.digester3.binder
-
This class manages the creation of Digester instances from digester rules modules.
- DigesterLoadingException - Exception in org.apache.commons.digester3.binder
-
Thrown when errors occur while creating a
Digester
.
- DigesterLoadingException(String, Throwable) - Constructor for exception org.apache.commons.digester3.binder.DigesterLoadingException
-
Constructs a new exception with the specified detail message and cause.
- DigesterLoadingException(String) - Constructor for exception org.apache.commons.digester3.binder.DigesterLoadingException
-
Constructs a new Digester exception with the specified detail message.
- DigesterLoadingException(Throwable) - Constructor for exception org.apache.commons.digester3.binder.DigesterLoadingException
-
Constructs a new exception with the specified cause.
- DigesterRule - Annotation Type in org.apache.commons.digester3.annotations
-
Meta-annotation that marks an annotation as part of commons-digester.
- DigesterRuleList - Annotation Type in org.apache.commons.digester3.annotations
-
Meta-annotation that marks an annotation as a list of commons-digester annotations.
- doBind(String, String, Method, Class<?>, boolean, RulesBinder) - Method in class org.apache.commons.digester3.annotations.handlers.SetNextHandler
- doBind(String, String, Method, Class<?>, boolean, RulesBinder) - Method in class org.apache.commons.digester3.annotations.handlers.SetRootHandler
- docs - Variable in class org.apache.commons.digester3.rss.Channel
-
The channel description file URL (1-500 characters).
E
- end(String, String) - Method in class org.apache.commons.digester3.AbstractMethodRule
-
This method is called when the end of a matching XML element is encountered.
- end(String, String) - Method in class org.apache.commons.digester3.BeanPropertySetterRule
-
This method is called when the end of a matching XML element is encountered.
- end(String, String) - Method in class org.apache.commons.digester3.CallMethodRule
-
This method is called when the end of a matching XML element is encountered.
- end(String, String) - Method in class org.apache.commons.digester3.CallParamRule
-
This method is called when the end of a matching XML element is encountered.
- end(String, String) - Method in class org.apache.commons.digester3.examples.api.dbinsert.RowInserterRule
-
This method is invoked when the end tag for an xml element representing
a database row is encountered.
- end(String, String) - Method in class org.apache.commons.digester3.FactoryCreateRule
-
This method is called when the end of a matching XML element is encountered.
- end(String, String) - Method in class org.apache.commons.digester3.NodeCreateRule
-
This method is called when the end of a matching XML element is encountered.
- end(String, String) - Method in class org.apache.commons.digester3.ObjectCreateRule
-
This method is called when the end of a matching XML element is encountered.
- end(String, String) - Method in class org.apache.commons.digester3.plugins.PluginCreateRule
-
This method is called when the end of a matching XML element is encountered.
- end(String, String) - Method in class org.apache.commons.digester3.Rule
-
This method is called when the end of a matching XML element is encountered.
- endDocument() - Method in class org.apache.commons.digester3.Digester
- endElement(String, String, String) - Method in class org.apache.commons.digester3.Digester
- endElement(String, String, String) - Method in class org.apache.commons.digester3.examples.api.documentmarkup.MarkupDigester
-
Process notification of the end of an XML element being reached.
- endPrefixMapping(String) - Method in class org.apache.commons.digester3.Digester
- Entry - Class in org.apache.commons.digester3.annotations.atom
-
- Entry() - Constructor for class org.apache.commons.digester3.annotations.atom.Entry
-
- Entry - Class in org.apache.commons.digester3.edsl.atom
-
- Entry() - Constructor for class org.apache.commons.digester3.edsl.atom.Entry
-
- error(SAXParseException) - Method in class org.apache.commons.digester3.Digester
- expand(String) - Method in class org.apache.commons.digester3.substitution.MultiVariableExpander
-
Return the input string with any variables replaced by their corresponding value.
- expand(String, String, Map<String, Object>) - Method in class org.apache.commons.digester3.substitution.MultiVariableExpander
-
Replace any occurrences within the string of the form "marker{key}" with the value from source[key].
- expand(String) - Method in interface org.apache.commons.digester3.substitution.VariableExpander
-
Return the input string with any variables replaced by their corresponding value.
- ExtendedBaseRules - Class in org.apache.commons.digester3
-
Extension of
RulesBase
for complex schema.
- ExtendedBaseRules() - Constructor for class org.apache.commons.digester3.ExtendedBaseRules
-
- extractingValueFromAttribute(String) - Method in class org.apache.commons.digester3.binder.SetPropertyBuilder
-
Set the name of the attribute that will contain the value to which the property should be set.
- extractPropertyNameFromAttribute(String) - Method in class org.apache.commons.digester3.binder.BeanPropertySetterBuilder
-
Sets the attribute name from which the property name has to be extracted.
F
- FactoryCreate - Annotation Type in org.apache.commons.digester3.annotations.rules
-
Classes annotated with
FactoryCreate
will be bound with FactoryCreateRule
digester rule.
- factoryCreate() - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
Uses an
ObjectCreationFactory
to create a new object which it
pushes onto the object stack.
- FactoryCreate.DefaultObjectCreationFactory - Class in org.apache.commons.digester3.annotations.rules
-
Dummy ObjectCreationFactory type - only for annotation value type purposes.
- FactoryCreate.DefaultObjectCreationFactory() - Constructor for class org.apache.commons.digester3.annotations.rules.FactoryCreate.DefaultObjectCreationFactory
-
- FactoryCreate.List - Annotation Type in org.apache.commons.digester3.annotations.rules
-
Defines several
@FactoryCreate
annotations on the same element.
- FactoryCreateBuilder - Class in org.apache.commons.digester3.binder
-
Builder chained when invoking
LinkedRuleBuilder.factoryCreate()
.
- FactoryCreateHandler - Class in org.apache.commons.digester3.annotations.handlers
-
FactoryCreate
handler.
- FactoryCreateHandler() - Constructor for class org.apache.commons.digester3.annotations.handlers.FactoryCreateHandler
-
- FactoryCreateRule - Class in org.apache.commons.digester3
-
Rule implementation that uses an
ObjectCreationFactory
to create a new object which it pushes onto the object
stack.
- FactoryCreateRule(String) - Constructor for class org.apache.commons.digester3.FactoryCreateRule
-
Construct a factory create rule that will use the specified class name to create an
ObjectCreationFactory
which will then be used to create an object and push it on the stack.
- FactoryCreateRule(Class<? extends ObjectCreationFactory<?>>) - Constructor for class org.apache.commons.digester3.FactoryCreateRule
-
Construct a factory create rule that will use the specified class to create an
ObjectCreationFactory
which will then be used to create an object and push it on the stack.
- FactoryCreateRule(String, String) - Constructor for class org.apache.commons.digester3.FactoryCreateRule
-
Construct a factory create rule that will use the specified class name (possibly overridden by the specified
attribute if present) to create an
ObjectCreationFactory
, which will then be used to instantiate an
object instance and push it onto the stack.
- FactoryCreateRule(Class<? extends ObjectCreationFactory<?>>, String) - Constructor for class org.apache.commons.digester3.FactoryCreateRule
-
Construct a factory create rule that will use the specified class (possibly overridden by the specified attribute
if present) to create an
ObjectCreationFactory
, which will then be used to instantiate an object instance
and push it onto the stack.
- FactoryCreateRule(ObjectCreationFactory<?>) - Constructor for class org.apache.commons.digester3.FactoryCreateRule
-
Construct a factory create rule using the given, already instantiated,
ObjectCreationFactory
.
- FactoryCreateRule(String, boolean) - Constructor for class org.apache.commons.digester3.FactoryCreateRule
-
Construct a factory create rule that will use the specified class name to create an
ObjectCreationFactory
which will then be used to create an object and push it on the stack.
- FactoryCreateRule(Class<? extends ObjectCreationFactory<?>>, boolean) - Constructor for class org.apache.commons.digester3.FactoryCreateRule
-
Construct a factory create rule that will use the specified class to create an
ObjectCreationFactory
which will then be used to create an object and push it on the stack.
- FactoryCreateRule(String, String, boolean) - Constructor for class org.apache.commons.digester3.FactoryCreateRule
-
Construct a factory create rule that will use the specified class name (possibly overridden by the specified
attribute if present) to create an
ObjectCreationFactory
, which will then be used to instantiate an
object instance and push it onto the stack.
- FactoryCreateRule(Class<? extends ObjectCreationFactory<?>>, String, boolean) - Constructor for class org.apache.commons.digester3.FactoryCreateRule
-
Construct a factory create rule that will use the specified class (possibly overridden by the specified attribute
if present) to create an
ObjectCreationFactory
, which will then be used to instantiate an object instance
and push it onto the stack.
- FactoryCreateRule(ObjectCreationFactory<?>, boolean) - Constructor for class org.apache.commons.digester3.FactoryCreateRule
-
Construct a factory create rule using the given, already instantiated,
ObjectCreationFactory
.
- fatalError(SAXParseException) - Method in class org.apache.commons.digester3.Digester
- Feed - Class in org.apache.commons.digester3.annotations.atom
-
- Feed() - Constructor for class org.apache.commons.digester3.annotations.atom.Feed
-
- Feed - Class in org.apache.commons.digester3.edsl.atom
-
- Feed() - Constructor for class org.apache.commons.digester3.edsl.atom.Feed
-
- FinderFromClass - Class in org.apache.commons.digester3.plugins.strategies
-
A rule-finding algorithm which expects the caller to specify a classname and methodname as plugin properties.
- FinderFromClass() - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromClass
-
- FinderFromClass(String, String, String) - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromClass
-
Create a rule-finder which invokes a user-specified method on a user-specified class whenever dynamic rules for a
plugin need to be loaded.
- FinderFromDfltClass - Class in org.apache.commons.digester3.plugins.strategies
-
A rule-finding algorithm which looks for a method with a specific name on a class whose name is derived from the
plugin class name.
- FinderFromDfltClass() - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromDfltClass
-
- FinderFromDfltClass(String, String) - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromDfltClass
-
Create a rule-finder which invokes a method on a class whenever dynamic rules for a plugin need to be loaded.
- FinderFromDfltMethod - Class in org.apache.commons.digester3.plugins.strategies
-
A rule-finding algorithm which looks for a method with a specific name on the plugin class.
- FinderFromDfltMethod() - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromDfltMethod
-
- FinderFromDfltMethod(String) - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromDfltMethod
-
Create a rule-finder which invokes a specific method on the plugin class whenever dynamic rules for a plugin need
to be loaded.
- FinderFromDfltResource - Class in org.apache.commons.digester3.plugins.strategies
-
A rule-finding algorithm which looks for a resource file in the classpath whose name is derived from the plugin class
name plus a specified suffix.
- FinderFromDfltResource() - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromDfltResource
-
- FinderFromDfltResource(String) - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromDfltResource
-
Create a rule-finder which can load an xmlrules file, cache the rules away, and later add them as a plugin's
custom rules when that plugin is referenced.
- FinderFromFile - Class in org.apache.commons.digester3.plugins.strategies
-
A rule-finding algorithm which expects the user to specify an absolute or relative path in the plugin declaration.
- FinderFromFile() - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromFile
-
- FinderFromFile(String) - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromFile
-
- FinderFromMethod - Class in org.apache.commons.digester3.plugins.strategies
-
A rule-finding algorithm which expects the caller to specify a methodname as a plugin property, where the method
exists on the plugin class.
- FinderFromMethod() - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromMethod
-
Constructor.
- FinderFromMethod(String) - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromMethod
-
- FinderFromResource - Class in org.apache.commons.digester3.plugins.strategies
-
A rule-finding algorithm which expects the user to specify a resource name (ie a file in the classpath).
- FinderFromResource() - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromResource
-
Constructor.
- FinderFromResource(String) - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderFromResource
-
- FinderSetProperties - Class in org.apache.commons.digester3.plugins.strategies
-
A rule-finding algorithm which expects the user to specify whether "automatic property setting" is desired.
- FinderSetProperties() - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderSetProperties
-
- FinderSetProperties(String, String) - Constructor for class org.apache.commons.digester3.plugins.strategies.FinderSetProperties
-
Create a rule-finder which will arrange for a SetPropertiesRule to be defined for each instance of a plugin, so
that xml attributes map to bean properties.
- findItems() - Method in class org.apache.commons.digester3.rss.Channel
-
Return the items for this channel.
- findLoader(Digester, String, Class<?>, Properties) - Method in class org.apache.commons.digester3.plugins.PluginManager
-
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).
- findLoader(Digester, Class<?>, Properties) - Method in class org.apache.commons.digester3.plugins.RuleFinder
-
Apply the finder algorithm to attempt to locate a source of digester rules for the specified plugin class.
- findLoader(Digester, Class<?>, Properties) - Method in class org.apache.commons.digester3.plugins.strategies.FinderFromClass
-
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.
- findLoader(Digester, Class<?>, Properties) - Method in class org.apache.commons.digester3.plugins.strategies.FinderFromDfltClass
-
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.
- findLoader(Digester, Class<?>, Properties) - Method in class org.apache.commons.digester3.plugins.strategies.FinderFromDfltMethod
-
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.
- findLoader(Digester, Class<?>, Properties) - Method in class org.apache.commons.digester3.plugins.strategies.FinderFromDfltResource
-
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.
- findLoader(Digester, Class<?>, Properties) - Method in class org.apache.commons.digester3.plugins.strategies.FinderFromFile
-
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.
- findLoader(Digester, Class<?>, Properties) - Method in class org.apache.commons.digester3.plugins.strategies.FinderFromMethod
-
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.
- findLoader(Digester, Class<?>, Properties) - Method in class org.apache.commons.digester3.plugins.strategies.FinderFromResource
-
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.
- findLoader(Digester, Class<?>, Properties) - Method in class org.apache.commons.digester3.plugins.strategies.FinderSetProperties
-
Returns a RuleLoader unless the properties contain an entry with the name matching constructor param
propsAttr, and the value matching what is in falseval.
- findNamespaceURI(String) - Method in class org.apache.commons.digester3.Digester
-
Return the currently mapped namespace URI for the specified prefix, if any; otherwise return
null
.
- findSkipDays() - Method in class org.apache.commons.digester3.rss.Channel
-
Return the skip days for this channel.
- findSkipHours() - Method in class org.apache.commons.digester3.rss.Channel
-
Return the skip hours for this channel.
- finish() - Method in class org.apache.commons.digester3.BeanPropertySetterRule
-
This method is called after all parsing methods have been called, to allow Rules to remove temporary data.
- finish() - Method in class org.apache.commons.digester3.CallMethodRule
-
This method is called after all parsing methods have been called, to allow Rules to remove temporary data.
- finish() - Method in class org.apache.commons.digester3.FactoryCreateRule
-
This method is called after all parsing methods have been called, to allow Rules to remove temporary data.
- finish() - Method in class org.apache.commons.digester3.Rule
-
This method is called after all parsing methods have been called, to allow Rules to remove temporary data.
- fireBeginMethods(List<Rule>, String, String, Attributes) - Method in class org.apache.commons.digester3.plugins.PluginCreateRule
-
Duplicate the processing that the Digester does when firing the begin methods of rules.
- fireEndMethods(List<Rule>, String, String) - Method in class org.apache.commons.digester3.plugins.PluginCreateRule
-
Duplicate the processing that the Digester does when firing the end methods of rules.
- fireOnBegin - Variable in class org.apache.commons.digester3.AbstractMethodRule
-
Should this rule be invoked when
AbstractMethodRule.begin(String, String, Attributes)
(true)
or AbstractMethodRule.end(String, String)
(false) methods are invoked, false by default.
- fireOnBegin(boolean) - Method in class org.apache.commons.digester3.binder.AbstractParamTypeBuilder
-
Marks the rule be invoked when
begin
or end
events match.
- forPattern(String) - Method in class org.apache.commons.digester3.binder.AbstractNamespaceURIBasedRulesModule
-
Allows user binding one or more Digester rules to the input pattern.
- forPattern(String) - Method in class org.apache.commons.digester3.binder.AbstractRulesModule
-
Allows user binding one or more Digester rules to the input pattern.
- forPattern(String) - Method in interface org.apache.commons.digester3.binder.RulesBinder
-
Allows to associate the given pattern to one or more Digester rules.
- forProperty(String) - Method in class org.apache.commons.digester3.binder.AddAliasBuilder
-
Allows expressing the input property name alias.
- FromAnnotationsRuleModule - Class in org.apache.commons.digester3.annotations
-
RulesModule
implementation that allows loading rules from
annotated classes.
- FromAnnotationsRuleModule() - Constructor for class org.apache.commons.digester3.annotations.FromAnnotationsRuleModule
-
- fromAttribute(String) - Method in class org.apache.commons.digester3.binder.CallParamBuilder
-
Sets the attribute from which to save the parameter value.
- fromStack(boolean) - Method in class org.apache.commons.digester3.binder.CallParamBuilder
-
Flags the parameter to be set from the stack.
- fromStack - Variable in class org.apache.commons.digester3.CallParamRule
-
Is the parameter to be set from the stack?
- FromXmlRulesModule - Class in org.apache.commons.digester3.xmlrules
-
RulesModule
implementation that allows loading rules from
XML files.
- FromXmlRulesModule() - Constructor for class org.apache.commons.digester3.xmlrules.FromXmlRulesModule
-
G
- get() - Method in interface org.apache.commons.digester3.binder.RuleProvider
-
Provides an instance of
Rule
.
- getAllowUnknownChildElements() - Method in class org.apache.commons.digester3.SetNestedPropertiesRule
-
Return the flag to ignore any child element for which there is no corresponding object property
- getAnnotation(Class<T>) - Method in class org.apache.commons.digester3.annotations.reflect.MethodArgument
- getAnnotationNamespaceURI(Annotation) - Static method in class org.apache.commons.digester3.annotations.utils.AnnotationUtils
-
Extract the
namespaceURI()
from annotation.
- getAnnotationPattern(Annotation) - Static method in class org.apache.commons.digester3.annotations.utils.AnnotationUtils
-
Extract the
pattern()
from annotation.
- getAnnotations() - Method in class org.apache.commons.digester3.annotations.reflect.MethodArgument
- getAnnotationsArrayValue(Annotation) - Static method in class org.apache.commons.digester3.annotations.utils.AnnotationUtils
-
Extract the Annotations array
value()
from annotation if present, nul otherwise.
- getAnnotationValue(Annotation) - Static method in class org.apache.commons.digester3.annotations.utils.AnnotationUtils
-
Extract the
value()
from annotation.
- getAuthors() - Method in class org.apache.commons.digester3.annotations.atom.Feed
-
- getAuthors() - Method in class org.apache.commons.digester3.edsl.atom.Feed
-
- getBodyText() - Method in class org.apache.commons.digester3.BeanPropertySetterRule
-
Returns the body text used to set the property.
- getCause() - Method in exception org.apache.commons.digester3.plugins.PluginException
-
- getChannelClass() - Method in class org.apache.commons.digester3.rss.RSSDigester
-
- getChild() - Method in class org.apache.commons.digester3.AbstractMethodRule
-
Returns the argument object of method has to be invoked.
- getChild() - Method in class org.apache.commons.digester3.SetNextRule
-
Returns the argument object of method has to be invoked.
- getChild() - Method in class org.apache.commons.digester3.SetRootRule
-
Returns the argument object of method has to be invoked.
- getChild() - Method in class org.apache.commons.digester3.SetTopRule
-
Returns the argument object of method has to be invoked.
- getCity() - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
Returns the value of city.
- getCity() - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
Returns the value of city.
- getClassLoader() - Method in class org.apache.commons.digester3.Digester
-
Return the class loader to be used for instantiating application objects when required.
- getColumns() - Method in class org.apache.commons.digester3.examples.api.dbinsert.Row
-
- getContent() - Method in class org.apache.commons.digester3.annotations.atom.Entry
-
- getContent() - Method in class org.apache.commons.digester3.edsl.atom.Entry
-
- getContextClassLoader() - Method in interface org.apache.commons.digester3.binder.RulesBinder
-
Returns the context
ClassLoader
.
- getCopyright() - Method in class org.apache.commons.digester3.rss.Channel
-
- getCount() - Method in class org.apache.commons.digester3.Digester
-
Return the current depth of the element stack.
- getCountry() - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
Returns the value of country.
- getCountry() - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
Returns the value of country.
- getCurrentElementName() - Method in class org.apache.commons.digester3.Digester
-
Return the name of the XML element that is currently being processed.
- getCurrentNamespaces() - Method in class org.apache.commons.digester3.Digester
-
Get the most current namespaces for all prefixes.
- getCustomContentHandler() - Method in class org.apache.commons.digester3.Digester
-
returns the custom SAX ContentHandler where events are redirected.
- getDeclarationByClass(String) - Method in class org.apache.commons.digester3.plugins.PluginManager
-
Return the declaration object with the specified class.
- getDeclarationById(String) - Method in class org.apache.commons.digester3.plugins.PluginManager
-
Return the declaration object with the specified id.
- getDeclaredAnnotations() - Method in class org.apache.commons.digester3.annotations.reflect.MethodArgument
- getDefaults() - Method in class org.apache.commons.digester3.WithDefaultsRulesWrapper
-
Gets Rule's which will be fired when the wrapped implementation returns no matches
- getDescription() - Method in class org.apache.commons.digester3.rss.Channel
-
- getDescription() - Method in class org.apache.commons.digester3.rss.Image
-
- getDescription() - Method in class org.apache.commons.digester3.rss.Item
-
- getDescription() - Method in class org.apache.commons.digester3.rss.TextInput
-
- getDigester() - Method in class org.apache.commons.digester3.AbstractObjectCreationFactory
-
Returns the
Digester
that was set by the FactoryCreateRule
upon initialization.
- getDigester() - Method in class org.apache.commons.digester3.AbstractRulesImpl
-
Return the Digester instance with which this Rules instance is associated.
- getDigester() - Method in interface org.apache.commons.digester3.ObjectCreationFactory
-
Returns the
Digester
that was set by the FactoryCreateRule
upon initialization.
- getDigester() - Method in class org.apache.commons.digester3.plugins.PluginRules
-
Return the Digester instance with which this instance is associated.
- getDigester() - Method in class org.apache.commons.digester3.Rule
-
Return the Digester with which this Rule is associated.
- getDigester() - Method in interface org.apache.commons.digester3.Rules
-
Return the Digester instance with which this Rules instance is associated.
- getDigester() - Method in class org.apache.commons.digester3.WithDefaultsRulesWrapper
-
Return the Digester instance with which this Rules instance is associated.
- getDocs() - Method in class org.apache.commons.digester3.rss.Channel
-
- getDocumentLocator() - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Gets the document locator associated with our parser.
- getDocumentLocator() - Method in class org.apache.commons.digester3.Digester
-
Gets the document locator associated with our parser.
- getEntityResolver() - Method in class org.apache.commons.digester3.Digester
-
Return the Entity Resolver used by the SAX parser.
- getEntries() - Method in class org.apache.commons.digester3.annotations.atom.Feed
-
- getEntries() - Method in class org.apache.commons.digester3.edsl.atom.Feed
-
- getErrorHandler() - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Return the error handler for this Digester.
- getErrorHandler() - Method in class org.apache.commons.digester3.Digester
-
Return the error handler for this Digester.
- getExecutorService() - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Returns the executor service used to run asynchronous parse method.
- getExecutorService() - Method in class org.apache.commons.digester3.Digester
-
Returns the executor service used to run asynchronous parse method.
- getFactory() - Method in class org.apache.commons.digester3.Digester
-
Return the SAXParserFactory we will use, creating one if necessary.
- getFactory(Attributes) - Method in class org.apache.commons.digester3.FactoryCreateRule
-
Return an instance of our associated object creation factory, creating one if necessary.
- getFeature(String) - Method in class org.apache.commons.digester3.Digester
-
Returns a flag indicating whether the requested feature is supported by the underlying implementation of
org.xml.sax.XMLReader
.
- getFireOnBegin(Annotation) - Static method in class org.apache.commons.digester3.annotations.utils.AnnotationUtils
-
Extract the
fireOnBegin()
from annotation.
- getHeight() - Method in class org.apache.commons.digester3.rss.Image
-
- getId() - Method in class org.apache.commons.digester3.annotations.atom.Entry
-
- getId() - Method in class org.apache.commons.digester3.annotations.atom.Feed
-
- getId() - Method in class org.apache.commons.digester3.edsl.atom.Entry
-
- getId() - Method in class org.apache.commons.digester3.edsl.atom.Feed
-
- getId() - Method in class org.apache.commons.digester3.plugins.Declaration
-
Return the id associated with this declaration.
- getImage() - Method in class org.apache.commons.digester3.rss.Channel
-
- getImageClass() - Method in class org.apache.commons.digester3.rss.RSSDigester
-
- getIndex() - Method in class org.apache.commons.digester3.annotations.reflect.MethodArgument
-
Returns the method argument index.
- getIndex(String) - Method in class org.apache.commons.digester3.substitution.VariableAttributes
- getIndex(String, String) - Method in class org.apache.commons.digester3.substitution.VariableAttributes
- getItemClass() - Method in class org.apache.commons.digester3.rss.RSSDigester
-
- getItems() - Method in class org.apache.commons.digester3.rss.Channel
-
Return the items for this channel.
- getLanguage() - Method in class org.apache.commons.digester3.rss.Channel
-
- getLastBuildDate() - Method in class org.apache.commons.digester3.rss.Channel
-
- getLength() - Method in class org.apache.commons.digester3.substitution.VariableAttributes
- getLink() - Method in class org.apache.commons.digester3.annotations.atom.Entry
-
- getLink() - Method in class org.apache.commons.digester3.annotations.atom.Feed
-
- getLink() - Method in class org.apache.commons.digester3.edsl.atom.Entry
-
- getLink() - Method in class org.apache.commons.digester3.edsl.atom.Feed
-
- getLink() - Method in class org.apache.commons.digester3.rss.Channel
-
- getLink() - Method in class org.apache.commons.digester3.rss.Image
-
- getLink() - Method in class org.apache.commons.digester3.rss.Item
-
- getLink() - Method in class org.apache.commons.digester3.rss.TextInput
-
- getLocalName(int) - Method in class org.apache.commons.digester3.substitution.VariableAttributes
- getLog() - Method in class org.apache.commons.digester3.SimpleRegexMatcher
-
Gets the
Log
implementation.
- getLogger() - Method in class org.apache.commons.digester3.Digester
-
Return the current Logger associated with this instance of the Digester
- getManagingEditor() - Method in class org.apache.commons.digester3.rss.Channel
-
- getMatch() - Method in class org.apache.commons.digester3.Digester
-
Return the current rule match path
- getMatches() - Method in class org.apache.commons.digester3.Digester
-
Return a Stack whose elements are List objects, each containing a list of
Rule objects as returned from Rules.getMatch().
- getName() - Method in class org.apache.commons.digester3.examples.api.dbinsert.Row.Column
-
- getName() - Method in class org.apache.commons.digester3.examples.api.dbinsert.Table
-
- getName() - Method in class org.apache.commons.digester3.rss.TextInput
-
- getNamespaceAware() - Method in class org.apache.commons.digester3.Digester
-
Return the "namespace aware" flag for parsers we create.
- getNamespaceURI() - Method in class org.apache.commons.digester3.AbstractRulesImpl
-
Return the namespace URI that will be applied to all subsequently added
Rule
objects.
- getNamespaceURI() - Method in class org.apache.commons.digester3.plugins.PluginRules
-
Return the namespace URI that will be applied to all subsequently added
Rule
objects.
- getNamespaceURI() - Method in class org.apache.commons.digester3.Rule
-
Return the namespace URI for which this Rule is relevant, if any.
- getNamespaceURI() - Method in interface org.apache.commons.digester3.Rules
-
Return the namespace URI that will be applied to all subsequently added
Rule
objects.
- getNamespaceURI() - Method in interface org.apache.commons.digester3.RuleSet
-
Return the namespace URI that will be applied to all Rule instances created from this RuleSet.
- getNamespaceURI() - Method in class org.apache.commons.digester3.RuleSetBase
-
Return the namespace URI that will be applied to all Rule instances created from this RuleSet.
- getNamespaceURI() - Method in class org.apache.commons.digester3.WithDefaultsRulesWrapper
-
Return the namespace URI that will be applied to all subsequently added
Rule
objects.
- getParameterType() - Method in class org.apache.commons.digester3.annotations.reflect.MethodArgument
-
Returns the method argument type.
- getParent() - Method in class org.apache.commons.digester3.AbstractMethodRule
-
Returns the target object of method has to be invoked.
- getParent() - Method in class org.apache.commons.digester3.plugins.PluginRules
-
Return the parent Rules object.
- getParent() - Method in class org.apache.commons.digester3.SetNextRule
-
Returns the target object of method has to be invoked.
- getParent() - Method in class org.apache.commons.digester3.SetRootRule
-
Returns the target object of method has to be invoked.
- getParent() - Method in class org.apache.commons.digester3.SetTopRule
-
Returns the target object of method has to be invoked.
- getParser() - Method in class org.apache.commons.digester3.Digester
-
Return the SAXParser we will use to parse the input stream.
- getPattern() - Method in class org.apache.commons.digester3.plugins.PluginCreateRule
-
Return the pattern that this Rule is associated with.
- getPluginClass() - Method in class org.apache.commons.digester3.plugins.Declaration
-
Return plugin class associated with this declaration.
- getPluginClassAttr() - Method in class org.apache.commons.digester3.plugins.PluginContext
-
Get the namespace for the xml attribute which indicates to a PluginCreateRule which class is to be plugged in.
- getPluginClassAttr() - Method in class org.apache.commons.digester3.plugins.PluginRules
-
- getPluginClassAttrNs() - Method in class org.apache.commons.digester3.plugins.PluginContext
-
Get the namespace for the xml attribute which indicates to a PluginCreateRule which class is to be plugged in.
- getPluginClassAttrNs() - Method in class org.apache.commons.digester3.plugins.PluginRules
-
- getPluginIdAttr() - Method in class org.apache.commons.digester3.plugins.PluginContext
-
Get the namespace for the xml attribute which indicates to a PluginCreateRule which previous plugin declaration
should be used.
- getPluginIdAttr() - Method in class org.apache.commons.digester3.plugins.PluginRules
-
- getPluginIdAttrNs() - Method in class org.apache.commons.digester3.plugins.PluginContext
-
Get the namespace for the xml attribute which indicates to a PluginCreateRule which previous plugin declaration
should be used.
- getPluginIdAttrNs() - Method in class org.apache.commons.digester3.plugins.PluginRules
-
- getPluginManager() - Method in class org.apache.commons.digester3.plugins.PluginRules
-
Return the object which "knows" about all declared plugins.
- getProperty(String) - Method in class org.apache.commons.digester3.Digester
-
Return the current value of the specified property for the underlying
XMLReader
implementation.
- getPropertyName() - Method in class org.apache.commons.digester3.BeanPropertySetterRule
-
Returns the property name associated to this setter rule.
- getPubDate() - Method in class org.apache.commons.digester3.rss.Channel
-
- getPublicId() - Method in class org.apache.commons.digester3.Digester
-
Return the public identifier of the DTD we are currently parsing under, if any.
- getQName(int) - Method in class org.apache.commons.digester3.substitution.VariableAttributes
- getRating() - Method in class org.apache.commons.digester3.rss.Channel
-
- getRegexMatcher() - Method in class org.apache.commons.digester3.RegexRules
-
Gets the current regex matching strategy.
- getRegistrations() - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Return the set of DTD URL registrations, keyed by public identifier.
- getRoot() - Method in class org.apache.commons.digester3.Digester
-
Returns the root element of the tree of objects created as a result of applying the rule objects to the input
XML.
- getRuleFinders() - Method in class org.apache.commons.digester3.plugins.PluginContext
-
Return the list of RuleFinder objects.
- getRuleFinders() - Method in class org.apache.commons.digester3.plugins.PluginRules
-
- getRuleNamespaceURI() - Method in class org.apache.commons.digester3.Digester
-
Return the namespace URI that will be applied to all subsequently added
Rule
objects.
- getRules() - Method in class org.apache.commons.digester3.Digester
-
Return the
Rules
implementation object containing our rules collection and associated matching
policy.
- getRulesFactory() - Method in class org.apache.commons.digester3.plugins.PluginRules
-
Return the rules factory object (or null if one has not been specified).
- getSAXLogger() - Method in class org.apache.commons.digester3.Digester
-
Gets the logger used for logging SAX-related information.
- getSkipDays() - Method in class org.apache.commons.digester3.rss.Channel
-
Return the skip days for this channel.
- getSkipHours() - Method in class org.apache.commons.digester3.rss.Channel
-
Return the skip hours for this channel.
- getStackAction() - Method in class org.apache.commons.digester3.Digester
-
Return the callback object which is invoked whenever an object is pushed onto a digester object stack,
or popped off one.
- getState() - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
Returns the value of state.
- getState() - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
Returns the value of state.
- getStreet() - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
Returns the value of street.
- getStreet() - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
Returns the value of street.
- getSubstitutor() - Method in class org.apache.commons.digester3.Digester
-
Gets the
Substitutor
used to convert attributes and body text.
- getSystemIds() - Method in class org.apache.commons.digester3.xmlrules.FromXmlRulesModule
-
Returns the XML source SystemIds load by this module.
- getTextInput() - Method in class org.apache.commons.digester3.rss.Channel
-
- getTextInputClass() - Method in class org.apache.commons.digester3.rss.RSSDigester
-
- getTitle() - Method in class org.apache.commons.digester3.annotations.atom.Entry
-
- getTitle() - Method in class org.apache.commons.digester3.annotations.atom.Feed
-
- getTitle() - Method in class org.apache.commons.digester3.edsl.atom.Entry
-
- getTitle() - Method in class org.apache.commons.digester3.edsl.atom.Feed
-
- getTitle() - Method in class org.apache.commons.digester3.rss.Channel
-
- getTitle() - Method in class org.apache.commons.digester3.rss.Image
-
- getTitle() - Method in class org.apache.commons.digester3.rss.Item
-
- getTitle() - Method in class org.apache.commons.digester3.rss.TextInput
-
- getTrimData() - Method in class org.apache.commons.digester3.SetNestedPropertiesRule
-
Return the flag to have leading and trailing whitespace removed.
- getType() - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
Returns the value of type.
- getType() - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
Returns the value of type.
- getType(int) - Method in class org.apache.commons.digester3.substitution.VariableAttributes
- getType(String) - Method in class org.apache.commons.digester3.substitution.VariableAttributes
- getType(String, String) - Method in class org.apache.commons.digester3.substitution.VariableAttributes
- getUpdated() - Method in class org.apache.commons.digester3.annotations.atom.Entry
-
- getUpdated() - Method in class org.apache.commons.digester3.annotations.atom.Feed
-
- getUpdated() - Method in class org.apache.commons.digester3.edsl.atom.Entry
-
- getUpdated() - Method in class org.apache.commons.digester3.edsl.atom.Feed
-
- getURI(int) - Method in class org.apache.commons.digester3.substitution.VariableAttributes
- getURL() - Method in class org.apache.commons.digester3.rss.Image
-
- getUseContextClassLoader() - Method in class org.apache.commons.digester3.Digester
-
Return the boolean as to whether the context ClassLoader should be used.
- getUseExactMatch() - Method in class org.apache.commons.digester3.CallMethodRule
-
Should
MethodUtils.invokeExactMethod
be used for the reflection.
- getValidating() - Method in class org.apache.commons.digester3.Digester
-
Return the validating parser flag.
- getValue() - Method in class org.apache.commons.digester3.examples.api.dbinsert.Row.Column
-
- getValue(int) - Method in class org.apache.commons.digester3.substitution.VariableAttributes
- getValue(String) - Method in class org.apache.commons.digester3.substitution.VariableAttributes
- getValue(String, String) - Method in class org.apache.commons.digester3.substitution.VariableAttributes
- getVersion() - Method in class org.apache.commons.digester3.rss.Channel
-
- getWebMaster() - Method in class org.apache.commons.digester3.rss.Channel
-
- getWidth() - Method in class org.apache.commons.digester3.rss.Image
-
- getXIncludeAware() - Method in class org.apache.commons.digester3.Digester
-
Return the XInclude-aware flag for parsers we create.
- getXMLReader() - Method in class org.apache.commons.digester3.Digester
-
Return the XMLReader to be used for parsing the input document.
- getXMLSchema() - Method in class org.apache.commons.digester3.Digester
-
Return the XML Schema used when parsing.
- getZip() - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
Returns the value of zip.
- getZip() - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
Returns the value of zip.
H
- handle(A, E, RulesBinder) - Method in interface org.apache.commons.digester3.annotations.AnnotationHandler
-
Handles the current visited element with the related current annotation.
- handle(BeanPropertySetter, Field, RulesBinder) - Method in class org.apache.commons.digester3.annotations.handlers.BeanPropertySetterHandler
-
Handles the current visited element with the related current annotation.
- handle(CallMethod, Method, RulesBinder) - Method in class org.apache.commons.digester3.annotations.handlers.CallMethodHandler
-
Handles the current visited element with the related current annotation.
- handle(CallParam, MethodArgument, RulesBinder) - Method in class org.apache.commons.digester3.annotations.handlers.CallParamHandler
-
Handles the current visited element with the related current annotation.
- handle(FactoryCreate, Class<?>, RulesBinder) - Method in class org.apache.commons.digester3.annotations.handlers.FactoryCreateHandler
-
Handles the current visited element with the related current annotation.
- handle(ObjectCreate, AnnotatedElement, RulesBinder) - Method in class org.apache.commons.digester3.annotations.handlers.ObjectCreateHandler
-
Handles the current visited element with the related current annotation.
- handle(PathCallParam, MethodArgument, RulesBinder) - Method in class org.apache.commons.digester3.annotations.handlers.PathCallParamHandler
-
Handles the current visited element with the related current annotation.
- handle(SetProperty, Field, RulesBinder) - Method in class org.apache.commons.digester3.annotations.handlers.SetPropertiesHandler
-
Handles the current visited element with the related current annotation.
- handle(SetTop, Method, RulesBinder) - Method in class org.apache.commons.digester3.annotations.handlers.SetTopHandler
-
Handles the current visited element with the related current annotation.
- height - Variable in class org.apache.commons.digester3.rss.Image
-
The image height in pixels (1-400).
I
- ignorableWhitespace(char[], int, int) - Method in class org.apache.commons.digester3.Digester
- ignoreAttribute(String) - Method in class org.apache.commons.digester3.binder.SetPropertiesBuilder
-
Add an attribute name to the ignore list.
- ignoreCreateExceptions(boolean) - Method in class org.apache.commons.digester3.binder.FactoryCreateBuilder
-
Exceptions thrown by the object creation factory will be ignored or not.
- ignoreElement(String) - Method in class org.apache.commons.digester3.binder.NestedPropertiesBuilder
-
Allows ignore a matching element.
- ignoreMissingProperty(boolean) - Method in class org.apache.commons.digester3.binder.SetPropertiesBuilder
-
Sets whether attributes found in the XML without matching properties should be ignored.
- image - Variable in class org.apache.commons.digester3.rss.Channel
-
The image describing this channel.
- Image - Class in org.apache.commons.digester3.rss
-
Implementation object representing an image in the
Rich Site Summary DTD, version 0.91.
- Image() - Constructor for class org.apache.commons.digester3.rss.Image
-
- imageClass - Variable in class org.apache.commons.digester3.rss.RSSDigester
-
The fully qualified class name of the
Image
implementation class.
- init(Digester, PluginManager) - Method in class org.apache.commons.digester3.plugins.Declaration
-
Must be called exactly once, and must be called before any call to the configure method.
- init(Attributes, VariableExpander) - Method in class org.apache.commons.digester3.substitution.VariableAttributes
-
Specify which attributes class this object is a proxy for.
- InitializableRule - Interface in org.apache.commons.digester3.plugins
-
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.
- initialize() - Method in class org.apache.commons.digester3.Digester
-
Provides a hook for lazy initialization of this
Digester
instance.
- inputSources - Variable in class org.apache.commons.digester3.Digester
-
List
of InputSource
instances created by a createInputSourceFromURL()
method call.
- install(RulesModule) - Method in class org.apache.commons.digester3.binder.AbstractRulesModule
-
Uses the given module to configure more bindings.
- install(RulesModule) - Method in interface org.apache.commons.digester3.binder.RulesBinder
-
Allows sub-modules inclusion while binding rules.
- isAnnotationPresent(Class<? extends Annotation>) - Method in class org.apache.commons.digester3.annotations.reflect.MethodArgument
- isConfigured() - Method in class org.apache.commons.digester3.Digester
-
Checks the Digester instance has been configured.
- isEmpty(String) - Method in class org.apache.commons.digester3.Digester
-
Is the stack with the given name empty?
- isExactMatch() - Method in class org.apache.commons.digester3.AbstractMethodRule
-
Is exact matching being used.
- isFireOnBegin() - Method in class org.apache.commons.digester3.AbstractMethodRule
-
Returns the flag this rule be invoked when
AbstractMethodRule.begin(String, String, Attributes)
(true)
or AbstractMethodRule.end(String, String)
(false) methods are invoked, false by default.
- isIgnoreMissingProperty() - Method in class org.apache.commons.digester3.SetPropertiesRule
-
Are attributes found in the xml without matching properties to be ignored?
- isNamespaceAware() - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Return the "namespace aware" flag for parsers we create.
- isValidating() - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Return the
DOCTYPE
validation parser flag.
- isXIncludeAware() - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Return the XInclude-aware flag for parsers we create;
- Item - Interface in org.apache.commons.digester3.examples.api.catalog
-
See Main.java.
- Item - Class in org.apache.commons.digester3.rss
-
Implementation object representing an item in the
Rich Site Summary DTD, version 0.91.
- Item() - Constructor for class org.apache.commons.digester3.rss.Item
-
- itemClass - Variable in class org.apache.commons.digester3.rss.RSSDigester
-
The fully qualified class name of the
Item
implementation class.
- items - Variable in class org.apache.commons.digester3.rss.Channel
-
The set of items associated with this Channel.
L
- language - Variable in class org.apache.commons.digester3.rss.Channel
-
The channel language (2-5 characters).
- lastBuildDate - Variable in class org.apache.commons.digester3.rss.Channel
-
The channel last build date (1-100 characters).
- link - Variable in class org.apache.commons.digester3.rss.Channel
-
The channel link (1-500 characters).
- link - Variable in class org.apache.commons.digester3.rss.Image
-
The image link (1-500 characters).
- link - Variable in class org.apache.commons.digester3.rss.Item
-
The item link (1-500 characters).
- link - Variable in class org.apache.commons.digester3.rss.TextInput
-
The text input link (1-500 characters).
- LinkedRuleBuilder - Class in org.apache.commons.digester3.binder
-
Builder invoked to bind one or more rules to a pattern.
- LoaderFromClass - Class in org.apache.commons.digester3.plugins.strategies
-
A RuleLoader which invokes a static method on a target class, leaving that method to actually instantiate and add new
rules to a Digester instance.
- LoaderFromClass(Class<?>, Method) - Constructor for class org.apache.commons.digester3.plugins.strategies.LoaderFromClass
-
Constructor.
- LoaderFromClass(Class<?>, String) - Constructor for class org.apache.commons.digester3.plugins.strategies.LoaderFromClass
-
Constructor.
- LoaderFromStream - Class in org.apache.commons.digester3.plugins.strategies
-
A rule-finding algorithm which loads an xmlplugins-format file.
- LoaderFromStream(InputStream) - Constructor for class org.apache.commons.digester3.plugins.strategies.LoaderFromStream
-
The contents of the input stream are loaded into memory, and cached for later use.
- LoaderSetProperties - Class in org.apache.commons.digester3.plugins.strategies
-
A RuleLoader which creates a single SetPropertiesRule and adds it to the digester when its addRules() method is
invoked.
- LoaderSetProperties() - Constructor for class org.apache.commons.digester3.plugins.strategies.LoaderSetProperties
-
- loadRules(Digester, Class<?>, InputStream, String) - Static method in class org.apache.commons.digester3.plugins.strategies.FinderFromResource
-
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.
- loadRules() - Method in class org.apache.commons.digester3.xmlrules.FromXmlRulesModule
-
- loadXMLRules(InputSource) - Method in class org.apache.commons.digester3.xmlrules.FromXmlRulesModule
-
Reads the XML rules from the given
org.xml.sax.InputSource
.
- loadXMLRules(InputStream) - Method in class org.apache.commons.digester3.xmlrules.FromXmlRulesModule
-
Opens a new
org.xml.sax.InputSource
given a java.io.InputStream
.
- loadXMLRules(Reader) - Method in class org.apache.commons.digester3.xmlrules.FromXmlRulesModule
-
Opens a new
org.xml.sax.InputSource
given a java.io.Reader
.
- loadXMLRules(File) - Method in class org.apache.commons.digester3.xmlrules.FromXmlRulesModule
-
Opens a new
org.xml.sax.InputSource
given a java.io.File
.
- loadXMLRules(String) - Method in class org.apache.commons.digester3.xmlrules.FromXmlRulesModule
-
Opens a new
org.xml.sax.InputSource
given a URI in String representation.
- loadXMLRules(URL) - Method in class org.apache.commons.digester3.xmlrules.FromXmlRulesModule
-
Opens a new
org.xml.sax.InputSource
given a java.net.URL
.
- loadXMLRulesFromText(String) - Method in class org.apache.commons.digester3.xmlrules.FromXmlRulesModule
-
Opens a new
org.xml.sax.InputSource
given an XML document in textual form.
- locateMethod(Class<?>, String) - Static method in class org.apache.commons.digester3.plugins.strategies.LoaderFromClass
-
Find a method on the specified class whose name matches methodName, and whose signature is:
public static void foo(Digester d, String patternPrefix);
.
- lookup(String, String) - Method in class org.apache.commons.digester3.RulesBase
-
Return a List of Rule instances for the specified pattern that also match the specified namespace URI (if any).
M
- Main - Class in org.apache.commons.digester3.annotations.atom
-
- Main() - Constructor for class org.apache.commons.digester3.annotations.atom.Main
-
- main(String[]) - Static method in class org.apache.commons.digester3.annotations.atom.Main
-
- Main - Class in org.apache.commons.digester3.edsl.atom
-
- Main() - Constructor for class org.apache.commons.digester3.edsl.atom.Main
-
- main(String[]) - Static method in class org.apache.commons.digester3.edsl.atom.Main
-
- Main - Class in org.apache.commons.digester3.examples.api.addressbook
-
A simple program to demonstrate the basic functionality of the
Commons Digester module.
- Main() - Constructor for class org.apache.commons.digester3.examples.api.addressbook.Main
-
- main(String[]) - Static method in class org.apache.commons.digester3.examples.api.addressbook.Main
-
Main method : entry point for running this example program.
- Main - Class in org.apache.commons.digester3.examples.api.catalog
-
A simple program to demonstrate some of the functionality of the
Commons Digester module.
- Main() - Constructor for class org.apache.commons.digester3.examples.api.catalog.Main
-
- main(String[]) - Static method in class org.apache.commons.digester3.examples.api.catalog.Main
-
Main method : entry point for running this example program.
- Main - Class in org.apache.commons.digester3.examples.api.dbinsert
-
A simple program to demonstrate that the Commons Digester module can be
used to trigger actions as the xml is parsed, rather than just build
up in-memory representations of the parsed data.
- Main() - Constructor for class org.apache.commons.digester3.examples.api.dbinsert.Main
-
- main(String[]) - Static method in class org.apache.commons.digester3.examples.api.dbinsert.Main
-
Main method : entry point for running this example program.
- Main - Class in org.apache.commons.digester3.examples.api.documentmarkup
-
A simple "test harness" which demonstrates how the MarkupDigester class
(plus the supporting interface/rule classes) can process "document-markup"
style xml data.
- Main() - Constructor for class org.apache.commons.digester3.examples.api.documentmarkup.Main
-
- main(String[]) - Static method in class org.apache.commons.digester3.examples.api.documentmarkup.Main
-
See the run method.
- main(String[]) - Static method in class org.apache.commons.digester3.examples.plugins.pipeline.Pipeline
-
- Main - Class in org.apache.commons.digester3.examples.xmlrules.addressbook
-
A simple program to demonstrate the basic functionality of the
Commons Digester module with the xmlrules extension.
- Main() - Constructor for class org.apache.commons.digester3.examples.xmlrules.addressbook.Main
-
- main(String[]) - Static method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Main
-
Main method : entry point for running this example program.
- main(String[]) - Static method in class org.apache.commons.digester3.rss.RSSDigester
-
Test main program that parses the channel description included in this
package as a static resource.
- managingEditor - Variable in class org.apache.commons.digester3.rss.Channel
-
The managing editor (1-100 characters).
- MarkupDigester - Class in org.apache.commons.digester3.examples.api.documentmarkup
-
This is a subclass of digester which supports rules which implement
the TextSegmentHandler interface, causing the "textSegment" method
on each matching rule (of the appropriate type) to be invoked when
an element contains a segment of text followed by a child element.
- MarkupDigester() - Constructor for class org.apache.commons.digester3.examples.api.documentmarkup.MarkupDigester
-
See equivalent constructor in Digester class.
- MarkupDigester(SAXParser) - Constructor for class org.apache.commons.digester3.examples.api.documentmarkup.MarkupDigester
-
See equivalent constructor in Digester class.
- MarkupDigester(XMLReader) - Constructor for class org.apache.commons.digester3.examples.api.documentmarkup.MarkupDigester
-
See equivalent constructor in Digester class.
- match(String, String, String, Attributes) - Method in class org.apache.commons.digester3.ExtendedBaseRules
-
Return a List of all registered Rule instances that match the specified nesting pattern, or a zero-length List if
there are no matches.
- match(String, String, String, Attributes) - Method in class org.apache.commons.digester3.plugins.PluginRules
-
Return a List of all registered Rule instances that match the specified nesting pattern, or a zero-length List if
there are no matches.
- match(String, String) - Method in class org.apache.commons.digester3.RegexMatcher
-
Returns true if the given pattern matches the given path according to the regex algorithm that this strategy
applies.
- match(String, String, String, Attributes) - Method in class org.apache.commons.digester3.RegexRules
-
Return a List of all registered Rule instances that match the specified nesting pattern, or a zero-length List if
there are no matches.
- match(String, String, String, Attributes) - Method in interface org.apache.commons.digester3.RuleMatcher
-
Use the specified parameter to perform a test.
- match(String, String, String, Attributes) - Method in interface org.apache.commons.digester3.Rules
-
Return a List of all registered Rule instances that match the specified nesting pattern, or a zero-length List if
there are no matches.
- match(String, String, String, Attributes) - Method in class org.apache.commons.digester3.RulesBase
-
Return a List of all registered Rule instances that match the specified nesting pattern, or a zero-length List if
there are no matches.
- match(String, String) - Method in class org.apache.commons.digester3.SimpleRegexMatcher
-
Returns true if the given pattern matches the given path according to the regex algorithm that this strategy
applies.
- match(String, String, String, Attributes) - Method in class org.apache.commons.digester3.WithDefaultsRulesWrapper
-
Return a List of all registered Rule instances that match the specified nesting pattern, or a zero-length List if
there are no matches.
- matchingAttribute(String) - Method in class org.apache.commons.digester3.binder.ObjectParamBuilder
-
The attribute which we are attempting to match.
- MethodArgument - Class in org.apache.commons.digester3.annotations.reflect
-
Class to supply the missing Java
AnnotatedElement
for method arguments.
- MethodArgument(int, Class<?>, Annotation[]) - Constructor for class org.apache.commons.digester3.annotations.reflect.MethodArgument
-
Creates a new method argument as
AnnotatedElement
.
- methodName - Variable in class org.apache.commons.digester3.AbstractMethodRule
-
The method name to call on the parent object.
- methodName - Variable in class org.apache.commons.digester3.CallMethodRule
-
The method name to call on the parent object.
- methodName - Variable in class org.apache.commons.digester3.examples.api.documentmarkup.SetTextSegmentRule
-
The method name to call on the parent object.
- MultiVariableExpander - Class in org.apache.commons.digester3.substitution
-
Expands variable references from multiple sources.
- MultiVariableExpander() - Constructor for class org.apache.commons.digester3.substitution.MultiVariableExpander
-
N
- name - Variable in class org.apache.commons.digester3.rss.TextInput
-
The text input field name (1-100 characters).
- name - Variable in class org.apache.commons.digester3.SetPropertyRule
-
The attribute that will contain the property name.
- NestedPropertiesBuilder - Class in org.apache.commons.digester3.binder
-
Builder chained when invoking
LinkedRuleBuilder.setNestedProperties()
.
- newDigester() - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
- newDigester(Rules) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
- newDigester(SAXParser) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
- newDigester(SAXParser, Rules) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
- newDigester(XMLReader) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
- newDigester(XMLReader, Rules) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
- newInstance(Class<H>) - Method in interface org.apache.commons.digester3.annotations.AnnotationHandlerFactory
-
Return an instance of the specified type.
- newLoader(RulesModule...) - Static method in class org.apache.commons.digester3.binder.DigesterLoader
-
Creates a new
DigesterLoader
instance given one or more RulesModule
instance.
- newLoader(Iterable<RulesModule>) - Static method in class org.apache.commons.digester3.binder.DigesterLoader
-
Creates a new
DigesterLoader
instance given a collection of RulesModule
instance.
- newRules(Digester, Class<?>) - Method in class org.apache.commons.digester3.plugins.RulesFactory
-
Return an instance of some Rules implementation that the plugged-in class shall use to match its private parsing
rules.
- NodeCreateRule - Class in org.apache.commons.digester3
-
A rule implementation that creates a DOM
Node
containing the XML at the element that matched
the rule.
- NodeCreateRule() - Constructor for class org.apache.commons.digester3.NodeCreateRule
-
Default constructor.
- NodeCreateRule(DocumentBuilder) - Constructor for class org.apache.commons.digester3.NodeCreateRule
-
Constructor.
- NodeCreateRule(int) - Constructor for class org.apache.commons.digester3.NodeCreateRule
-
Constructor.
- NodeCreateRule(int, DocumentBuilder) - Constructor for class org.apache.commons.digester3.NodeCreateRule
-
Constructor.
- NodeCreateRuleProvider - Class in org.apache.commons.digester3.binder
-
Builder chained when invoking
LinkedRuleBuilder.createNode()
.
- NodeCreateRuleProvider.NodeType - Enum in org.apache.commons.digester3.binder
-
Enumeration that wraps admitted
Node
node constants.
- notationDecl(String, String, String) - Method in class org.apache.commons.digester3.Digester
O
- ObjectCreate - Annotation Type in org.apache.commons.digester3.annotations.rules
-
Classes annotated with
ObjectCreate
will be bound with ObjectCreateRule
digester rule.
- ObjectCreate.List - Annotation Type in org.apache.commons.digester3.annotations.rules
-
Defines several
@ObjectCreate
annotations on the same element.
- ObjectCreateBuilder - Class in org.apache.commons.digester3.binder
-
Builder chained when invoking
LinkedRuleBuilder.createObject()
.
- ObjectCreateHandler - Class in org.apache.commons.digester3.annotations.handlers
-
ObjectCreateHandler
handler.
- ObjectCreateHandler() - Constructor for class org.apache.commons.digester3.annotations.handlers.ObjectCreateHandler
-
- ObjectCreateRule - Class in org.apache.commons.digester3
-
Rule implementation that creates a new object and pushes it onto the object stack.
- ObjectCreateRule(String) - Constructor for class org.apache.commons.digester3.ObjectCreateRule
-
Construct an object create rule with the specified class name.
- ObjectCreateRule(Class<?>) - Constructor for class org.apache.commons.digester3.ObjectCreateRule
-
Construct an object create rule with the specified class.
- ObjectCreateRule(String, String) - Constructor for class org.apache.commons.digester3.ObjectCreateRule
-
Construct an object create rule with the specified class name and an optional attribute name containing an
override.
- ObjectCreateRule(String, Class<?>) - Constructor for class org.apache.commons.digester3.ObjectCreateRule
-
Construct an object create rule with the specified class and an optional attribute name containing an override.
- ObjectCreationFactory<T> - Interface in org.apache.commons.digester3
-
Interface for use with
FactoryCreateRule
.
- objectParam(T) - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
Saves a parameter for use by a surrounding
LinkedRuleBuilder.callMethod(String)
.
- ObjectParamBuilder<T> - Class in org.apache.commons.digester3.binder
-
Builder chained when invoking
LinkedRuleBuilder.objectParam(Object)
.
- ObjectParamRule - Class in org.apache.commons.digester3
-
Rule implementation that saves a parameter for use by a surrounding
CallMethodRule.
- ObjectParamRule(int, Object) - Constructor for class org.apache.commons.digester3.ObjectParamRule
-
Construct a "call parameter" rule that will save the given Object as the parameter value.
- ObjectParamRule(int, String, Object) - Constructor for class org.apache.commons.digester3.ObjectParamRule
-
Construct a "call parameter" rule that will save the given Object as the parameter value, provided that the
specified attribute exists.
- ofIndex(int) - Method in class org.apache.commons.digester3.binder.CallParamBuilder
-
Sets the zero-relative parameter number.
- ofIndex(int) - Method in class org.apache.commons.digester3.binder.ObjectParamBuilder
-
The zero-relative index of the parameter we are saving.
- ofIndex(int) - Method in class org.apache.commons.digester3.binder.PathCallParamBuilder
-
Sets the zero-relative parameter number.
- ofType(String) - Method in class org.apache.commons.digester3.binder.FactoryCreateBuilder
-
Construct a factory create rule that will use the specified class name to create an
ObjectCreationFactory
which will then be used to create an object and push it on the stack.
- ofType(Class<? extends ObjectCreationFactory<?>>) - Method in class org.apache.commons.digester3.binder.FactoryCreateBuilder
-
Construct a factory create rule that will use the specified class to create an
ObjectCreationFactory
which will then be used to create an object and push it on the stack.
- ofType(NodeCreateRuleProvider.NodeType) - Method in class org.apache.commons.digester3.binder.NodeCreateRuleProvider
-
NodeCreateRule
instance will be created either a DOM Element
or a DOM DocumentFragment
, depending on the value of the
nodeType
parameter.
- ofType(String) - Method in class org.apache.commons.digester3.binder.ObjectCreateBuilder
-
Construct an object with the specified class name.
- ofType(Class<T>) - Method in class org.apache.commons.digester3.binder.ObjectCreateBuilder
-
Construct an object with the specified class.
- ofType(Class<T>) - Method in class org.apache.commons.digester3.binder.PluginCreateRuleBuilder
-
Set the class which any specified plugin must be descended from.
- ofTypeSpecifiedByAttribute(String) - Method in class org.apache.commons.digester3.binder.ObjectCreateBuilder
-
Allows specify the attribute containing an override class name if it is present.
- onPop(Digester, String, T) - Method in interface org.apache.commons.digester3.StackAction
-
Invoked just after an object has been popped from a digester stack.
- onPush(Digester, String, T) - Method in interface org.apache.commons.digester3.StackAction
-
Invoked just before an object is to be pushed onto a digester stack.
- org.apache.commons.digester3 - package org.apache.commons.digester3
-
The
xmlrules
package provides for XML-based definition of
rules for Digester
.
- org.apache.commons.digester3.annotations - package org.apache.commons.digester3.annotations
-
The
annotations
package provides for Java5 Annotations
meta data-based definition of rules for Digester
.
- org.apache.commons.digester3.annotations.atom - package org.apache.commons.digester3.annotations.atom
-
- org.apache.commons.digester3.annotations.handlers - package org.apache.commons.digester3.annotations.handlers
-
The
handlers
package contains
AnnotationHandler
implementations.
- org.apache.commons.digester3.annotations.reflect - package org.apache.commons.digester3.annotations.reflect
-
The
reflect
package supply missing JVM classes to alow user
manipulate entities as AnnotatedElement
.
- org.apache.commons.digester3.annotations.rules - package org.apache.commons.digester3.annotations.rules
-
Classes contained in this package are annotations that reflect Digester rules.
- org.apache.commons.digester3.annotations.utils - package org.apache.commons.digester3.annotations.utils
-
Contains commons utilities classes for Java5 Annotations manipulation.
- org.apache.commons.digester3.binder - package org.apache.commons.digester3.binder
-
The Digester EDSL allows configure Digester using fluent APIs.
- org.apache.commons.digester3.edsl.atom - package org.apache.commons.digester3.edsl.atom
-
- org.apache.commons.digester3.examples.api.addressbook - package org.apache.commons.digester3.examples.api.addressbook
-
- org.apache.commons.digester3.examples.api.catalog - package org.apache.commons.digester3.examples.api.catalog
-
- org.apache.commons.digester3.examples.api.dbinsert - package org.apache.commons.digester3.examples.api.dbinsert
-
- org.apache.commons.digester3.examples.api.documentmarkup - package org.apache.commons.digester3.examples.api.documentmarkup
-
- org.apache.commons.digester3.examples.plugins.pipeline - package org.apache.commons.digester3.examples.plugins.pipeline
-
- org.apache.commons.digester3.examples.xmlrules.addressbook - package org.apache.commons.digester3.examples.xmlrules.addressbook
-
- org.apache.commons.digester3.plugins - package org.apache.commons.digester3.plugins
-
The
plugins
package provides an easy mechanism whereby new
digestion rules can be added dynamically during a digestion.
- org.apache.commons.digester3.plugins.strategies - package org.apache.commons.digester3.plugins.strategies
-
The
plugins.strategies
package contains "rule-finding" strategy
classes, and their associated "helper" loader classes.
- org.apache.commons.digester3.rss - package org.apache.commons.digester3.rss
-
Example usage of Digester to parse XML documents compatible with the
Rich Site Summary format used by many newsfeeds.
- org.apache.commons.digester3.substitution - package org.apache.commons.digester3.substitution
-
The
substitution
provides for manipulation of xml attributes and
element body text before the data is processed by any Rule objects.
- org.apache.commons.digester3.xmlrules - package org.apache.commons.digester3.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.
- overriddenByAttribute(String) - Method in class org.apache.commons.digester3.binder.FactoryCreateBuilder
-
Allows specify the attribute containing an override class name if it is present.
P
- param - Variable in class org.apache.commons.digester3.ObjectParamRule
-
The parameter we wish to pass to the method call
- paramCount - Variable in class org.apache.commons.digester3.CallMethodRule
-
The number of parameters to collect from
MethodParam
rules.
- paramIndex - Variable in class org.apache.commons.digester3.CallParamRule
-
The zero-relative index of the parameter we are saving.
- paramIndex - Variable in class org.apache.commons.digester3.ObjectParamRule
-
The zero-relative index of the parameter we are saving.
- paramIndex - Variable in class org.apache.commons.digester3.PathCallParamRule
-
The zero-relative index of the parameter we are saving.
- paramType - Variable in class org.apache.commons.digester3.AbstractMethodRule
-
The Java class name of the parameter type expected by the method.
- paramTypeName - Variable in class org.apache.commons.digester3.AbstractMethodRule
-
The Java class name of the parameter type expected by the method.
- paramTypes - Variable in class org.apache.commons.digester3.CallMethodRule
-
The parameter types of the parameters to be collected.
- parse(File) - Method in class org.apache.commons.digester3.Digester
-
Parse the content of the specified file using this Digester.
- parse(InputSource) - Method in class org.apache.commons.digester3.Digester
-
Parse the content of the specified input source using this Digester.
- parse(InputStream) - Method in class org.apache.commons.digester3.Digester
-
Parse the content of the specified input stream using this Digester.
- parse(Reader) - Method in class org.apache.commons.digester3.Digester
-
Parse the content of the specified reader using this Digester.
- parse(String) - Method in class org.apache.commons.digester3.Digester
-
Parse the content of the specified URI using this Digester.
- parse(URL) - Method in class org.apache.commons.digester3.Digester
-
Parse the content of the specified URL using this Digester.
- parse(File) - Method in class org.apache.commons.digester3.rss.RSSDigester
-
Parse the content of the specified file using this Digester.
- parse(InputSource) - Method in class org.apache.commons.digester3.rss.RSSDigester
-
Parse the content of the specified input source using this Digester.
- parse(InputStream) - Method in class org.apache.commons.digester3.rss.RSSDigester
-
Parse the content of the specified input stream using this Digester.
- parse(String) - Method in class org.apache.commons.digester3.rss.RSSDigester
-
Parse the content of the specified URI using this Digester.
- PathCallParam - Annotation Type in org.apache.commons.digester3.annotations.rules
-
Methods arguments annotated with
PathCallParam
will be bound with PathCallParamRule
digester rule.
- PathCallParam.List - Annotation Type in org.apache.commons.digester3.annotations.rules
-
Defines several
@PathCallParam
annotations on the same element.
- PathCallParamBuilder - Class in org.apache.commons.digester3.binder
-
Builder chained when invoking
LinkedRuleBuilder.callParamPath()
.
- PathCallParamHandler - Class in org.apache.commons.digester3.annotations.handlers
-
PathCallParam
handler.
- PathCallParamHandler() - Constructor for class org.apache.commons.digester3.annotations.handlers.PathCallParamHandler
-
- PathCallParamRule - Class in org.apache.commons.digester3
-
Rule implementation that saves a parameter containing the
Digester
matching path for use by a
surrounding CallMethodRule
.
- PathCallParamRule(int) - Constructor for class org.apache.commons.digester3.PathCallParamRule
-
Construct a "call parameter" rule that will save the body text of this element as the parameter value.
- peek() - Method in class org.apache.commons.digester3.Digester
-
Return the top object on the stack without removing it.
- peek(int) - Method in class org.apache.commons.digester3.Digester
-
Return the n'th object down the stack, where 0 is the top element and [getCount()-1] is the bottom element.
- peek(String) - Method in class org.apache.commons.digester3.Digester
-
Gets the top object from the stack with the given name.
- peek(String, int) - Method in class org.apache.commons.digester3.Digester
-
Gets the top object from the stack with the given name.
- peekParams() - Method in class org.apache.commons.digester3.Digester
-
Return the top object on the parameters stack without removing it.
- peekParams(int) - Method in class org.apache.commons.digester3.Digester
-
Return the n'th object down the parameters stack, where 0 is the top element and [getCount()-1] is the bottom
element.
- Person - Class in org.apache.commons.digester3.examples.api.addressbook
-
See Main.java.
- Person() - Constructor for class org.apache.commons.digester3.examples.api.addressbook.Person
-
- Person - Class in org.apache.commons.digester3.examples.xmlrules.addressbook
-
See Main.java.
- Person() - Constructor for class org.apache.commons.digester3.examples.xmlrules.addressbook.Person
-
- Pipeline - Class in org.apache.commons.digester3.examples.plugins.pipeline
-
This is the "main" class for this example.
- Pipeline() - Constructor for class org.apache.commons.digester3.examples.plugins.pipeline.Pipeline
-
- PluginAssertionFailure - Exception in org.apache.commons.digester3.plugins
-
Thrown when a bug is detected in the plugins code.
- PluginAssertionFailure(Throwable) - Constructor for exception org.apache.commons.digester3.plugins.PluginAssertionFailure
-
Constructs a new exception with the specified cause.
- PluginAssertionFailure(String) - Constructor for exception org.apache.commons.digester3.plugins.PluginAssertionFailure
-
Constructs a new exception with the specified detail message.
- PluginAssertionFailure(String, Throwable) - Constructor for exception org.apache.commons.digester3.plugins.PluginAssertionFailure
-
Constructs a new exception with the specified detail message and cause.
- PluginConfigurationException - Exception in org.apache.commons.digester3.plugins
-
Thrown when an error occurs due to the way the calling application uses the plugins module.
- PluginConfigurationException(Throwable) - Constructor for exception org.apache.commons.digester3.plugins.PluginConfigurationException
-
Constructs a new exception with the specified cause.
- PluginConfigurationException(String) - Constructor for exception org.apache.commons.digester3.plugins.PluginConfigurationException
-
Constructs a new exception with the specified detail message.
- PluginConfigurationException(String, Throwable) - Constructor for exception org.apache.commons.digester3.plugins.PluginConfigurationException
-
Constructs a new exception with the specified detail message and cause.
- PluginContext - Class in org.apache.commons.digester3.plugins
-
Provides data and services which should exist only once per digester.
- PluginContext() - Constructor for class org.apache.commons.digester3.plugins.PluginContext
-
- PluginCreateRule - Class in org.apache.commons.digester3.plugins
-
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.
- PluginCreateRule(Class<?>) - Constructor for class org.apache.commons.digester3.plugins.PluginCreateRule
-
Create a plugin rule where the user must specify a plugin-class or plugin-id.
- PluginCreateRule(Class<?>, Class<?>) - Constructor for class org.apache.commons.digester3.plugins.PluginCreateRule
-
Create a plugin rule where the user may specify a plugin.
- PluginCreateRule(Class<?>, Class<?>, RuleLoader) - Constructor for class org.apache.commons.digester3.plugins.PluginCreateRule
-
Create a plugin rule where the user may specify a plugin.
- PluginCreateRuleBuilder - Class in org.apache.commons.digester3.binder
-
Builder chained when invoking
LinkedRuleBuilder.createPlugin()
.
- PluginDeclarationRule - Class in org.apache.commons.digester3.plugins
-
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.
- PluginDeclarationRule() - Constructor for class org.apache.commons.digester3.plugins.PluginDeclarationRule
-
constructor
- PluginDeclarationRuleBuilder - Class in org.apache.commons.digester3.binder
-
Builder chained when invoking
LinkedRuleBuilder.declarePlugin()
.
- PluginException - Exception in org.apache.commons.digester3.plugins
-
Thrown when some plugin-related error has occurred, and none of the other exception types are appropriate.
- PluginException(Throwable) - Constructor for exception org.apache.commons.digester3.plugins.PluginException
-
- PluginException(String) - Constructor for exception org.apache.commons.digester3.plugins.PluginException
-
- PluginException(String, Throwable) - Constructor for exception org.apache.commons.digester3.plugins.PluginException
-
- PluginInvalidInputException - Exception in org.apache.commons.digester3.plugins
-
Thrown when an error occurs due to bad data in the file being parsed.
- PluginInvalidInputException(Throwable) - Constructor for exception org.apache.commons.digester3.plugins.PluginInvalidInputException
-
Constructs a new exception with the specified cause.
- PluginInvalidInputException(String) - Constructor for exception org.apache.commons.digester3.plugins.PluginInvalidInputException
-
Constructs a new exception with the specified detail message.
- PluginInvalidInputException(String, Throwable) - Constructor for exception org.apache.commons.digester3.plugins.PluginInvalidInputException
-
Constructs a new exception with the specified detail message and cause.
- PluginManager - Class in org.apache.commons.digester3.plugins
-
Coordinates between PluginDeclarationRule and PluginCreateRule objects, providing a place to share data between
instances of these rules.
- PluginManager(PluginContext) - Constructor for class org.apache.commons.digester3.plugins.PluginManager
-
Construct a "root" PluginManager, ie one with no parent.
- PluginManager(PluginManager) - Constructor for class org.apache.commons.digester3.plugins.PluginManager
-
Construct a "child" PluginManager.
- PluginRules - Class in org.apache.commons.digester3.plugins
-
A custom digester Rules manager which must be used as the Rules object when using the plugins module functionality.
- PluginRules() - Constructor for class org.apache.commons.digester3.plugins.PluginRules
-
Constructor for top-level Rules objects.
- PluginRules(Rules) - Constructor for class org.apache.commons.digester3.plugins.PluginRules
-
Constructor for top-level Rules object which handles rule-matching using the specified implementation.
- pop() - Method in class org.apache.commons.digester3.Digester
-
Pop the top object off of the stack, and return it.
- pop(String) - Method in class org.apache.commons.digester3.Digester
-
Pops (gets and removes) the top object from the stack with the given name.
- popParams() - Method in class org.apache.commons.digester3.Digester
-
Pop the top object off of the parameters stack, and return it.
- postRegisterInit(String) - Method in interface org.apache.commons.digester3.plugins.InitializableRule
-
Called after this Rule object has been added to the list of all Rules.
- postRegisterInit(String) - Method in class org.apache.commons.digester3.plugins.PluginCreateRule
-
Called after this Rule object has been added to the list of all Rules.
- print(PrintStream, int) - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
- print() - Method in class org.apache.commons.digester3.examples.api.addressbook.AddressBook
-
- print() - Method in class org.apache.commons.digester3.examples.api.addressbook.Person
-
- print() - Method in class org.apache.commons.digester3.examples.api.catalog.AudioVisual
-
- print() - Method in class org.apache.commons.digester3.examples.api.catalog.Book
-
- print() - Method in class org.apache.commons.digester3.examples.api.catalog.Catalog
-
- print() - Method in interface org.apache.commons.digester3.examples.api.catalog.Item
-
- print(PrintStream, int) - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
- print() - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.AddressBook
-
- print() - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Person
-
- processingInstruction(String, String) - Method in class org.apache.commons.digester3.Digester
- processMethodCallResult(Object) - Method in class org.apache.commons.digester3.CallMethodRule
-
Subclasses may override this method to perform additional processing of the invoked method's result.
- pubDate - Variable in class org.apache.commons.digester3.rss.Channel
-
The channel publication date (1-100 characters).
- push(T) - Method in class org.apache.commons.digester3.Digester
-
Push a new object onto the top of the object stack.
- push(String, T) - Method in class org.apache.commons.digester3.Digester
-
Pushes the given object onto the stack with the given name.
- pushParams(Object...) - Method in class org.apache.commons.digester3.Digester
-
Push a new object onto the top of the parameters stack.
R
- rating - Variable in class org.apache.commons.digester3.rss.Channel
-
The channel rating (20-500 characters).
- RegexMatcher - Class in org.apache.commons.digester3
-
Regular expression matching strategy for RegexRules.
- RegexMatcher() - Constructor for class org.apache.commons.digester3.RegexMatcher
-
- RegexRules - Class in org.apache.commons.digester3
-
Rules implementation that uses regular expression matching for paths.
- RegexRules(RegexMatcher) - Constructor for class org.apache.commons.digester3.RegexRules
-
Construct sets the Regex matching strategy.
- register(String, URL) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Register the specified DTD URL for the specified public identifier.
- register(String, String) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Convenience method that registers the string version of an entity URL
instead of a URL version.
- register(String, URL) - Method in class org.apache.commons.digester3.Digester
-
Register the specified DTD URL for the specified public identifier.
- register(String, String) - Method in class org.apache.commons.digester3.Digester
-
Convenience method that registers the string version of an entity URL instead of a URL version.
- registerAll(Map<String, URL>) - Method in class org.apache.commons.digester3.Digester
-
Convenience method that registers DTD URLs for the specified public identifiers.
- registerRule(String, Rule) - Method in class org.apache.commons.digester3.AbstractRulesImpl
-
Register rule at given pattern.
- registerRule(String, Rule) - Method in class org.apache.commons.digester3.ExtendedBaseRules
-
Register rule at given pattern.
- registerRule(String, Rule) - Method in class org.apache.commons.digester3.RegexRules
-
Register rule at given pattern.
- registerRule(String, Rule) - Method in class org.apache.commons.digester3.RulesBase
-
Register rule at given pattern.
- removeItem(Item) - Method in class org.apache.commons.digester3.rss.Channel
-
Remove an item for this channel.
- removeSkipDay(String) - Method in class org.apache.commons.digester3.rss.Channel
-
Remove a skip day for this channel.
- removeSkipHour(String) - Method in class org.apache.commons.digester3.rss.Channel
-
Remove a skip hour for this channel.
- render(OutputStream) - Method in class org.apache.commons.digester3.rss.Channel
-
Render this channel as XML conforming to the RSS 0.91 specification,
to the specified output stream, with no indication of character
encoding.
- render(OutputStream, String) - Method in class org.apache.commons.digester3.rss.Channel
-
Render this channel as XML conforming to the RSS 0.91 specification,
to the specified output stream, with the specified character encoding.
- render(Writer) - Method in class org.apache.commons.digester3.rss.Channel
-
Render this channel as XML conforming to the RSS 0.91 specification,
to the specified writer, with no indication of character encoding.
- render(Writer, String) - Method in class org.apache.commons.digester3.rss.Channel
-
Render this channel as XML conforming to the RSS 0.91 specification,
to the specified writer, indicating the specified character encoding.
- render(PrintWriter) - Method in class org.apache.commons.digester3.rss.Channel
-
Render this channel as XML conforming to the RSS 0.91 specification,
to the specified writer, with no indication of character encoding.
- render(PrintWriter, String) - Method in class org.apache.commons.digester3.rss.Channel
-
Render this channel as XML conforming to the RSS 0.91 specification,
to the specified writer, indicating the specified character encoding.
- resetRoot() - Method in class org.apache.commons.digester3.Digester
-
This method allows the "root" variable to be reset to null.
- resolveEntity(String, String) - Method in class org.apache.commons.digester3.Digester
- Row - Class in org.apache.commons.digester3.examples.api.dbinsert
-
See Main.java.
- Row() - Constructor for class org.apache.commons.digester3.examples.api.dbinsert.Row
-
- Row.Column - Class in org.apache.commons.digester3.examples.api.dbinsert
-
Alas, we can't just use a Map to store the (name, value) pairs
because the output will look weird if we don't preserve the column
order.
- Row.Column(String, String) - Constructor for class org.apache.commons.digester3.examples.api.dbinsert.Row.Column
-
- RowInserterRule - Class in org.apache.commons.digester3.examples.api.dbinsert
-
See Main.java.
- RowInserterRule(Connection) - Constructor for class org.apache.commons.digester3.examples.api.dbinsert.RowInserterRule
-
- RSSDigester - Class in org.apache.commons.digester3.rss
-
Implementation of org.apache.commons.digester3.Digester
designed to process input streams that conform to the Rich Site
Summary DTD, version 0.91.
- RSSDigester() - Constructor for class org.apache.commons.digester3.rss.RSSDigester
-
- Rule - Class in org.apache.commons.digester3
-
Concrete implementations of this class implement actions to be taken when a
corresponding nested pattern of XML elements has been matched.
- Rule() - Constructor for class org.apache.commons.digester3.Rule
-
- RuleFinder - Class in org.apache.commons.digester3.plugins
-
Each concrete implementation of RuleFinder is an algorithm for locating a source of digester rules for a plugin.
- RuleFinder() - Constructor for class org.apache.commons.digester3.plugins.RuleFinder
-
- RuleLoader - Class in org.apache.commons.digester3.plugins
-
Interface for classes which can dynamically load custom plugin rules associated with a user's plugin class.
- RuleLoader() - Constructor for class org.apache.commons.digester3.plugins.RuleLoader
-
- RuleMatcher - Interface in org.apache.commons.digester3
-
Defines a functor interface implemented by classes that perform a predicate test
- RuleProvider<R extends Rule> - Interface in org.apache.commons.digester3.binder
-
An object capable of providing instances of
Rule
.
- rules() - Method in class org.apache.commons.digester3.plugins.PluginRules
-
Return the list of rules registered with this object, in the order they were registered with this object.
- rules() - Method in class org.apache.commons.digester3.RegexRules
-
Return a List of all registered Rule instances, or a zero-length List if there are no registered Rule instances.
- Rules - Interface in org.apache.commons.digester3
-
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.
- rules() - Method in interface org.apache.commons.digester3.Rules
-
Return a List of all registered Rule instances, or a zero-length List if there are no registered Rule instances.
- rules - Variable in class org.apache.commons.digester3.RulesBase
-
The set of registered Rule instances, in the order that they were originally registered.
- rules() - Method in class org.apache.commons.digester3.RulesBase
-
Return a List of all registered Rule instances, or a zero-length List if there are no registered Rule instances.
- rules() - Method in class org.apache.commons.digester3.WithDefaultsRulesWrapper
-
Return a List of all registered Rule instances, or a zero-length List if there are no registered Rule instances.
- RulesBase - Class in org.apache.commons.digester3
-
Default implementation of the
Rules
interface that supports the standard rule matching behavior.
- RulesBase() - Constructor for class org.apache.commons.digester3.RulesBase
-
- rulesBinder() - Method in class org.apache.commons.digester3.binder.AbstractRulesModule
-
Return the wrapped
RulesBinder
.
- RulesBinder - Interface in org.apache.commons.digester3.binder
-
The Digester EDSL.
- RuleSet - Interface in org.apache.commons.digester3
-
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.
- RuleSetBase - Class in org.apache.commons.digester3
-
Convenience base class that implements the
RuleSet
interface.
- RuleSetBase() - Constructor for class org.apache.commons.digester3.RuleSetBase
-
Build a new RuleSetBase with a null namespaceURI
- RuleSetBase(String) - Constructor for class org.apache.commons.digester3.RuleSetBase
-
Build a new RuleSetBase with the given namespaceURI
- RulesFactory - Class in org.apache.commons.digester3.plugins
-
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.
- RulesFactory() - Constructor for class org.apache.commons.digester3.plugins.RulesFactory
-
- RulesModule - Interface in org.apache.commons.digester3.binder
-
A module is the Digester rule bindings provider.
- run() - Method in class org.apache.commons.digester3.examples.api.documentmarkup.Main
-
Main method of this test harness.
S
- setAllowUnknownChildElements(boolean) - Method in class org.apache.commons.digester3.SetNestedPropertiesRule
-
Determines whether an error is reported when a nested element is encountered for which there is no corresponding
property-setter method.
- setAttributeName(String) - Method in class org.apache.commons.digester3.CallParamRule
-
Set the attribute from which to save the parameter value.
- setAuthor(String) - Method in class org.apache.commons.digester3.examples.api.catalog.Book
-
- setBeanProperty() - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
Construct rule that automatically sets a property from the body text, taking the property
name the same as the current element.
- setCase(String) - Method in class org.apache.commons.digester3.examples.plugins.pipeline.CaseTransform
-
- setCategory(String) - Method in class org.apache.commons.digester3.examples.api.addressbook.Person
-
- setCategory(String) - Method in class org.apache.commons.digester3.examples.api.catalog.AudioVisual
-
- setCategory(String) - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Person
-
- setChannelClass(String) - Method in class org.apache.commons.digester3.rss.RSSDigester
-
- setCity(String) - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
Sets the value of city.
- setCity(String) - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
Sets the value of city.
- setClassLoader(ClassLoader) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Set the class loader to be used for instantiating application objects when required.
- setClassLoader(ClassLoader) - Method in class org.apache.commons.digester3.Digester
-
Set the class loader to be used for instantiating application objects when required.
- setConstructorArgumentTypes(Class<?>...) - Method in class org.apache.commons.digester3.ObjectCreateRule
-
Allows users to specify constructor argument types.
- setContent(String) - Method in class org.apache.commons.digester3.annotations.atom.Entry
-
- setContent(String) - Method in class org.apache.commons.digester3.edsl.atom.Entry
-
- setCopyright(String) - Method in class org.apache.commons.digester3.rss.Channel
-
- setCountry(String) - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
Sets the value of country.
- setCountry(String) - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
Sets the value of country.
- setCustomContentHandler(ContentHandler) - Method in class org.apache.commons.digester3.Digester
-
Redirects (or cancels redirecting) of SAX ContentHandler events to an external object.
- setDefaultConstructorArguments(Object...) - Method in class org.apache.commons.digester3.ObjectCreateRule
-
Allows users to specify default constructor arguments.
- setDesc(String) - Method in class org.apache.commons.digester3.examples.api.catalog.AudioVisual
-
- setDesc(String) - Method in class org.apache.commons.digester3.examples.api.catalog.Book
-
- setDescription(String) - Method in class org.apache.commons.digester3.rss.Channel
-
- setDescription(String) - Method in class org.apache.commons.digester3.rss.Image
-
- setDescription(String) - Method in class org.apache.commons.digester3.rss.Item
-
- setDescription(String) - Method in class org.apache.commons.digester3.rss.TextInput
-
- setDest(String) - Method in class org.apache.commons.digester3.examples.plugins.pipeline.Pipeline
-
- setDigester(Digester) - Method in class org.apache.commons.digester3.AbstractObjectCreationFactory
-
Set the
Digester
to allow the implementation to do logging, classloading based on the digester's
classloader, etc.
- setDigester(Digester) - Method in class org.apache.commons.digester3.AbstractRulesImpl
-
Set the Digester instance with which this Rules instance is associated.
- setDigester(Digester) - Method in class org.apache.commons.digester3.CallMethodRule
-
Set the
Digester
with which this Rule
is associated.
- setDigester(Digester) - Method in interface org.apache.commons.digester3.ObjectCreationFactory
-
Set the
Digester
to allow the implementation to do logging, classloading based on the digester's
classloader, etc.
- setDigester(Digester) - Method in class org.apache.commons.digester3.plugins.PluginRules
-
Set the Digester instance with which this Rules instance is associated.
- setDigester(Digester) - Method in class org.apache.commons.digester3.Rule
-
Set the
Digester
with which this Rule
is associated.
- setDigester(Digester) - Method in interface org.apache.commons.digester3.Rules
-
Set the Digester instance with which this Rules instance is associated.
- setDigester(Digester) - Method in class org.apache.commons.digester3.RulesBase
-
Set the Digester instance with which this Rules instance is associated.
- setDigester(Digester) - Method in class org.apache.commons.digester3.SetNestedPropertiesRule
-
Set the
Digester
with which this Rule
is associated.
- setDigester(Digester) - Method in class org.apache.commons.digester3.WithDefaultsRulesWrapper
-
Set the Digester instance with which this Rules instance is associated.
- setDocs(String) - Method in class org.apache.commons.digester3.rss.Channel
-
- setDocumentLocator(Locator) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Sets the document locator associated with our parser.
- setDocumentLocator(Locator) - Method in class org.apache.commons.digester3.Digester
- setEntityResolver(EntityResolver) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Set the
EntityResolver
used by SAX when resolving public id and system id.
- setEntityResolver(EntityResolver) - Method in class org.apache.commons.digester3.Digester
-
Set the
EntityResolver
used by SAX when resolving public id and system id.
- setErrorHandler(ErrorHandler) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Set the error handler for this Digester.
- setErrorHandler(ErrorHandler) - Method in class org.apache.commons.digester3.Digester
-
Set the error handler for this Digester.
- setExactMatch(boolean) - Method in class org.apache.commons.digester3.AbstractMethodRule
-
Set whether exact matching is enabled.
- setExecutorService(ExecutorService) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Sets the executor service to run asynchronous parse method.
- setExecutorService(ExecutorService) - Method in class org.apache.commons.digester3.Digester
-
Sets the executor service to run asynchronous parse method.
- setFeature(String, boolean) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Sets a flag indicating whether the requested feature is supported by the underlying implementation of
org.xml.sax.XMLReader
.
- setFeature(String, boolean) - Method in class org.apache.commons.digester3.Digester
-
Sets a flag indicating whether the requested feature is supported by the underlying implementation of
org.xml.sax.XMLReader
.
- setFireOnBegin(boolean) - Method in class org.apache.commons.digester3.AbstractMethodRule
-
Sets this rule be invoked when
AbstractMethodRule.begin(String, String, Attributes)
(true)
or AbstractMethodRule.end(String, String)
(false) methods are invoked, false by default.
- setFrom(String) - Method in class org.apache.commons.digester3.examples.plugins.pipeline.SubstituteTransform
-
- setHeight(int) - Method in class org.apache.commons.digester3.rss.Image
-
- setId(String) - Method in class org.apache.commons.digester3.annotations.atom.Entry
-
- setId(String) - Method in class org.apache.commons.digester3.annotations.atom.Feed
-
- setId(String) - Method in class org.apache.commons.digester3.edsl.atom.Entry
-
- setId(String) - Method in class org.apache.commons.digester3.edsl.atom.Feed
-
- setId(int) - Method in class org.apache.commons.digester3.examples.api.addressbook.Person
-
A unique id for this person.
- setId(int) - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Person
-
A unique id for this person.
- setId(String) - Method in class org.apache.commons.digester3.plugins.Declaration
-
The id that the user associated with a particular plugin declaration in the input xml.
- setIgnoreMissingProperty(boolean) - Method in class org.apache.commons.digester3.SetPropertiesRule
-
Sets whether attributes found in the xml without matching properties should be ignored.
- setImage(Image) - Method in class org.apache.commons.digester3.rss.Channel
-
- setImageClass(String) - Method in class org.apache.commons.digester3.rss.RSSDigester
-
- setItemClass(String) - Method in class org.apache.commons.digester3.rss.RSSDigester
-
- setLanguage(String) - Method in class org.apache.commons.digester3.rss.Channel
-
- setLastBuildDate(String) - Method in class org.apache.commons.digester3.rss.Channel
-
- setLink(URL) - Method in class org.apache.commons.digester3.annotations.atom.Entry
-
- setLink(URL) - Method in class org.apache.commons.digester3.annotations.atom.Feed
-
- setLink(URL) - Method in class org.apache.commons.digester3.edsl.atom.Entry
-
- setLink(URL) - Method in class org.apache.commons.digester3.edsl.atom.Feed
-
- setLink(String) - Method in class org.apache.commons.digester3.rss.Channel
-
- setLink(String) - Method in class org.apache.commons.digester3.rss.Image
-
- setLink(String) - Method in class org.apache.commons.digester3.rss.Item
-
- setLink(String) - Method in class org.apache.commons.digester3.rss.TextInput
-
- setLog(Log) - Method in class org.apache.commons.digester3.SimpleRegexMatcher
-
Sets the current
Log
implementation used by this class.
- setLogger(Log) - Method in class org.apache.commons.digester3.Digester
-
Set the current logger for this Digester.
- setManagingEditor(String) - Method in class org.apache.commons.digester3.rss.Channel
-
- setName(String) - Method in class org.apache.commons.digester3.examples.api.addressbook.Person
-
- setName(String) - Method in class org.apache.commons.digester3.examples.api.catalog.AudioVisual
-
- setName(String) - Method in class org.apache.commons.digester3.examples.api.dbinsert.Table
-
- setName(String) - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Person
-
- setName(String) - Method in class org.apache.commons.digester3.rss.TextInput
-
- setNamespaceAware(boolean) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Set the "namespace aware" flag for parsers we create.
- setNamespaceAware(boolean) - Method in class org.apache.commons.digester3.Digester
-
Set the "namespace aware" flag for parsers we create.
- setNamespaceURI(String) - Method in class org.apache.commons.digester3.AbstractRulesImpl
-
Set the namespace URI that will be applied to all subsequently added
Rule
objects.
- setNamespaceURI(String) - Method in class org.apache.commons.digester3.plugins.PluginRules
-
Set the namespace URI that will be applied to all subsequently added
Rule
objects.
- setNamespaceURI(String) - Method in class org.apache.commons.digester3.Rule
-
Set the namespace URI for which this Rule is relevant, if any.
- setNamespaceURI(String) - Method in interface org.apache.commons.digester3.Rules
-
Set the namespace URI that will be applied to all subsequently added
Rule
objects.
- setNamespaceURI(String) - Method in class org.apache.commons.digester3.WithDefaultsRulesWrapper
-
Set the namespace URI that will be applied to all subsequently added
Rule
objects.
- setNestedProperties() - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
Sets properties on the object at the top of the stack,
based on child elements with names matching properties on that object.
- SetNestedPropertiesRule - Class in org.apache.commons.digester3
-
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.
- SetNestedPropertiesRule() - Constructor for class org.apache.commons.digester3.SetNestedPropertiesRule
-
Base constructor, which maps every child element into a bean property with the same name as the xml element.
- SetNestedPropertiesRule(String, String) - Constructor for class org.apache.commons.digester3.SetNestedPropertiesRule
-
Convenience constructor which overrides the default mappings for just one property.
- SetNestedPropertiesRule(String[], String[]) - Constructor for class org.apache.commons.digester3.SetNestedPropertiesRule
-
Constructor which allows element->property mapping to be overridden.
- SetNestedPropertiesRule(Map<String, String>) - Constructor for class org.apache.commons.digester3.SetNestedPropertiesRule
-
Constructor which allows element->property mapping to be overridden.
- SetNext - Annotation Type in org.apache.commons.digester3.annotations.rules
-
Methods annotated with
SetNext
will be bound with SetNextRule
digester rule.
- setNext(String) - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
Calls a method on the (top-1) (parent) object, passing the top object (child) as an argument,
commonly used to establish parent-child relationships.
- SetNextBuilder - Class in org.apache.commons.digester3.binder
-
Builder chained when invoking
LinkedRuleBuilder.setNext(String)
.
- SetNextHandler - Class in org.apache.commons.digester3.annotations.handlers
-
SetNext
handler.
- SetNextHandler() - Constructor for class org.apache.commons.digester3.annotations.handlers.SetNextHandler
-
- SetNextRule - Class in org.apache.commons.digester3
-
Rule implementation that calls a method on the (top-1) (parent) object, passing the top object (child) as an
argument.
- SetNextRule(String) - Constructor for class org.apache.commons.digester3.SetNextRule
-
Construct a "set next" rule with the specified method name.
- SetNextRule(String, String) - Constructor for class org.apache.commons.digester3.SetNextRule
-
Construct a "set next" rule with the specified method name.
- SetNextRule(String, Class<?>) - Constructor for class org.apache.commons.digester3.SetNextRule
-
Construct a "set next" rule with the specified method name.
- setPluginClassAttribute(String) - Method in class org.apache.commons.digester3.binder.PluginCreateRuleBuilder
-
Sets the xml attribute which the input xml uses to indicate to a
PluginCreateRule which class should be instantiated.
- setPluginClassAttribute(String, String) - Method in class org.apache.commons.digester3.binder.PluginCreateRuleBuilder
-
Sets the xml attribute which the input xml uses to indicate to a
PluginCreateRule which class should be instantiated.
- setPluginClassAttribute(String, String) - Method in class org.apache.commons.digester3.plugins.PluginContext
-
Sets the xml attribute which the input xml uses to indicate to a PluginCreateRule which class should be
instantiated.
- setPluginClassAttribute(String, String) - Method in class org.apache.commons.digester3.plugins.PluginCreateRule
-
Sets the xml attribute which the input xml uses to indicate to a PluginCreateRule which class should be
instantiated.
- setPluginClassAttribute(String, String) - Method in class org.apache.commons.digester3.plugins.PluginRules
-
- setPluginIdAttribute(String) - Method in class org.apache.commons.digester3.binder.PluginCreateRuleBuilder
-
Sets the xml attribute which the input xml uses to indicate to a
PluginCreateRule which plugin declaration is being referenced.
- setPluginIdAttribute(String, String) - Method in class org.apache.commons.digester3.binder.PluginCreateRuleBuilder
-
Sets the xml attribute which the input xml uses to indicate to a
PluginCreateRule which plugin declaration is being referenced.
- setPluginIdAttribute(String, String) - Method in class org.apache.commons.digester3.plugins.PluginContext
-
Sets the xml attribute which the input xml uses to indicate to a PluginCreateRule which plugin declaration is
being referenced.
- setPluginIdAttribute(String, String) - Method in class org.apache.commons.digester3.plugins.PluginCreateRule
-
Sets the xml attribute which the input xml uses to indicate to a PluginCreateRule which plugin declaration is
being referenced.
- setPluginIdAttribute(String, String) - Method in class org.apache.commons.digester3.plugins.PluginRules
-
- setProperties() - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
Sets properties on the object at the top of the stack, based on attributes with corresponding names.
- setProperties(Properties) - Method in class org.apache.commons.digester3.plugins.Declaration
-
Copy all (key,value) pairs in the param into the properties member of this object.
- SetPropertiesBuilder - Class in org.apache.commons.digester3.binder
-
Builder chained when invoking
LinkedRuleBuilder.setProperties()
.
- SetPropertiesHandler - Class in org.apache.commons.digester3.annotations.handlers
-
SetProperty
handler.
- SetPropertiesHandler() - Constructor for class org.apache.commons.digester3.annotations.handlers.SetPropertiesHandler
-
- SetPropertiesRule - Class in org.apache.commons.digester3
-
Rule implementation that sets properties on the object at the top of the stack, based on attributes with
corresponding names.
- SetPropertiesRule() - Constructor for class org.apache.commons.digester3.SetPropertiesRule
-
Base constructor.
- SetPropertiesRule(String, String) - Constructor for class org.apache.commons.digester3.SetPropertiesRule
-
Convenience constructor overrides the mapping for just one property.
- SetPropertiesRule(String[], String[]) - Constructor for class org.apache.commons.digester3.SetPropertiesRule
-
Constructor allows attribute->property mapping to be overriden.
- SetPropertiesRule(Map<String, String>) - Constructor for class org.apache.commons.digester3.SetPropertiesRule
-
Constructor allows attribute->property mapping to be overriden.
- SetProperty - Annotation Type in org.apache.commons.digester3.annotations.rules
-
Fields annotated with
SetProperty
will be bound with SetPropertiesRule
digester rule.
- setProperty(String) - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
Sets an individual property on the object at the top of the stack, based on attributes with specified names.
- setProperty(String, Object) - Method in class org.apache.commons.digester3.Digester
-
Set the current value of the specified property for the underlying
XMLReader
implementation.
- SetProperty.List - Annotation Type in org.apache.commons.digester3.annotations.rules
-
Defines several
@SetProperty
annotations on the same element.
- SetPropertyBuilder - Class in org.apache.commons.digester3.binder
-
Builder chained when invoking
LinkedRuleBuilder.setProperty(String)
.
- setPropertyNameFromAttribute(String) - Method in class org.apache.commons.digester3.BeanPropertySetterRule
-
Sets the attribute name from which the property name has to be extracted.
- SetPropertyRule - Class in org.apache.commons.digester3
-
Rule implementation that sets an individual property on the object at the top of the stack, based on attributes with
specified names.
- SetPropertyRule(String, String) - Constructor for class org.apache.commons.digester3.SetPropertyRule
-
Construct a "set property" rule with the specified name and value attributes.
- setPubDate(String) - Method in class org.apache.commons.digester3.rss.Channel
-
- setPublicId(String) - Method in class org.apache.commons.digester3.Digester
-
Set the public id of the current file being parse.
- setRating(String) - Method in class org.apache.commons.digester3.rss.Channel
-
- setRegexMatcher(RegexMatcher) - Method in class org.apache.commons.digester3.RegexRules
-
Sets the current regex matching strategy.
- SetRoot - Annotation Type in org.apache.commons.digester3.annotations.rules
-
Methods annotated with
SetRoot
will be bound with SetRootRule
digester rule.
- setRoot(String) - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
Calls a method on the root object on the stack, passing the top object (child) as an argument.
- SetRootBuilder - Class in org.apache.commons.digester3.binder
-
Builder chained when invoking
LinkedRuleBuilder.setRoot(String)
.
- SetRootHandler - Class in org.apache.commons.digester3.annotations.handlers
-
SetRoot
handler.
- SetRootHandler() - Constructor for class org.apache.commons.digester3.annotations.handlers.SetRootHandler
-
- SetRootRule - Class in org.apache.commons.digester3
-
Rule implementation that calls a method on the root object on the stack, passing the top object (child) as an
argument.
- SetRootRule(String) - Constructor for class org.apache.commons.digester3.SetRootRule
-
Construct a "set root" rule with the specified method name.
- SetRootRule(String, String) - Constructor for class org.apache.commons.digester3.SetRootRule
-
Construct a "set root" rule with the specified method name.
- SetRootRule(String, Class<?>) - Constructor for class org.apache.commons.digester3.SetRootRule
-
Construct a "set root" rule with the specified method name.
- setRuleFinders(List<RuleFinder>) - Method in class org.apache.commons.digester3.plugins.PluginContext
-
Set the list of RuleFinder objects.
- setRuleFinders(List<RuleFinder>) - Method in class org.apache.commons.digester3.plugins.PluginRules
-
- setRuleNamespaceURI(String) - Method in class org.apache.commons.digester3.Digester
-
Set the namespace URI that will be applied to all subsequently added
Rule
objects.
- setRules(Rules) - Method in class org.apache.commons.digester3.Digester
-
Set the
Rules
implementation object containing our rules collection and associated matching policy.
- setRulesFactory(RulesFactory) - Method in class org.apache.commons.digester3.plugins.PluginRules
-
Set the object which is used to generate the new Rules instances created to hold and process the rules associated
with each plugged-in class.
- setRuntime(Integer) - Method in class org.apache.commons.digester3.examples.api.catalog.AudioVisual
-
- setSAXLogger(Log) - Method in class org.apache.commons.digester3.Digester
-
Sets the logger used for logging SAX-related information.
- setSchema(Schema) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Set the XML Schema to be used when parsing.
- setSource(String) - Method in class org.apache.commons.digester3.examples.plugins.pipeline.Pipeline
-
- setStackAction(StackAction) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Sets the Object which will receive callbacks for every pop/push action on the default stack or named stacks.
- setStackAction(StackAction) - Method in class org.apache.commons.digester3.Digester
-
Define a callback object which is invoked whenever an object is pushed onto a digester object stack,
or popped off one.
- setState(String) - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
Sets the value of state.
- setState(String) - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
Sets the value of state.
- setStreet(String) - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
Sets the value of street.
- setStreet(String) - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
Sets the value of street.
- setSubstitutor(Substitutor) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Sets the
Substitutor
to be used to convert attributes and body text.
- setSubstitutor(Substitutor) - Method in class org.apache.commons.digester3.Digester
-
Sets the
Substitutor
to be used to convert attributes and body text.
- setTextInput(TextInput) - Method in class org.apache.commons.digester3.rss.Channel
-
- setTextInputClass(String) - Method in class org.apache.commons.digester3.rss.RSSDigester
-
- SetTextSegmentRule - Class in org.apache.commons.digester3.examples.api.documentmarkup
-
When a text segment is discovered, it calls a specific method on the top
object on the stack.
- SetTextSegmentRule(String) - Constructor for class org.apache.commons.digester3.examples.api.documentmarkup.SetTextSegmentRule
-
- setTitle(String) - Method in class org.apache.commons.digester3.annotations.atom.Entry
-
- setTitle(String) - Method in class org.apache.commons.digester3.annotations.atom.Feed
-
- setTitle(String) - Method in class org.apache.commons.digester3.edsl.atom.Entry
-
- setTitle(String) - Method in class org.apache.commons.digester3.edsl.atom.Feed
-
- setTitle(String) - Method in class org.apache.commons.digester3.examples.api.catalog.Book
-
- setTitle(String) - Method in class org.apache.commons.digester3.rss.Channel
-
- setTitle(String) - Method in class org.apache.commons.digester3.rss.Image
-
- setTitle(String) - Method in class org.apache.commons.digester3.rss.Item
-
- setTitle(String) - Method in class org.apache.commons.digester3.rss.TextInput
-
- setTo(String) - Method in class org.apache.commons.digester3.examples.plugins.pipeline.SubstituteTransform
-
- SetTop - Annotation Type in org.apache.commons.digester3.annotations.rules
-
Methods annotated with
SetTop
will be bound with SetTopRule
digester rule.
- setTop(String) - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
Calls a "set top" method on the top (child) object, passing the (top-1) (parent) object as an argument.
- SetTop.List - Annotation Type in org.apache.commons.digester3.annotations.rules
-
Defines several
@SetTop
annotations on the same element
- SetTopBuilder - Class in org.apache.commons.digester3.binder
-
Builder chained when invoking
LinkedRuleBuilder.setTop(String)
.
- SetTopHandler - Class in org.apache.commons.digester3.annotations.handlers
-
SetTop
handler.
- SetTopHandler() - Constructor for class org.apache.commons.digester3.annotations.handlers.SetTopHandler
-
- SetTopRule - Class in org.apache.commons.digester3
-
Rule implementation that calls a "set parent" method on the top (child) object, passing the (top-1) (parent) object
as an argument.
- SetTopRule(String) - Constructor for class org.apache.commons.digester3.SetTopRule
-
Construct a "set top" rule with the specified method name.
- SetTopRule(String, String) - Constructor for class org.apache.commons.digester3.SetTopRule
-
Construct a "set top" rule with the specified method name.
- SetTopRule(String, Class<?>) - Constructor for class org.apache.commons.digester3.SetTopRule
-
Construct a "set top" rule with the specified method name.
- setTransform(Transform) - Method in class org.apache.commons.digester3.examples.plugins.pipeline.Pipeline
-
- setTrimData(boolean) - Method in class org.apache.commons.digester3.SetNestedPropertiesRule
-
When set to true, any text within child elements will have leading and trailing whitespace removed before
assignment to the target object.
- setType(String) - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
Sets the value of type.
- setType(String) - Method in class org.apache.commons.digester3.examples.api.catalog.AudioVisual
-
- setType(String) - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
Sets the value of type.
- setUpdated(Date) - Method in class org.apache.commons.digester3.annotations.atom.Entry
-
- setUpdated(Date) - Method in class org.apache.commons.digester3.annotations.atom.Feed
-
- setUpdated(Date) - Method in class org.apache.commons.digester3.edsl.atom.Entry
-
- setUpdated(Date) - Method in class org.apache.commons.digester3.edsl.atom.Feed
-
- setURL(String) - Method in class org.apache.commons.digester3.rss.Image
-
- setUseContextClassLoader(boolean) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Determine whether to use the Context ClassLoader (the one found by
calling
Thread.currentThread().getContextClassLoader()
)
to resolve/load classes that are defined in various rules.
- setUseContextClassLoader(boolean) - Method in class org.apache.commons.digester3.Digester
-
Determine whether to use the Context ClassLoader (the one found by calling
Thread.currentThread().getContextClassLoader()
) to resolve/load classes that are defined in various
rules.
- setUseExactMatch(boolean) - Method in class org.apache.commons.digester3.CallMethodRule
-
Set whether
MethodUtils.invokeExactMethod
should be used for the reflection.
- setValidating(boolean) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Set the
DOCTYPE
validation parser flag and should not be used when using schemas.
- setValidating(boolean) - Method in class org.apache.commons.digester3.Digester
-
Set the validating parser flag.
- setVersion(double) - Method in class org.apache.commons.digester3.rss.Channel
-
- setWebMaster(String) - Method in class org.apache.commons.digester3.rss.Channel
-
- setWidth(int) - Method in class org.apache.commons.digester3.rss.Image
-
- setXIncludeAware(boolean) - Method in class org.apache.commons.digester3.binder.DigesterLoader
-
Set the XInclude-aware flag for parsers we create.
- setXIncludeAware(boolean) - Method in class org.apache.commons.digester3.Digester
-
Set the XInclude-aware flag for parsers we create.
- setXMLSchema(Schema) - Method in class org.apache.commons.digester3.Digester
-
Set the XML Schema to be used when parsing.
- setYearMade(int) - Method in class org.apache.commons.digester3.examples.api.catalog.AudioVisual
-
- setZip(String) - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
Sets the value of zip.
- setZip(String) - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
Sets the value of zip.
- SimpleRegexMatcher - Class in org.apache.commons.digester3
-
Simple regex pattern matching algorithm.
- SimpleRegexMatcher() - Constructor for class org.apache.commons.digester3.SimpleRegexMatcher
-
- skipDays - Variable in class org.apache.commons.digester3.rss.Channel
-
The set of skip days for this channel.
- skipHours - Variable in class org.apache.commons.digester3.rss.Channel
-
The set of skip hours for this channel.
- skippedEntity(String) - Method in class org.apache.commons.digester3.Digester
- StackAction - Interface in org.apache.commons.digester3
-
An interface that can be implemented in order to get notifications of objects being pushed onto a digester stack or
popped from one.
- stackIndex - Variable in class org.apache.commons.digester3.CallParamRule
-
The position of the object from the top of the stack
- startDocument() - Method in class org.apache.commons.digester3.Digester
- startElement(String, String, String, Attributes) - Method in class org.apache.commons.digester3.Digester
- startElement(String, String, String, Attributes) - Method in class org.apache.commons.digester3.examples.api.documentmarkup.MarkupDigester
-
Process notification of the start of an XML element being reached.
- startPrefixMapping(String, String) - Method in class org.apache.commons.digester3.Digester
- substitute(Attributes) - Method in class org.apache.commons.digester3.substitution.CompoundSubstitutor
-
Substitutes the attributes (before they are passed to the
Rule
implementations's).
- substitute(String) - Method in class org.apache.commons.digester3.substitution.CompoundSubstitutor
-
Substitutes for the body text.
- substitute(Attributes) - Method in class org.apache.commons.digester3.substitution.VariableSubstitutor
-
Substitutes the attributes (before they are passed to the
Rule
implementations's).
- substitute(String) - Method in class org.apache.commons.digester3.substitution.VariableSubstitutor
-
Substitutes for the body text.
- substitute(Attributes) - Method in class org.apache.commons.digester3.Substitutor
-
Substitutes the attributes (before they are passed to the
Rule
implementations's).
- substitute(String) - Method in class org.apache.commons.digester3.Substitutor
-
Substitutes for the body text.
- SubstituteTransform - Class in org.apache.commons.digester3.examples.plugins.pipeline
-
An implementation of the Transform interface which replaces all occurrences
of a specified string with a different string.
- SubstituteTransform() - Constructor for class org.apache.commons.digester3.examples.plugins.pipeline.SubstituteTransform
-
- Substitutor - Class in org.apache.commons.digester3
-
(Logical) Interface for substitution strategies.
- Substitutor() - Constructor for class org.apache.commons.digester3.Substitutor
-
T
- Table - Class in org.apache.commons.digester3.examples.api.dbinsert
-
See Main.java.
- Table() - Constructor for class org.apache.commons.digester3.examples.api.dbinsert.Table
-
- targetOffset - Variable in class org.apache.commons.digester3.CallMethodRule
-
location of the target object for the call, relative to the top of the digester object stack.
- textInput - Variable in class org.apache.commons.digester3.rss.Channel
-
The text input description for this channel.
- TextInput - Class in org.apache.commons.digester3.rss
-
Implementation object representing a textinput in the
Rich Site Summary DTD, version 0.91.
- TextInput() - Constructor for class org.apache.commons.digester3.rss.TextInput
-
- textInputClass - Variable in class org.apache.commons.digester3.rss.RSSDigester
-
The fully qualified class name of the
TextInput
implementation class.
- textSegment(String) - Method in class org.apache.commons.digester3.examples.api.documentmarkup.SetTextSegmentRule
-
Process the end of this element.
- textSegment(String) - Method in interface org.apache.commons.digester3.examples.api.documentmarkup.TextSegmentHandler
-
- TextSegmentHandler - Interface in org.apache.commons.digester3.examples.api.documentmarkup
-
Public interface for any Rule subclass which is interested in handling text segments as well as the complete body
text.
- title - Variable in class org.apache.commons.digester3.rss.Channel
-
The channel title (1-100 characters).
- title - Variable in class org.apache.commons.digester3.rss.Image
-
The image alternate text (1-100 characters).
- title - Variable in class org.apache.commons.digester3.rss.Item
-
The item title (1-100 characters).
- title - Variable in class org.apache.commons.digester3.rss.TextInput
-
The text input submit button label (1-100 characters).
- toString() - Method in class org.apache.commons.digester3.AbstractMethodRule
- toString() - Method in class org.apache.commons.digester3.annotations.atom.Entry
-
- toString() - Method in class org.apache.commons.digester3.annotations.atom.Feed
-
- toString() - Method in class org.apache.commons.digester3.BeanPropertySetterRule
- toString() - Method in class org.apache.commons.digester3.CallMethodRule
- toString() - Method in class org.apache.commons.digester3.CallParamRule
- toString() - Method in class org.apache.commons.digester3.edsl.atom.Entry
-
- toString() - Method in class org.apache.commons.digester3.edsl.atom.Feed
-
- toString() - Method in class org.apache.commons.digester3.examples.api.addressbook.Address
-
- toString() - Method in class org.apache.commons.digester3.examples.xmlrules.addressbook.Address
-
- toString() - Method in class org.apache.commons.digester3.FactoryCreateRule
- toString() - Method in class org.apache.commons.digester3.ObjectCreateRule
- toString() - Method in class org.apache.commons.digester3.ObjectParamRule
- toString() - Method in class org.apache.commons.digester3.PathCallParamRule
- toString() - Method in class org.apache.commons.digester3.SetNestedPropertiesRule
- toString() - Method in class org.apache.commons.digester3.SetPropertiesRule
- toString() - Method in class org.apache.commons.digester3.SetPropertyRule
- transform(String) - Method in class org.apache.commons.digester3.examples.plugins.pipeline.CaseTransform
-
- transform(String) - Method in class org.apache.commons.digester3.examples.plugins.pipeline.CompoundTransform
-
- transform(String) - Method in class org.apache.commons.digester3.examples.plugins.pipeline.SubstituteTransform
-
- Transform - Interface in org.apache.commons.digester3.examples.plugins.pipeline
-
An interface that any user class must implement if it wishes to be plugged in at the "transform" tag of a pipeline
configuration file.
- transform(String) - Method in interface org.apache.commons.digester3.examples.plugins.pipeline.Transform
-
- trimData(boolean) - Method in class org.apache.commons.digester3.binder.NestedPropertiesBuilder
-
When set to true, any text within child elements will have leading
and trailing whitespace removed before assignment to the target
object.
U
- unparsedEntityDecl(String, String, String, String) - Method in class org.apache.commons.digester3.Digester
- url - Variable in class org.apache.commons.digester3.rss.Image
-
The image location URL (1-500 characters).
- useAnnotationHandlerFactory(AnnotationHandlerFactory) - Method in class org.apache.commons.digester3.annotations.FromAnnotationsRuleModule
-
Allows users plug a different
AnnotationHandlerFactory
to create AnnotationHandler
instances.
- useDefaultAnnotationHandlerFactory() - Method in class org.apache.commons.digester3.annotations.FromAnnotationsRuleModule
-
Allows users to switch back to the default
AnnotationHandlerFactory
implementation.
- useExactMatch - Variable in class org.apache.commons.digester3.AbstractMethodRule
-
Should we use exact matching.
- useExactMatch(boolean) - Method in class org.apache.commons.digester3.binder.AbstractParamTypeBuilder
-
Sets exact matching being used.
- useExactMatch(boolean) - Method in class org.apache.commons.digester3.binder.CallMethodBuilder
-
Should
MethodUtils.invokeExactMethod
be used for the reflection.
- useRootPath(String) - Method in class org.apache.commons.digester3.xmlrules.FromXmlRulesModule
-
Set the root path (will be used when composing modules).
- usingConstructor(String...) - Method in class org.apache.commons.digester3.binder.ObjectCreateBuilder
-
Allows users to specify constructor argument type names.
- usingConstructor(Class<?>...) - Method in class org.apache.commons.digester3.binder.ObjectCreateBuilder
-
Allows users to specify constructor argument types.
- usingDefaultConstructorArguments(Object...) - Method in class org.apache.commons.digester3.binder.ObjectCreateBuilder
-
Allows users to specify default constructor arguments.
- usingDefaultPluginClass(Class<T>) - Method in class org.apache.commons.digester3.binder.PluginCreateRuleBuilder
-
Set the class which will be used if the user doesn't specify any plugin-class or plugin-id.
- usingDocumentBuilder(DocumentBuilder) - Method in class org.apache.commons.digester3.binder.NodeCreateRuleProvider
-
NodeCreateRule
instance will be created a DOM Element
, but
lets users specify the JAXP DocumentBuilder
that should be used when constructing the node tree.
- usingElementBodyAsArgument() - Method in class org.apache.commons.digester3.binder.CallMethodBuilder
-
Prepare the
CallMethodRule
to be invoked using the matching element body as argument.
- usingFactory(ObjectCreationFactory<T>) - Method in class org.apache.commons.digester3.binder.FactoryCreateBuilder
-
Construct a factory create rule using the given, already instantiated,
ObjectCreationFactory
.
- usingRuleLoader(RL) - Method in class org.apache.commons.digester3.binder.PluginCreateRuleBuilder
-
Set RuleLoader instance which knows how to load the custom rules associated with the default plugin.
V
- value - Variable in class org.apache.commons.digester3.SetPropertyRule
-
The attribute that will contain the property value.
- valueOf(String) - Static method in enum org.apache.commons.digester3.binder.NodeCreateRuleProvider.NodeType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.commons.digester3.binder.NodeCreateRuleProvider.NodeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VariableAttributes - Class in org.apache.commons.digester3.substitution
-
Wrapper for an
Attributes
object which expands any "variables" referenced in the attribute value via
${foo} or similar.
- VariableAttributes() - Constructor for class org.apache.commons.digester3.substitution.VariableAttributes
-
- VariableExpander - Interface in org.apache.commons.digester3.substitution
-
An Interface describing a class capable of expanding strings which may contain variable references.
- VariableSubstitutor - Class in org.apache.commons.digester3.substitution
-
Substitutor implementation that support variable replacement for both attributes and body text.
- VariableSubstitutor(VariableExpander) - Constructor for class org.apache.commons.digester3.substitution.VariableSubstitutor
-
Constructs a Substitutor which uses the same VariableExpander for both body text and attibutes.
- VariableSubstitutor(VariableExpander, VariableExpander) - Constructor for class org.apache.commons.digester3.substitution.VariableSubstitutor
-
Constructs a Substitutor.
- version - Variable in class org.apache.commons.digester3.rss.Channel
-
The RSS specification version number used to create this Channel.
W
- W3C_XML_SCHEMA - Static variable in class org.apache.commons.digester3.Digester
-
The schema language supported.
- warning(SAXParseException) - Method in class org.apache.commons.digester3.Digester
- webMaster - Variable in class org.apache.commons.digester3.rss.Channel
-
The webmaster email address (1-100 characters).
- width - Variable in class org.apache.commons.digester3.rss.Image
-
The image width in pixels (1-400).
- wildcardCache - Variable in class org.apache.commons.digester3.RulesBase
-
The subset of registered Rule instances with wildcard pattern.
- WithDefaultsRulesWrapper - Class in org.apache.commons.digester3
-
Rules
Decorator that returns default rules when no matches are returned by the wrapped
implementation.
- WithDefaultsRulesWrapper(Rules) - Constructor for class org.apache.commons.digester3.WithDefaultsRulesWrapper
-
Base constructor.
- withName(String) - Method in class org.apache.commons.digester3.binder.BeanPropertySetterBuilder
-
Sets the name of property to set.
- withNamespaceURI(String) - Method in class org.apache.commons.digester3.binder.LinkedRuleBuilder
-
Sets the namespace URI for the current rule pattern.
- withParamCount(int) - Method in class org.apache.commons.digester3.binder.CallMethodBuilder
-
The number of parameters to collect, or zero for a single argument from the body of this element.
- withParameterType(Class<?>) - Method in class org.apache.commons.digester3.binder.AbstractParamTypeBuilder
-
Sets the Java class of the method's argument.
- withParameterType(String) - Method in class org.apache.commons.digester3.binder.AbstractParamTypeBuilder
-
Sets the Java class name of the method's argument.
- withParamTypes(String...) - Method in class org.apache.commons.digester3.binder.CallMethodBuilder
-
Sets the Java class names that represent the parameter types of the method arguments.
- withParamTypes(Class<?>...) - Method in class org.apache.commons.digester3.binder.CallMethodBuilder
-
Sets the Java classes that represent the parameter types of the method arguments.
- withStackIndex(int) - Method in class org.apache.commons.digester3.binder.CallParamBuilder
-
Sets the position of the object from the top of the stack.
- withTargetOffset(int) - Method in class org.apache.commons.digester3.binder.CallMethodBuilder
-
Sets the location of the target object.
A B C D E F G H I L M N O P R S T U V W
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.