|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
SetNextRule
,
SetRootRule
and SetTopRule
rules.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.
- characters(char[], int, int) -
Method in class org.apache.commons.digester3.Digester
-
- 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.
- 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(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.xmlrules.FromXmlRulesModule
- Configures a
RulesBinder
via the exposed methods.
- configureRules() -
Method in class org.apache.commons.digester3.annotations.FromAnnotationsRuleModule
- Configures a
RulesBinder
via the exposed methods.
- 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 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.
Digester
.RulesBase
for complex schema.FactoryCreate
will be bound with FactoryCreateRule
digester rule.ObjectCreationFactory
to create a new object which it
pushes onto the object stack.
@FactoryCreate
annotations on the same element.LinkedRuleBuilder.factoryCreate()
.FactoryCreate
handler.ObjectCreationFactory
to create a new object which it pushes onto the object
stack.ObjectCreationFactory
which will then be used to create an object and push it on the stack.
ObjectCreationFactory
which will then be used to create an object and push it on the stack.
ObjectCreationFactory
, which will then be used to instantiate an
object instance and push it onto the stack.
ObjectCreationFactory
, which will then be used to instantiate an object instance
and push it onto the stack.
ObjectCreationFactory
.
ObjectCreationFactory
which will then be used to create an object and push it on the stack.
ObjectCreationFactory
which will then be used to create an object and push it on the stack.
ObjectCreationFactory
, which will then be used to instantiate an
object instance and push it onto the stack.
ObjectCreationFactory
, which will then be used to instantiate an object instance
and push it onto the stack.
ObjectCreationFactory
.
FinderFromClass.findLoader(org.apache.commons.digester3.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromDfltClass.findLoader(org.apache.commons.digester3.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromDfltMethod.findLoader(org.apache.commons.digester3.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromDfltResource.findLoader(org.apache.commons.digester3.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromFile.findLoader(org.apache.commons.digester3.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromFile.findLoader(org.apache.commons.digester3.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromMethod.findLoader(org.apache.commons.digester3.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromResource.findLoader(org.apache.commons.digester3.Digester, java.lang.Class>, java.util.Properties)
.
FinderSetProperties.findLoader(org.apache.commons.digester3.Digester, java.lang.Class>, java.util.Properties)
.
null
.
AbstractMethodRule.begin(String, String, Attributes)
(true)
or AbstractMethodRule.end(String, String)
(false) methods are invoked, false by default.
begin
or end
events match.
RulesModule
implementation that allows loading rules from
annotated classes.RulesModule
implementation that allows loading rules from
XML files.Rule
.
namespaceURI()
from annotation.
pattern()
from annotation.
value()
from annotation if present, nul otherwise.
value()
from annotation.
ClassLoader
.
Digester
that was set by the FactoryCreateRule
upon initialization.
Digester
that was set by the FactoryCreateRule
upon initialization.
org.xml.sax.XMLReader
.
fireOnBegin()
from annotation.
Log
implementation.
Rule
objects.
Rule
objects.
Rule
objects.
Rule
objects.
PluginContext.getPluginClassAttr()
.
PluginContext.getPluginClassAttrNs()
.
PluginContext.getPluginIdAttr()
.
PluginContext.getPluginIdAttrNs()
.
XMLReader
implementation.
PluginContext.getRuleFinders()
.
Rule
objects.
Rules
implementation object containing our rules collection and associated matching
policy.
Substitutor
used to convert attributes and body text.
MethodUtils.invokeExactMethod
be used for the reflection.
Digester
instance.
List
of InputSource
instances created by a createInputSourceFromURL()
method call.
AbstractMethodRule.begin(String, String, Attributes)
(true)
or AbstractMethodRule.end(String, String)
(false) methods are invoked, false by default.
org.xml.sax.InputSource
.
org.xml.sax.InputSource
given a java.io.InputStream
.
org.xml.sax.InputSource
given a java.io.Reader
.
org.xml.sax.InputSource
given a java.io.File
.
org.xml.sax.InputSource
given a URI in String representation.
org.xml.sax.InputSource
given a java.net.URL
.
org.xml.sax.InputSource
given an XML document in textual form.
public static void foo(Digester d, String patternPrefix);
.
AnnotatedElement
for method arguments.AnnotatedElement
.
LinkedRuleBuilder.setNestedProperties()
.Digester
instance that relies on the default Rules
implementation.
Digester
instance that relies on the custom user define Rules
implementation
Digester
instance that relies on the given SAXParser
and the default Rules
implementation.
Digester
instance that relies on the given SAXParser
and custom user define Rules
implementation.
XMLReader
instance that relies on the given XMLReader
and the default Rules
implementation.
XMLReader
instance that relies on the given XMLReader
and custom user define Rules
implementation.
DigesterLoader
instance given one or more RulesModule
instance.
DigesterLoader
instance given a collection of RulesModule
instance.
Node
containing the XML at the element that matched
the rule.LinkedRuleBuilder.createNode()
.Node
node constants.ObjectCreate
will be bound with ObjectCreateRule
digester rule.@ObjectCreate
annotations on the same element.LinkedRuleBuilder.createObject()
.ObjectCreateHandler
handler.FactoryCreateRule
.LinkedRuleBuilder.callMethod(String)
.
LinkedRuleBuilder.objectParam(Object)
.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.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.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.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.
MethodParam
rules.
PathCallParam
will be bound with PathCallParamRule
digester rule.@PathCallParam
annotations on the same element.LinkedRuleBuilder.callParamPath()
.PathCallParam
handler.Digester
matching path for use by a
surrounding CallMethodRule
.LinkedRuleBuilder.createPlugin()
.LinkedRuleBuilder.declarePlugin()
.Rule
.Rules
interface that supports the standard rule matching behavior.RulesBinder
.
Rule
definitions,
possibly associated with a particular namespace URI, in one operation.RuleSet
interface.Digester
to allow the implementation to do logging, classloading based on the digester's
classloader, etc.
Digester
with which this Rule
is associated.
Digester
to allow the implementation to do logging, classloading based on the digester's
classloader, etc.
Digester
with which this Rule
is associated.
Digester
with which this Rule
is associated.
EntityResolver
used by SAX when resolving public id and system id.
EntityResolver
used by SAX when resolving public id and system id.
org.xml.sax.XMLReader
.
AbstractMethodRule.begin(String, String, Attributes)
(true)
or AbstractMethodRule.end(String, String)
(false) methods are invoked, false by default.
Log
implementation used by this class.
Rule
objects.
Rule
objects.
Rule
objects.
Rule
objects.
SetNext
will be bound with SetNextRule
digester rule.LinkedRuleBuilder.setNext(String)
.SetNext
handler.PluginContext.setPluginClassAttribute(java.lang.String, java.lang.String)
.
PluginContext.setPluginIdAttribute(java.lang.String, java.lang.String)
.
LinkedRuleBuilder.setProperties()
.SetProperty
handler.SetProperty
will be bound with SetPropertiesRule
digester rule.XMLReader
implementation.
@SetProperty
annotations on the same element.LinkedRuleBuilder.setProperty(String)
.SetRoot
will be bound with SetRootRule
digester rule.LinkedRuleBuilder.setRoot(String)
.SetRoot
handler.PluginContext.setRuleFinders(java.util.List)
.
Rule
objects.
Rules
implementation object containing our rules collection and associated matching policy.
Substitutor
to be used to convert attributes and body text.
Substitutor
to be used to convert attributes and body text.
SetTop
will be bound with SetTopRule
digester rule.@SetTop
annotations on the same elementLinkedRuleBuilder.setTop(String)
.SetTop
handler.Thread.currentThread().getContextClassLoader()
)
to resolve/load classes that are defined in various rules.
Thread.currentThread().getContextClassLoader()
) to resolve/load classes that are defined in various
rules.
MethodUtils.invokeExactMethod
should be used for the reflection.
Rule
implementations's).
Rule
implementations's).
Rule
implementations's).
AnnotationHandlerFactory
to create AnnotationHandler
instances.
AnnotationHandlerFactory
implementation.
MethodUtils.invokeExactMethod
be used for the reflection.
NodeCreateRule
instance will be created a DOM Element
, but
lets users specify the JAXP DocumentBuilder
that should be used when constructing the node tree.
CallMethodRule
to be invoked using the matching element body as argument.
ObjectCreationFactory
.
Attributes
object which expands any "variables" referenced in the attribute value via
${foo} or similar.Rules
Decorator that returns default rules when no matches are returned by the wrapped
implementation.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |