|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
ObjectCreationFactory
implementations.AbstractRuleImpl
provides basic services for Rules
implementations.Digester
matching path.
Digester
instance, associating them with
our namespace URI (if any).
Digester
instance, associating them with
our namespace URI (if any).
Digester
instance, associating them with
our namespace URI (if any).
AnnotationRuleProvider
for a specific
pattern.
AnnotationRuleProvider
for a specific pattern.
AnnotationRuleProvider
s to
this FromAnnotationsRuleSet
.
AnnotationRuleProvider
s created in another analysis
session.
AnnotationRuleProvider
s to
the existing FromAnnotationsRuleSet
.
SetNestedPropertiesRule
.
SetNestedPropertiesRule
.
SetNestedPropertiesRule
.
SetRootRule
with the specified parameters.
SetRootRule
with the specified parameters.
Rule
.AnnotationRuleProvider
.AttributeCallParam
will be bound
with CallParamRule
digester rule.@AttributeCallParam
annotations on the same element.CallParamRule
.DigesterRuleParser.setBasePath(java.lang.String)
.
BeanPropertySetter
will be bound with
BeanPropertySetterRule
digester rule.@BeanPropertySetter
annotations on the same element.Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use BeanPropertySetterRule.BeanPropertySetterRule(String propertyName)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use BeanPropertySetterRule.BeanPropertySetterRule()
instead.
BeanPropertySetterRule
.begin
method with namespace
and name
parameters instead.
body
method
with namespace
and name
parameters
instead.
DigesterLoader
using the default SPI
implementations.
CallMethod
will be bound with
CallMethodRule
digester rule.@CallMethod
annotations on the same element.CallParamRule
rules or from the body of this
element.Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use CallMethodRule.CallMethodRule(String methodName,int paramCount)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use CallMethodRule.CallMethodRule(String methodName,int paramCount, String [] paramTypes)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use CallMethodRule.CallMethodRule(String methodName,int paramCount, Class [] paramTypes)
instead.
CallMethodRule
CallParam
will be bound with
CallParamRule
digester rule.@CallParam
annotations on the same element.CallMethodRule.- CallParamRule(Digester, int) -
Constructor for class org.apache.commons.digester.CallParamRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use CallParamRule.CallParamRule(int paramIndex)
instead.
- CallParamRule(Digester, int, String) -
Constructor for class org.apache.commons.digester.CallParamRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use CallParamRule.CallParamRule(int paramIndex, String attributeName)
instead.
- CallParamRule(int) -
Constructor for class org.apache.commons.digester.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.digester.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.digester.CallParamRule
- Construct a "call parameter" rule.
- CallParamRule(int, int) -
Constructor for class org.apache.commons.digester.CallParamRule
- Constructs a "call parameter" rule which sets a parameter from the stack.
- CallParamRuleProvider - Class in org.apache.commons.digester.annotations.providers
- Provides instances of
CallParamRule
. - CallParamRuleProvider() -
Constructor for class org.apache.commons.digester.annotations.providers.CallParamRuleProvider
-
- characters(char[], int, int) -
Method in class org.apache.commons.digester.Digester
- Process notification of character data received from the body of
an XML element.
- CircularIncludeException - Exception in org.apache.commons.digester.xmlrules
- Thrown when parsing XML into Digester rules, if a circular inclusion occurred
in the xml digester rules files.
- CircularIncludeException(String) -
Constructor for exception org.apache.commons.digester.xmlrules.CircularIncludeException
-
- classLoader -
Variable in class org.apache.commons.digester.Digester
- The class loader to use for instantiating application objects.
- className -
Variable in class org.apache.commons.digester.FactoryCreateRule
- The Java class name of the ObjectCreationFactory to be created.
- className -
Variable in class org.apache.commons.digester.ObjectCreateRule
- The Java class name of the object to be created.
- cleanup() -
Method in class org.apache.commons.digester.Digester
- Clean up allocated resources after parsing is complete.
- clear() -
Method in class org.apache.commons.digester.AbstractRulesImpl
- Clear all existing Rule instance registrations.
- clear() -
Method in class org.apache.commons.digester.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.digester.plugins.PluginRules
- Clear all rules.
- clear() -
Method in class org.apache.commons.digester.RegexRules
- Clear all existing Rule instance registrations.
- clear() -
Method in interface org.apache.commons.digester.Rules
- Clear all existing Rule instance registrations.
- clear() -
Method in class org.apache.commons.digester.RulesBase
- Clear all existing Rule instance registrations.
- clear() -
Method in class org.apache.commons.digester.WithDefaultsRulesWrapper
- Clears all Rule's
- configure() -
Method in class org.apache.commons.digester.Digester
-
Provide a hook for lazy configuration of this
Digester
instance.
- configure(Digester, String) -
Method in class org.apache.commons.digester.plugins.Declaration
- Attempt to load custom rules for the target class at the specified
pattern.
- configured -
Variable in class org.apache.commons.digester.Digester
- Has this Digester been configured yet.
- containsKey(Class<?>) -
Method in class org.apache.commons.digester.annotations.internal.RuleSetCache
- Returns true if this cache contains a mapping for the specified key.
- createDigester(Class<?>) -
Method in class org.apache.commons.digester.annotations.DigesterLoader
- Creates a new digester which rules are defined by analyzing the digester
annotations in the target class.
- createDigester(InputSource) -
Static method in class org.apache.commons.digester.xmlrules.DigesterLoader
- Creates a new digester and initializes it from the specified InputSource
- createDigester(InputSource, Digester) -
Static method in class org.apache.commons.digester.xmlrules.DigesterLoader
- Creates a new digester and initializes it from the specified InputSource.
- createDigester(URL) -
Static method in class org.apache.commons.digester.xmlrules.DigesterLoader
- Creates a new digester and initializes it from the specified XML file
- createDigester(URL, Digester) -
Static method in class org.apache.commons.digester.xmlrules.DigesterLoader
- Creates a new digester and initializes it from the specified XML file.
- createInputSourceFromURL(URL) -
Method in class org.apache.commons.digester.Digester
- Given a URL, return an InputSource that reads from that URL.
- createInputSourceFromURL(String) -
Method in class org.apache.commons.digester.Digester
- Convenience method that creates an
InputSource
from the string version of a URL.
- createObject(Attributes) -
Method in class org.apache.commons.digester.AbstractObjectCreationFactory
- Factory method called by
FactoryCreateRule
to supply an
object based on the element's attributes.
- createObject(Attributes) -
Method in interface org.apache.commons.digester.ObjectCreationFactory
- Factory method called by
FactoryCreateRule
to supply an
object based on the element's attributes.
- createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.CallMethodRuleFactory
-
- createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.CallParamRuleFactory
-
- createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.FactoryCreateRuleFactory
-
- createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.NodeCreateRuleFactory
-
- createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.ObjectCreateRuleFactory
-
- createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.ObjectParamRuleFactory
-
- createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetNestedPropertiesRuleFactory
-
- createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetNextRuleFactory
-
- createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetPropertiesRuleFactory
-
- createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetPropertyRuleFactory
-
- createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetRootRuleFactory
-
- createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetTopRuleFactory
-
- createSAXException(String, Exception) -
Method in class org.apache.commons.digester.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.digester.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.digester.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.digester.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.digester.annotations
- Marks a Digester rule as a creation rule, that's crucial for the
setNext
rule.
AnnotationRuleProviderFactory
implementation.DigesterLoaderHandlerFactory
implementation.Digester
instance that was set up by
FactoryCreateRule
upon initialization.
DigesterLoader
instance.
DigesterLoader
builder implementation.DigesterLoaderHandler
intercept a Class
visit performed by
the DigesterLoader
and performs the
DigesterLoaderHandler.handle(Annotation, AnnotatedElement, FromAnnotationsRuleSet)
method.DigesterLoaderHandler
.end
method with
namespace
and name
parameters instead.
RulesBase
for complex schema.FactoryCreate
will be bound with
FactoryCreateRule
digester rule.@FactoryCreate
annotations on the same element.ObjectCreationFactory
to create
a new object which it pushes onto the object stack.Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use FactoryCreateRule.FactoryCreateRule(String className)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use FactoryCreateRule.FactoryCreateRule(Class clazz)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use FactoryCreateRule.FactoryCreateRule(String className, String attributeName)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use FactoryCreateRule.FactoryCreateRule(Class clazz, String attributeName)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use FactoryCreateRule.FactoryCreateRule(ObjectCreationFactory creationFactory)
instead.
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
.
FactoryCreateRule
.FinderFromClass.findLoader(org.apache.commons.digester.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromDfltClass.findLoader(org.apache.commons.digester.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromDfltMethod.findLoader(org.apache.commons.digester.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromDfltResource.findLoader(org.apache.commons.digester.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromFile.findLoader(org.apache.commons.digester.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromFile.findLoader(org.apache.commons.digester.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromMethod.findLoader(org.apache.commons.digester.Digester, java.lang.Class>, java.util.Properties)
.
FinderFromResource.findLoader(org.apache.commons.digester.Digester, java.lang.Class>, java.util.Properties)
.
FinderSetProperties.findLoader(org.apache.commons.digester.Digester, java.lang.Class>, java.util.Properties)
.
null
.
DigesterLoader
builder implementation.DigesterLoader
builder implementation.
RuleSet
implementation that's able to inject Rule
s created
with the annotations analysis.FromAnnotationsRuleSet
instance.
Digester
constructor, or use
Digester.setXMLSchema(javax.xml.validation.Schema)
for validation.Rule
.
Rule
.
Rule
.
Rule
.
Rule
.
Rule
.
Rule
.
Rule
.
Rule
.
Rule
.
Rule
.
Rule
.
Rule
.
SetNestedPropertiesRule.setAllowUnknownChildElements(boolean)
.
pattern()
from annotation.
value()
from annotation if present,
nul otherwise.
value()
from annotation.
Digester
that was set by the
FactoryCreateRule
upon initialization.
Digester
that was set by the
FactoryCreateRule
upon initialization.
org.xml.sax.XMLReader
.
Log
implementation.
Rule
objects.
Rule
objects.
Rule
objects.
Rule
objects.
PluginContext.getPluginClassAttr()
.
PluginContext.getPluginClassAttrNs()
.
PluginContext.getPluginIdAttr()
.
PluginContext.getPluginIdAttrNs()
.
XMLReader
implementation.
AnnotationRuleProvider
for
the input pattern.
PluginContext.getRuleFinders()
.
Rule
objects.
Rules
implementation object containing our
rules collection and associated matching policy.
RuleSet
analyzing the digester annotations in the
target class.
Schema
for validation instead.
Schema
for validation instead.
Substitutor
used to convert attributes and body text.
SetNestedPropertiesRule.setTrimData(boolean)
.
MethodUtils.invokeExactMethod
be used for the reflection.
Digester
instance.
List
of InputSource
instances
created by a createInputSourceFromURL()
method
call.
ParserFeatureSetterFactory
LoaderFromStream.load(java.io.InputStream)
.
public static void foo(Digester d, String patternPrefix);
.
AnnotatedElement
for method
arguments.AnnotatedElement
.
SetNextRuleProvider
and
SetRootRuleProvider
.Rule
objects are relevant, or null
for matching independent
of namespaces.
AnnotationRuleProvider
instance of the specified type.
AnnotationRuleProvider
instance of the specified type.
SAXParser
configured to support XML Scheman and DTD
SAXParser
based on the underlying
Xerces
version.
SAXParser
Node
containing the XML at the element that matched
the rule.ObjectCreate
will be bound with
ObjectCreateRule
digester rule.@ObjectCreate
annotations on the same element.Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use ObjectCreateRule.ObjectCreateRule(String className)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use ObjectCreateRule.ObjectCreateRule(Class clazz)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use ObjectCreateRule.ObjectCreateRule(String className, String attributeName)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use ObjectCreateRule.ObjectCreateRule(String attributeName, Class clazz)
instead.
ObjectCreateRule
.FactoryCreateRule
.CallMethodRule.- ObjectParamRule(int, Object) -
Constructor for class org.apache.commons.digester.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.digester.ObjectParamRule
- Construct a "call parameter" rule that will save the given Object as
the parameter value, provided that the specified attribute exists.
- onPop(Digester, String, Object) -
Method in interface org.apache.commons.digester.StackAction
- Invoked just after an object has been popped from a digester stack.
- onPush(Digester, String, Object) -
Method in interface org.apache.commons.digester.StackAction
- Invoked just before an object is to be pushed onto a digester stack.
- org.apache.commons.digester - package org.apache.commons.digester
- The
xmlrules
package provides for XML-based definition of
rules for Digester
. - org.apache.commons.digester.annotations - package org.apache.commons.digester.annotations
- The
annotations
package provides for Java5 Annotations
meta data-based definition of rules for Digester
. - org.apache.commons.digester.annotations.handlers - package org.apache.commons.digester.annotations.handlers
- The
handlers
package contains
DigesterLoaderHandler
implementations. - org.apache.commons.digester.annotations.internal - package org.apache.commons.digester.annotations.internal
- This package contains internal use only classes, users can ignore it.
- org.apache.commons.digester.annotations.providers - package org.apache.commons.digester.annotations.providers
- This package contains
AnnotationRuleProvider
implementations. - org.apache.commons.digester.annotations.reflect - package org.apache.commons.digester.annotations.reflect
- The
reflect
package supply missing JVM classes to alow user
manipulate entities as AnnotatedElement
. - org.apache.commons.digester.annotations.rules - package org.apache.commons.digester.annotations.rules
- Classes contained in this package are annotations that reflect Digester rules.
- org.apache.commons.digester.annotations.spi - package org.apache.commons.digester.annotations.spi
- Contains annotations package SPI definition.
- org.apache.commons.digester.annotations.utils - package org.apache.commons.digester.annotations.utils
- Contains commons utilities classes for Java5 Annotations manipulation.
- org.apache.commons.digester.parser - package org.apache.commons.digester.parser
- DEPRECATED PACKAGE:
This package contains legacy schema support code used in the v1.x line of
Digester releases. - org.apache.commons.digester.plugins - package org.apache.commons.digester.plugins
- The
plugins
package provides an easy mechanism whereby new
digestion rules can be added dynamically during a digestion. - org.apache.commons.digester.plugins.strategies - package org.apache.commons.digester.plugins.strategies
- The
plugins.strategies
package contains "rule-finding" strategy
classes, and their associated "helper" loader classes. - org.apache.commons.digester.substitution - package org.apache.commons.digester.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.digester.xmlrules - package org.apache.commons.digester.xmlrules
- The Digester package lets you configure an XML -> Java object mapping module,
which triggers certain actions called rules whenever a particular pattern of
nested XML elements is recognized.
MethodParam
rules.
Digester
constructor, or use
Digester.setXMLSchema(javax.xml.validation.Schema)
for validation.PathCallParam
will be bound
with PathCallParamRule
digester rule.@PathCallParam
annotations on the same element.Digester
matching path for use by a surrounding
CallMethodRule
.PathCallParamRule
.Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method. Use Rule.Rule()
instead.
Rules
implementation containing our collection of
Rule
instances and associated matching policy.
Rules
interface that supports
the standard rule matching behavior.Rule
definitions, possibly associated with
a particular namespace URI, in one operation.RuleSet
interface.Schema
support instead.
Schema
support instead.
Digester
to allow the implementation to do logging,
classloading based on the digester's classloader, etc.
Digester
to allow the implementation to do logging,
classloading based on the digester's classloader, etc.
Digester
with which this Rule
is associated.
EntityResolver
used by SAX when resolving
public id and system id.
org.xml.sax.XMLReader
.
Log
implementation used by this class.
Rule
objects.
Rule
objects.
Rule
objects.
Rule
objects.
SetNext
will be bound
with SetNextRule
digester rule.Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetNextRule.SetNextRule(String methodName)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetNextRule.SetNextRule(String methodName,String paramType)
instead.
SetNextRule
.PluginContext.setPluginClassAttribute(java.lang.String, java.lang.String)
.
PluginContext.setPluginIdAttribute(java.lang.String, java.lang.String)
.
SetPropertiesRuleProvider
.Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetPropertiesRule.SetPropertiesRule()
instead.
SetPropertiesRule
.SetProperty
will be bound
with SetPropertiesRule
digester rule.XMLReader
implementation.
@SetProperty
annotations on the same element.Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetPropertyRule.SetPropertyRule(String name, String value)
instead.
SetRoot
will be bound
with SetRootRule
digester rule.Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetRootRule.SetRootRule(String methodName)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetRootRule.SetRootRule(String methodName,String paramType)
instead.
SetRootRule
.PluginContext.setRuleFinders(java.util.List)
.
Rule
objects.
Rules
implementation object containing our
rules collection and associated matching policy.
Schema
for validation instead.
Schema
for validation instead.
Substitutor
to be used to convert attributes and body text.
SetTop
will be bound
with SetTopRule
digester rule.@SetTop
annotations on the same elementDigester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetTopRule.SetTopRule(String methodName)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetTopRule.SetTopRule(String methodName, String paramType)
instead.
SetTopRule
.Thread.currentThread().getContextClassLoader()
)
to resolve/load classes that are defined in various rules.
MethodUtils.invokeExactMethod
should be used for the reflection.
StackCallParam
will be bound
with CallParamRule
digester rule.StackCallParam
annotations on the same element.CallParamRule
.Rule
implementations's)
Rule
implementations's).
DigesterLoader
using the user defined
AnnotationRuleProviderFactory
implementation.
DigesterLoader
using the default
AnnotationRuleProviderFactory
implementation.
DigesterLoader
using the default
DigesterLoaderHandlerFactory
implementation.
DigesterLoader
using the user defined
DigesterLoaderHandlerFactory
implementation.
MethodUtils.invokeExactMethod
be used for reflection.
float
representing the underlying Xerces version
Rules
Decorator that returns default rules
when no matches are returned by the wrapped implementation.Digester
constructor, or use
Digester.setXMLSchema(javax.xml.validation.Schema)
for validation.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |