|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
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).
SetNestedPropertiesRule
.
SetNestedPropertiesRule
.
SetNestedPropertiesRule
.
SetRootRule
with the specified parameters.
SetRootRule
with the specified parameters.
DigesterRuleParser.setBasePath(java.lang.String)
.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use BeanPropertySetterRule.BeanPropertySetterRule()
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use BeanPropertySetterRule.BeanPropertySetterRule(String propertyName)
instead.
begin
method with namespace
and name
parameters instead.
NodeCreateRule.NodeBuilder
.
body
method
with namespace
and name
parameters
instead.
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, Class [] paramTypes)
instead.
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use CallMethodRule.CallMethodRule(String methodName,int paramCount, String [] paramTypes)
instead.
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, 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.
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.
cause -
Variable in class org.apache.commons.digester.plugins.PluginInvalidInputException
cause -
Variable in class org.apache.commons.digester.plugins.PluginAssertionFailure
cause -
Variable in class org.apache.commons.digester.plugins.PluginConfigurationException
cause -
Variable in class org.apache.commons.digester.plugins.PluginException
cause -
Variable in class org.apache.commons.digester.xmlrules.DigesterLoadingException
cause -
Variable in class org.apache.commons.digester.xmlrules.XmlLoadException
characters(char[], int, int) -
Method in class org.apache.commons.digester.NodeCreateRule.NodeBuilder
Appends a Text
node to the current node.
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 org.apache.commons.digester.xmlrules.CircularIncludeException.
Thrown when parsing XML into Digester rules, if a circular inclusion occurred
in the xml digester rules files.
CircularIncludeException(String) -
Constructor for class 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.ObjectCreateRule
The Java class name of the object to be created.
className -
Variable in class org.apache.commons.digester.FactoryCreateRule
The Java class name of the ObjectCreationFactory to be created.
clear() -
Method in class org.apache.commons.digester.WithDefaultsRulesWrapper
Clears all Rule's
clear() -
Method in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
clear() -
Method in class org.apache.commons.digester.RegexRules
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.AbstractRulesImpl
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.Digester
Clear the current contents of the object stack.
clear() -
Method in class org.apache.commons.digester.plugins.PluginRules
Clear all rules.
clear() -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.RulesPrefixAdapter
This method passes through to the underlying Rules object.
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.
configureOldXerces(SAXParser, Properties) -
Static method in class org.apache.commons.digester.parser.XercesParser
Configure schema validation as recommended by the JAXP 1.2 spec.
configureXerces(SAXParserFactory) -
Static method in class org.apache.commons.digester.parser.XercesParser
Configure schema validation as recommended by the Xerces spec.
counter -
Variable in class org.apache.commons.digester.ExtendedBaseRules
Counts the entry number for the rules.
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.
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.AbstractObjectCreationFactory
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.BeanPropertySetterRuleFactory
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.ObjectParamRuleFactory
createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.FactoryCreateRuleFactory
createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.ObjectCreateRuleFactory
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.SetTopRuleFactory
createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetNextRuleFactory
createObject(Attributes) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetRootRuleFactory
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
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
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.
currChildElementName -
Variable in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRule
currChildNamespaceURI -
Variable in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRule
D
- Declaration - class org.apache.commons.digester.plugins.Declaration.
- 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(Class) -
Constructor for class org.apache.commons.digester.plugins.Declaration
- Constructor.
- Declaration(Class, RuleLoader) -
Constructor for class org.apache.commons.digester.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.
- Declaration(String) -
Constructor for class org.apache.commons.digester.plugins.Declaration
- Constructor.
- declarationsByClass -
Variable in class org.apache.commons.digester.plugins.PluginManager
- Map of classname->Declaration
- declarationsById -
Variable in class org.apache.commons.digester.plugins.PluginManager
- Map of id->Declaration
- declarePlugin(Digester, Properties) -
Static method in class org.apache.commons.digester.plugins.PluginDeclarationRule
-
- decoratedRules -
Variable in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
-
- decoratedRules -
Variable in class org.apache.commons.digester.plugins.PluginRules
- The rules implementation that we are "enhancing" with plugins
functionality, as per the Decorator pattern.
- defaultPlugin -
Variable in class org.apache.commons.digester.plugins.PluginCreateRule
- Info about optional default plugin to be used if no plugin-id is
specified in the input data.
- defaultRules -
Variable in class org.apache.commons.digester.WithDefaultsRulesWrapper
- Rules to be fired when the wrapped implementations returns none.
- delegate -
Variable in class org.apache.commons.digester.xmlrules.DigesterRuleParser.RulesPrefixAdapter
-
- depth -
Variable in class org.apache.commons.digester.NodeCreateRule.NodeBuilder
- Depth of the current node, relative to the element where the content
handler was put into action.
- DFLT_FALSEVAL -
Static variable in class org.apache.commons.digester.plugins.strategies.FinderSetProperties
-
- DFLT_FILENAME_ATTR -
Static variable in class org.apache.commons.digester.plugins.strategies.FinderFromFile
- Xml attribute that needs to be present on a plugin declaration
in order to specify the file to load rules from.
- DFLT_METHOD_ATTR -
Static variable in class org.apache.commons.digester.plugins.strategies.FinderFromMethod
- Xml attribute that needs to be present on a plugin declaration
in order to specify the method to load rules from.
- DFLT_METHOD_ATTR -
Static variable in class org.apache.commons.digester.plugins.strategies.FinderFromClass
-
- DFLT_METHOD_NAME -
Static variable in class org.apache.commons.digester.plugins.strategies.FinderFromDfltMethod
-
- DFLT_METHOD_NAME -
Static variable in class org.apache.commons.digester.plugins.strategies.FinderFromDfltClass
-
- DFLT_METHOD_NAME -
Static variable in class org.apache.commons.digester.plugins.strategies.FinderFromClass
-
- DFLT_PLUGIN_CLASS_ATTR -
Variable in class org.apache.commons.digester.plugins.PluginContext
-
- DFLT_PLUGIN_CLASS_ATTR_NS -
Variable in class org.apache.commons.digester.plugins.PluginContext
-
- DFLT_PLUGIN_ID_ATTR -
Variable in class org.apache.commons.digester.plugins.PluginContext
-
- DFLT_PLUGIN_ID_ATTR_NS -
Variable in class org.apache.commons.digester.plugins.PluginContext
-
- DFLT_PROPS_ATTR -
Static variable in class org.apache.commons.digester.plugins.strategies.FinderSetProperties
-
- DFLT_RESOURCE_ATTR -
Static variable in class org.apache.commons.digester.plugins.strategies.FinderFromResource
- Name of xml attribute on the plugin declaration which is used
to configure rule-loading for that declaration.
- DFLT_RESOURCE_SUFFIX -
Static variable in class org.apache.commons.digester.plugins.strategies.FinderFromDfltResource
-
- DFLT_RULECLASS_ATTR -
Static variable in class org.apache.commons.digester.plugins.strategies.FinderFromClass
-
- DFLT_RULECLASS_SUFFIX -
Static variable in class org.apache.commons.digester.plugins.strategies.FinderFromDfltClass
-
- dfltMethodName -
Variable in class org.apache.commons.digester.plugins.strategies.FinderFromClass
-
- digester -
Variable in class org.apache.commons.digester.RulesBase
- The Digester instance with which this Rules instance is associated.
- digester -
Variable in class org.apache.commons.digester.AbstractRulesImpl
- Digester using this
Rules
implementation
- digester -
Variable in class org.apache.commons.digester.Rule
- The Digester with which this Rule is associated.
- digester -
Variable in class org.apache.commons.digester.AbstractObjectCreationFactory
- The associated
Digester
instance that was set up by
FactoryCreateRule
upon initialization.
- digester -
Variable in class org.apache.commons.digester.plugins.PluginRules
- The Digester instance with which this Rules instance is associated.
- Digester - class org.apache.commons.digester.Digester.
- 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_DTD_PATH -
Static variable in class org.apache.commons.digester.xmlrules.FromXmlRuleSet
-
- DIGESTER_PUBLIC_ID -
Static variable in class org.apache.commons.digester.xmlrules.DigesterRuleParser
-
- Digester() -
Constructor for class org.apache.commons.digester.Digester
- Construct a new Digester with default properties.
- Digester(SAXParser) -
Constructor for class org.apache.commons.digester.Digester
- Construct a new Digester, allowing a SAXParser to be passed in.
- Digester(XMLReader) -
Constructor for class org.apache.commons.digester.Digester
- Construct a new Digester, allowing an XMLReader to be passed in.
- digesterDtdUrl -
Variable in class org.apache.commons.digester.xmlrules.DigesterRuleParser
- path to the DTD
- DigesterLoader - class org.apache.commons.digester.xmlrules.DigesterLoader.
- This class manages the creation of Digester instances from XML digester
rules files.
- DigesterLoader() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterLoader
-
- DigesterLoadingException - exception org.apache.commons.digester.xmlrules.DigesterLoadingException.
- Thrown when an error occurs while parsing XML into Digester rules.
- DigesterLoadingException(String) -
Constructor for class org.apache.commons.digester.xmlrules.DigesterLoadingException
-
- DigesterLoadingException(String, Throwable) -
Constructor for class org.apache.commons.digester.xmlrules.DigesterLoadingException
-
- DigesterLoadingException(Throwable) -
Constructor for class org.apache.commons.digester.xmlrules.DigesterLoadingException
-
- DigesterRuleParser - class org.apache.commons.digester.xmlrules.DigesterRuleParser.
- This is a RuleSet that parses XML into Digester rules, and then
adds those rules to a 'target' Digester.
- DigesterRuleParser.BeanPropertySetterRuleFactory - class org.apache.commons.digester.xmlrules.DigesterRuleParser.BeanPropertySetterRuleFactory.
- Factory for creating a BeanPropertySetterRule.
- DigesterRuleParser.BeanPropertySetterRuleFactory() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.BeanPropertySetterRuleFactory
-
- DigesterRuleParser.CallMethodRuleFactory - class org.apache.commons.digester.xmlrules.DigesterRuleParser.CallMethodRuleFactory.
- Factory for creating a CallMethodRule.
- DigesterRuleParser.CallMethodRuleFactory() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.CallMethodRuleFactory
-
- DigesterRuleParser.CallParamRuleFactory - class org.apache.commons.digester.xmlrules.DigesterRuleParser.CallParamRuleFactory.
- Factory for creating a CallParamRule.
- DigesterRuleParser.CallParamRuleFactory() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.CallParamRuleFactory
-
- DigesterRuleParser.FactoryCreateRuleFactory - class org.apache.commons.digester.xmlrules.DigesterRuleParser.FactoryCreateRuleFactory.
- Factory for creating a FactoryCreateRule
- DigesterRuleParser.FactoryCreateRuleFactory() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.FactoryCreateRuleFactory
-
- DigesterRuleParser.IncludeRule - class org.apache.commons.digester.xmlrules.DigesterRuleParser.IncludeRule.
- A rule for including one rules XML file within another.
- DigesterRuleParser.IncludeRule() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.IncludeRule
-
- DigesterRuleParser.ObjectCreateRuleFactory - class org.apache.commons.digester.xmlrules.DigesterRuleParser.ObjectCreateRuleFactory.
- Factory for creating a ObjectCreateRule
- DigesterRuleParser.ObjectCreateRuleFactory() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.ObjectCreateRuleFactory
-
- DigesterRuleParser.ObjectParamRuleFactory - class org.apache.commons.digester.xmlrules.DigesterRuleParser.ObjectParamRuleFactory.
- Factory for creating a ObjectParamRule
- DigesterRuleParser.ObjectParamRuleFactory() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.ObjectParamRuleFactory
-
- DigesterRuleParser.PatternRule - class org.apache.commons.digester.xmlrules.DigesterRuleParser.PatternRule.
- A rule for extracting the pattern matching strings from the rules XML.
- DigesterRuleParser.PatternRule(String) -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.PatternRule
-
- DigesterRuleParser.PatternStack - class org.apache.commons.digester.xmlrules.DigesterRuleParser.PatternStack.
- A stack whose toString method returns a '/'-separated concatenation
of all the elements in the stack.
- DigesterRuleParser.PatternStack() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.PatternStack
-
- DigesterRuleParser.RulesPrefixAdapter - class org.apache.commons.digester.xmlrules.DigesterRuleParser.RulesPrefixAdapter.
- Wraps a Rules object.
- DigesterRuleParser.RulesPrefixAdapter(String, Rules) -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.RulesPrefixAdapter
-
- DigesterRuleParser.SetNextRuleFactory - class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetNextRuleFactory.
- Factory for creating a SetNextRuleFactory
- DigesterRuleParser.SetNextRuleFactory() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetNextRuleFactory
-
- DigesterRuleParser.SetPropertiesAliasRule - class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetPropertiesAliasRule.
- A rule for adding a attribute-property alias to the custom alias mappings of
the containing SetPropertiesRule rule.
- DigesterRuleParser.SetPropertiesAliasRule() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetPropertiesAliasRule
- Base constructor.
- DigesterRuleParser.SetPropertiesRuleFactory - class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetPropertiesRuleFactory.
- Factory for creating a SetPropertiesRule
- DigesterRuleParser.SetPropertiesRuleFactory() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetPropertiesRuleFactory
-
- DigesterRuleParser.SetPropertyRuleFactory - class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetPropertyRuleFactory.
- Factory for creating a SetPropertyRule
- DigesterRuleParser.SetPropertyRuleFactory() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetPropertyRuleFactory
-
- DigesterRuleParser.SetRootRuleFactory - class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetRootRuleFactory.
- Factory for creating a SetRootRuleFactory
- DigesterRuleParser.SetRootRuleFactory() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetRootRuleFactory
-
- DigesterRuleParser.SetTopRuleFactory - class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetTopRuleFactory.
- Factory for creating a SetTopRuleFactory
- DigesterRuleParser.SetTopRuleFactory() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser.SetTopRuleFactory
-
- DigesterRuleParser() -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser
- Constructs a DigesterRuleParser.
- DigesterRuleParser(Digester) -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser
- Constructs a rule set for converting XML digester rule descriptions
into Rule objects, and adding them to the given Digester
- DigesterRuleParser(Digester, DigesterRuleParser.PatternStack, Set) -
Constructor for class org.apache.commons.digester.xmlrules.DigesterRuleParser
- Constructs a rule set for parsing an XML digester rule file that
has been included within an outer XML digester rule file.
- DigesterRulesSource - interface org.apache.commons.digester.xmlrules.DigesterRulesSource.
- Interface for classes that initialize a Digester Rules object with
Digester Rules.
- doc -
Variable in class org.apache.commons.digester.NodeCreateRule.NodeBuilder
- A DOM Document used to create the various Node instances.
- documentBuilder -
Variable in class org.apache.commons.digester.NodeCreateRule
- The JAXP
DocumentBuilder
to use.
E
- elementNames -
Variable in class org.apache.commons.digester.SetNestedPropertiesRule
-
- end() -
Method in class org.apache.commons.digester.SetTopRule
- Process the end of this element.
- end() -
Method in class org.apache.commons.digester.SetRootRule
- Process the end of this element.
- end() -
Method in class org.apache.commons.digester.SetNextRule
- Process the end of this element.
- end() -
Method in class org.apache.commons.digester.ObjectCreateRule
- Process the end of this element.
- end() -
Method in class org.apache.commons.digester.NodeCreateRule
- Pop the Node off the top of the stack.
- end() -
Method in class org.apache.commons.digester.CallMethodRule
- Process the end of this element.
- end() -
Method in class org.apache.commons.digester.Rule
- Deprecated. Use the
end
method with
namespace
and name
parameters instead.
- end() -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.PatternRule
- If there was a pattern for this element, pop it off the pattern
stack.
- end(String, String) -
Method in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRule
-
- end(String, String) -
Method in class org.apache.commons.digester.FactoryCreateRule
- Process the end of this element.
- end(String, String) -
Method in class org.apache.commons.digester.CallParamRule
- Process any body texts now.
- end(String, String) -
Method in class org.apache.commons.digester.BeanPropertySetterRule
- Process the end of this element.
- end(String, String) -
Method in class org.apache.commons.digester.Rule
- This method is called when the end of a matching XML element
is encountered.
- end(String, String) -
Method in class org.apache.commons.digester.plugins.PluginCreateRule
- Invoked by the digester when the closing tag matching this Rule's
pattern is encountered.
- endDocument() -
Method in class org.apache.commons.digester.Digester
- Process notification of the end of the document being reached.
- endElement(String, String, String) -
Method in class org.apache.commons.digester.NodeCreateRule.NodeBuilder
- Checks whether control needs to be returned to Digester.
- endElement(String, String, String) -
Method in class org.apache.commons.digester.Digester
- Process notification of the end of an XML element being reached.
- endPrefixMapping(String) -
Method in class org.apache.commons.digester.Digester
- Process notification that a namespace prefix is going out of scope.
- entityResolver -
Variable in class org.apache.commons.digester.Digester
- The EntityResolver used by the SAX parser.
- entityValidator -
Variable in class org.apache.commons.digester.Digester
- The URLs of entityValidator that have been registered, keyed by the public
identifier that corresponds.
- error(SAXParseException) -
Method in class org.apache.commons.digester.Digester
- Forward notification of a parsing error to the application supplied
error handler (if any).
- errorHandler -
Variable in class org.apache.commons.digester.Digester
- The application-supplied error handler that is notified when parsing
warnings, errors, or fatal errors occur.
- exceptionIgnoredStack -
Variable in class org.apache.commons.digester.FactoryCreateRule
- Stock to manage
- expand(String) -
Method in interface org.apache.commons.digester.substitution.VariableExpander
- Return the input string with any variables replaced by their
corresponding value.
- expand(String) -
Method in class org.apache.commons.digester.substitution.MultiVariableExpander
-
- expand(String, String, Map) -
Method in class org.apache.commons.digester.substitution.MultiVariableExpander
- Replace any occurrences within the string of the form
"marker{key}" with the value from source[key].
- expander -
Variable in class org.apache.commons.digester.substitution.VariableAttributes
-
- ExtendedBaseRules - class org.apache.commons.digester.ExtendedBaseRules.
- Extension of
RulesBase
for complex schema. - ExtendedBaseRules() -
Constructor for class org.apache.commons.digester.ExtendedBaseRules
-
F
- factory -
Variable in class org.apache.commons.digester.Digester
- The SAXParserFactory that is created the first time we need it.
- FactoryCreateRule - class org.apache.commons.digester.FactoryCreateRule.
- Rule implementation that uses an
ObjectCreationFactory
to create
a new object which it pushes onto the object stack. - FactoryCreateRule(Class) -
Constructor for class org.apache.commons.digester.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(Class, boolean) -
Constructor for class org.apache.commons.digester.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(Class, String) -
Constructor for class org.apache.commons.digester.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(Class, String, boolean) -
Constructor for class org.apache.commons.digester.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(Digester, Class) -
Constructor for class org.apache.commons.digester.FactoryCreateRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use FactoryCreateRule.FactoryCreateRule(Class clazz)
instead.
- FactoryCreateRule(Digester, Class, String) -
Constructor for class org.apache.commons.digester.FactoryCreateRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use FactoryCreateRule.FactoryCreateRule(Class clazz, String attributeName)
instead.
- FactoryCreateRule(Digester, ObjectCreationFactory) -
Constructor for class org.apache.commons.digester.FactoryCreateRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use FactoryCreateRule.FactoryCreateRule(ObjectCreationFactory creationFactory)
instead.
- FactoryCreateRule(Digester, String) -
Constructor for class org.apache.commons.digester.FactoryCreateRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use FactoryCreateRule.FactoryCreateRule(String className)
instead.
- FactoryCreateRule(Digester, String, String) -
Constructor for class org.apache.commons.digester.FactoryCreateRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use FactoryCreateRule.FactoryCreateRule(String className, String attributeName)
instead.
- FactoryCreateRule(ObjectCreationFactory) -
Constructor for class org.apache.commons.digester.FactoryCreateRule
- Construct a factory create rule using the given, already instantiated,
ObjectCreationFactory
.
- FactoryCreateRule(ObjectCreationFactory, boolean) -
Constructor for class org.apache.commons.digester.FactoryCreateRule
- Construct a factory create rule using the given, already instantiated,
ObjectCreationFactory
.
- FactoryCreateRule(String) -
Constructor for class org.apache.commons.digester.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(String, boolean) -
Constructor for class org.apache.commons.digester.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(String, String) -
Constructor for class org.apache.commons.digester.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(String, String, boolean) -
Constructor for class org.apache.commons.digester.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.
- falseval -
Variable in class org.apache.commons.digester.plugins.strategies.FinderSetProperties
-
- fatalError(SAXParseException) -
Method in class org.apache.commons.digester.Digester
- Forward notification of a fatal parsing error to the application
supplied error handler (if any).
- filenameAttr -
Variable in class org.apache.commons.digester.plugins.strategies.FinderFromFile
- See
FinderFromFile.findLoader(org.apache.commons.digester.Digester, java.lang.Class, java.util.Properties)
.
- FinderFromClass - class org.apache.commons.digester.plugins.strategies.FinderFromClass.
- A rule-finding algorithm which expects the caller to specify a classname and
methodname as plugin properties.
- FinderFromClass() -
Constructor for class org.apache.commons.digester.plugins.strategies.FinderFromClass
- See
FinderFromClass.findLoader(org.apache.commons.digester.Digester, java.lang.Class, java.util.Properties)
.
- FinderFromClass(String, String, String) -
Constructor for class org.apache.commons.digester.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 org.apache.commons.digester.plugins.strategies.FinderFromDfltClass.
- 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.digester.plugins.strategies.FinderFromDfltClass
- See
FinderFromDfltClass.findLoader(org.apache.commons.digester.Digester, java.lang.Class, java.util.Properties)
.
- FinderFromDfltClass(String, String) -
Constructor for class org.apache.commons.digester.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 org.apache.commons.digester.plugins.strategies.FinderFromDfltMethod.
- A rule-finding algorithm which looks for a method with a specific name
on the plugin class.
- FinderFromDfltMethod() -
Constructor for class org.apache.commons.digester.plugins.strategies.FinderFromDfltMethod
- See
FinderFromDfltMethod.findLoader(org.apache.commons.digester.Digester, java.lang.Class, java.util.Properties)
.
- FinderFromDfltMethod(String) -
Constructor for class org.apache.commons.digester.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 org.apache.commons.digester.plugins.strategies.FinderFromDfltResource.
- 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.digester.plugins.strategies.FinderFromDfltResource
- See
FinderFromDfltResource.findLoader(org.apache.commons.digester.Digester, java.lang.Class, java.util.Properties)
.
- FinderFromDfltResource(String) -
Constructor for class org.apache.commons.digester.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 org.apache.commons.digester.plugins.strategies.FinderFromFile.
- 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.digester.plugins.strategies.FinderFromFile
- See
FinderFromFile.findLoader(org.apache.commons.digester.Digester, java.lang.Class, java.util.Properties)
.
- FinderFromFile(String) -
Constructor for class org.apache.commons.digester.plugins.strategies.FinderFromFile
- See
FinderFromFile.findLoader(org.apache.commons.digester.Digester, java.lang.Class, java.util.Properties)
.
- FinderFromMethod - class org.apache.commons.digester.plugins.strategies.FinderFromMethod.
- 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.digester.plugins.strategies.FinderFromMethod
- Constructor.
- FinderFromMethod(String) -
Constructor for class org.apache.commons.digester.plugins.strategies.FinderFromMethod
- See
FinderFromMethod.findLoader(org.apache.commons.digester.Digester, java.lang.Class, java.util.Properties)
.
- FinderFromResource - class org.apache.commons.digester.plugins.strategies.FinderFromResource.
- 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.digester.plugins.strategies.FinderFromResource
- Constructor.
- FinderFromResource(String) -
Constructor for class org.apache.commons.digester.plugins.strategies.FinderFromResource
- See
FinderFromResource.findLoader(org.apache.commons.digester.Digester, java.lang.Class, java.util.Properties)
.
- FinderSetProperties - class org.apache.commons.digester.plugins.strategies.FinderSetProperties.
- A rule-finding algorithm which expects the user to specify whether
"automatic property setting" is desired.
- FinderSetProperties() -
Constructor for class org.apache.commons.digester.plugins.strategies.FinderSetProperties
- See
FinderSetProperties.findLoader(org.apache.commons.digester.Digester, java.lang.Class, java.util.Properties)
.
- FinderSetProperties(String, String) -
Constructor for class org.apache.commons.digester.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.
- findExactAncesterMatch(String) -
Method in class org.apache.commons.digester.ExtendedBaseRules
- Finds an exact ancester match for given pattern
- findLoader(Digester, Class, Properties) -
Method in class org.apache.commons.digester.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.digester.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.
- findLoader(Digester, Class, Properties) -
Method in class org.apache.commons.digester.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.digester.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.digester.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.digester.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.digester.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.digester.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.digester.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, String, Class, Properties) -
Method in class org.apache.commons.digester.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).
- findNamespaceURI(String) -
Method in class org.apache.commons.digester.Digester
- Return the currently mapped namespace URI for the specified prefix,
if any; otherwise return
null
.
- finish() -
Method in class org.apache.commons.digester.FactoryCreateRule
- Clean up after parsing is complete.
- finish() -
Method in class org.apache.commons.digester.CallMethodRule
- Clean up after parsing is complete.
- finish() -
Method in class org.apache.commons.digester.BeanPropertySetterRule
- Clean up after parsing is complete.
- finish() -
Method in class org.apache.commons.digester.Rule
- This method is called after all parsing methods have been
called, to allow Rules to remove temporary data.
- fireBeginMethods(List, String, String, Attributes) -
Method in class org.apache.commons.digester.plugins.PluginCreateRule
- Duplicate the processing that the Digester does when firing the
begin methods of rules.
- fireBodyMethods(List, String, String, String) -
Method in class org.apache.commons.digester.plugins.PluginCreateRule
- Duplicate the processing that the Digester does when firing the
body methods of rules.
- fireEndMethods(List, String, String) -
Method in class org.apache.commons.digester.plugins.PluginCreateRule
- Duplicate the processing that the Digester does when firing the
end methods of rules.
- fromStack -
Variable in class org.apache.commons.digester.CallParamRule
- Is the parameter to be set from the stack?
- FromXmlRuleSet - class org.apache.commons.digester.xmlrules.FromXmlRuleSet.
- A Digester rule set where the rules come from an XML file.
- FromXmlRuleSet.InputSourceXMLRulesLoader - class org.apache.commons.digester.xmlrules.FromXmlRuleSet.InputSourceXMLRulesLoader.
- Loads XMLRules from an InputSource
- FromXmlRuleSet.InputSourceXMLRulesLoader(InputSource) -
Constructor for class org.apache.commons.digester.xmlrules.FromXmlRuleSet.InputSourceXMLRulesLoader
-
- FromXmlRuleSet.URLXMLRulesLoader - class org.apache.commons.digester.xmlrules.FromXmlRuleSet.URLXMLRulesLoader.
- Loads XMLRules from an URL
- FromXmlRuleSet.URLXMLRulesLoader(URL) -
Constructor for class org.apache.commons.digester.xmlrules.FromXmlRuleSet.URLXMLRulesLoader
-
- FromXmlRuleSet.XMLRulesLoader - class org.apache.commons.digester.xmlrules.FromXmlRuleSet.XMLRulesLoader.
- Worker class encapsulates loading mechanisms.
- FromXmlRuleSet.XMLRulesLoader() -
Constructor for class org.apache.commons.digester.xmlrules.FromXmlRuleSet.XMLRulesLoader
-
- FromXmlRuleSet(InputSource) -
Constructor for class org.apache.commons.digester.xmlrules.FromXmlRuleSet
- Constructs a FromXmlRuleSet using the default DigesterRuleParser and
rulesDigester.
- FromXmlRuleSet(InputSource, Digester) -
Constructor for class org.apache.commons.digester.xmlrules.FromXmlRuleSet
- Constructs a FromXmlRuleSet using the default DigesterRuleParser and
a ruleDigester for loading the rules xml.
- FromXmlRuleSet(InputSource, DigesterRuleParser) -
Constructor for class org.apache.commons.digester.xmlrules.FromXmlRuleSet
-
- FromXmlRuleSet(InputSource, DigesterRuleParser, Digester) -
Constructor for class org.apache.commons.digester.xmlrules.FromXmlRuleSet
-
- FromXmlRuleSet(URL) -
Constructor for class org.apache.commons.digester.xmlrules.FromXmlRuleSet
- Constructs a FromXmlRuleSet using the default DigesterRuleParser and
rulesDigester.
- FromXmlRuleSet(URL, Digester) -
Constructor for class org.apache.commons.digester.xmlrules.FromXmlRuleSet
- Constructs a FromXmlRuleSet using the default DigesterRuleParser and
a ruleDigester for loading the rules xml.
- FromXmlRuleSet(URL, DigesterRuleParser) -
Constructor for class org.apache.commons.digester.xmlrules.FromXmlRuleSet
-
- FromXmlRuleSet(URL, DigesterRuleParser, Digester) -
Constructor for class org.apache.commons.digester.xmlrules.FromXmlRuleSet
-
G
- GenericParser - class org.apache.commons.digester.parser.GenericParser.
- Create a
SAXParser
configured to support XML Schema and DTD. - GenericParser() -
Constructor for class org.apache.commons.digester.parser.GenericParser
-
- getAllowUnknownChildElements() -
Method in class org.apache.commons.digester.SetNestedPropertiesRule
- See
SetNestedPropertiesRule.setAllowUnknownChildElements(boolean)
.
- getCause() -
Method in class org.apache.commons.digester.plugins.PluginException
-
- getCause() -
Method in class org.apache.commons.digester.xmlrules.XmlLoadException
- Returns the cause of this throwable or null if the cause is
nonexistent or unknown.
- getClassLoader() -
Method in class org.apache.commons.digester.Digester
- Return the class loader to be used for instantiating application objects
when required.
- getCount() -
Method in class org.apache.commons.digester.Digester
- Return the current depth of the element stack.
- getCurrentElementName() -
Method in class org.apache.commons.digester.Digester
- Return the name of the XML element that is currently being processed.
- getDebug() -
Method in class org.apache.commons.digester.Digester
- Deprecated. This method now always returns 0. Digester uses the apache
jakarta commons-logging library; see the documentation for that library
for more information.
- getDeclarationByClass(String) -
Method in class org.apache.commons.digester.plugins.PluginManager
- Return the declaration object with the specified class.
- getDeclarationById(String) -
Method in class org.apache.commons.digester.plugins.PluginManager
- Return the declaration object with the specified id.
- getDecoratedRules() -
Method in class org.apache.commons.digester.plugins.PluginRules
- This package-scope method is used by the PluginCreateRule class to
get direct access to the rules that were dynamically added by the
plugin.
- getDefaults() -
Method in class org.apache.commons.digester.WithDefaultsRulesWrapper
- Gets Rule's which will be fired when the wrapped implementation returns no matches
- getDigester() -
Method in class org.apache.commons.digester.WithDefaultsRulesWrapper
- Gets digester using these Rules
- getDigester() -
Method in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
-
- getDigester() -
Method in class org.apache.commons.digester.RulesBase
- Return the Digester instance with which this Rules instance is
associated.
- getDigester() -
Method in class org.apache.commons.digester.AbstractRulesImpl
- Return the Digester instance with which this Rules instance is
associated.
- getDigester() -
Method in class org.apache.commons.digester.Rule
- Return the Digester with which this Rule is associated.
- getDigester() -
Method in interface org.apache.commons.digester.Rules
- Return the Digester instance with which this Rules instance is
associated.
- getDigester() -
Method in interface org.apache.commons.digester.ObjectCreationFactory
- Returns the
Digester
that was set by the
FactoryCreateRule
upon initialization.
- getDigester() -
Method in class org.apache.commons.digester.AbstractObjectCreationFactory
- Returns the
Digester
that was set by the
FactoryCreateRule
upon initialization.
- getDigester() -
Method in class org.apache.commons.digester.plugins.PluginRules
- Return the Digester instance with which this instance is associated.
- getDigester() -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.RulesPrefixAdapter
- This method passes through to the underlying Rules object.
- getDigesterRulesDTD() -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser
- Returns the location of the DTD used to validate the digester rules
XML document.
- getDocumentLocator() -
Method in class org.apache.commons.digester.Digester
- Gets the document locator associated with our parser.
- getEntityResolver() -
Method in class org.apache.commons.digester.Digester
- Return the Entity Resolver used by the SAX parser.
- getErrorHandler() -
Method in class org.apache.commons.digester.Digester
- Return the error handler for this Digester.
- getFactory() -
Method in class org.apache.commons.digester.Digester
- Return the SAXParserFactory we will use, creating one if necessary.
- getFactory(Attributes) -
Method in class org.apache.commons.digester.FactoryCreateRule
- Return an instance of our associated object creation factory,
creating one if necessary.
- getFeature(String) -
Method in class org.apache.commons.digester.Digester
- Returns a flag indicating whether the requested feature is supported
by the underlying implementation of
org.xml.sax.XMLReader
.
- getId() -
Method in class org.apache.commons.digester.plugins.Declaration
- Return the id associated with this declaration.
- getIndex(String) -
Method in class org.apache.commons.digester.substitution.VariableAttributes
-
- getIndex(String, String) -
Method in class org.apache.commons.digester.substitution.VariableAttributes
-
- getLength() -
Method in class org.apache.commons.digester.substitution.VariableAttributes
-
- getLocalName(int) -
Method in class org.apache.commons.digester.substitution.VariableAttributes
-
- getLog() -
Method in class org.apache.commons.digester.SimpleRegexMatcher
- Gets the
Log
implementation.
- getLogger() -
Method in class org.apache.commons.digester.Digester
- Return the current Logger associated with this instance of the Digester
- getLogger(Digester) -
Static method in class org.apache.commons.digester.plugins.LogUtils
- Get the Log object associated with the specified Digester instance,
or a "no-op" logging object if the digester reference is null.
- getMatch() -
Method in class org.apache.commons.digester.Digester
- Return the current rule match path
- getNamespaceAware() -
Method in class org.apache.commons.digester.Digester
- Return the "namespace aware" flag for parsers we create.
- getNamespaceURI() -
Method in class org.apache.commons.digester.WithDefaultsRulesWrapper
- Gets namespace to apply to Rule's added
- getNamespaceURI() -
Method in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
-
- getNamespaceURI() -
Method in class org.apache.commons.digester.RuleSetBase
- Return the namespace URI that will be applied to all Rule instances
created from this RuleSet.
- getNamespaceURI() -
Method in class org.apache.commons.digester.RulesBase
- Return the namespace URI that will be applied to all subsequently
added
Rule
objects.
- getNamespaceURI() -
Method in class org.apache.commons.digester.AbstractRulesImpl
- Return the namespace URI that will be applied to all subsequently
added
Rule
objects.
- getNamespaceURI() -
Method in interface org.apache.commons.digester.RuleSet
- Return the namespace URI that will be applied to all Rule instances
created from this RuleSet.
- getNamespaceURI() -
Method in class org.apache.commons.digester.Rule
- Return the namespace URI for which this Rule is relevant, if any.
- getNamespaceURI() -
Method in interface org.apache.commons.digester.Rules
- Return the namespace URI that will be applied to all subsequently
added
Rule
objects.
- getNamespaceURI() -
Method in class org.apache.commons.digester.plugins.PluginRules
- Return the namespace URI that will be applied to all subsequently
added
Rule
objects.
- getNamespaceURI() -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.RulesPrefixAdapter
- This method passes through to the underlying Rules object.
- getParent() -
Method in class org.apache.commons.digester.plugins.PluginRules
- Return the parent Rules object.
- getParser() -
Method in class org.apache.commons.digester.Digester
- Return the SAXParser we will use to parse the input stream.
- getPattern() -
Method in class org.apache.commons.digester.plugins.PluginCreateRule
- Return the pattern that this Rule is associated with.
- getPluginClass() -
Method in class org.apache.commons.digester.plugins.Declaration
- Return plugin class associated with this declaration.
- getPluginClassAttr() -
Method in class org.apache.commons.digester.plugins.PluginRules
- See
PluginContext.getPluginClassAttr()
.
- getPluginClassAttr() -
Method in class org.apache.commons.digester.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.digester.plugins.PluginRules
- See
PluginContext.getPluginClassAttrNs()
.
- getPluginClassAttrNs() -
Method in class org.apache.commons.digester.plugins.PluginContext
- Get the namespace for the xml attribute which indicates to a
PluginCreateRule which class is to be plugged in.
- getPluginIdAttr() -
Method in class org.apache.commons.digester.plugins.PluginRules
- See
PluginContext.getPluginIdAttr()
.
- getPluginIdAttr() -
Method in class org.apache.commons.digester.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.digester.plugins.PluginRules
- See
PluginContext.getPluginIdAttrNs()
.
- getPluginIdAttrNs() -
Method in class org.apache.commons.digester.plugins.PluginContext
- Get the namespace for the xml attribute which indicates to a
PluginCreateRule which previous plugin declaration should be used.
- getPluginManager() -
Method in class org.apache.commons.digester.plugins.PluginRules
- Return the object which "knows" about all declared plugins.
- getProperty(String) -
Method in class org.apache.commons.digester.Digester
- Return the current value of the specified property for the underlying
XMLReader
implementation.
- getPublicId() -
Method in class org.apache.commons.digester.Digester
- Return the public identifier of the DTD we are currently
parsing under, if any.
- getQName(int) -
Method in class org.apache.commons.digester.substitution.VariableAttributes
-
- getReader() -
Method in class org.apache.commons.digester.Digester
- Deprecated. Use getXMLReader() instead, which can throw a
SAXException if the reader cannot be instantiated
- getRegexMatcher() -
Method in class org.apache.commons.digester.RegexRules
- Gets the current regex matching strategy.
- getRegistrations() -
Method in class org.apache.commons.digester.Digester
- Return the set of DTD URL registrations, keyed by public identifier.
- getRoot() -
Method in class org.apache.commons.digester.Digester
- When the Digester is being used as a SAXContentHandler,
this method allows you to access the root object that has been
created after parsing.
- getRuleFinders() -
Method in class org.apache.commons.digester.plugins.PluginRules
- See
PluginContext.getRuleFinders()
.
- getRuleFinders() -
Method in class org.apache.commons.digester.plugins.PluginContext
- Return the list of RuleFinder objects.
- getRuleNamespaceURI() -
Method in class org.apache.commons.digester.Digester
- Return the namespace URI that will be applied to all subsequently
added
Rule
objects.
- getRules() -
Method in class org.apache.commons.digester.Digester
- Return the
Rules
implementation object containing our
rules collection and associated matching policy.
- getRules(Digester) -
Method in interface org.apache.commons.digester.xmlrules.DigesterRulesSource
- Creates and adds Digester Rules to a given Rules object
- getRules(String) -
Method in class org.apache.commons.digester.Digester
- Deprecated. Call
match()
on the Rules
implementation returned by getRules()
- getSAXLogger() -
Method in class org.apache.commons.digester.Digester
- Gets the logger used for logging SAX-related information.
- getSchema() -
Method in class org.apache.commons.digester.Digester
- Return the XML Schema URI used for validating an XML instance.
- getSchemaLanguage() -
Method in class org.apache.commons.digester.Digester
- Return the XML Schema language used when parsing.
- getSubstitutor() -
Method in class org.apache.commons.digester.Digester
- Gets the
Substitutor
used to convert attributes and body text.
- getTrimData() -
Method in class org.apache.commons.digester.SetNestedPropertiesRule
- See
SetNestedPropertiesRule.setTrimData(boolean)
.
- getType(int) -
Method in class org.apache.commons.digester.substitution.VariableAttributes
-
- getType(String) -
Method in class org.apache.commons.digester.substitution.VariableAttributes
-
- getType(String, String) -
Method in class org.apache.commons.digester.substitution.VariableAttributes
-
- getURI(int) -
Method in class org.apache.commons.digester.substitution.VariableAttributes
-
- getUseContextClassLoader() -
Method in class org.apache.commons.digester.Digester
- Return the boolean as to whether the context classloader should be used.
- getUseExactMatch() -
Method in class org.apache.commons.digester.CallMethodRule
- Should
MethodUtils.invokeExactMethod
be used for the reflection.
- getValidating() -
Method in class org.apache.commons.digester.Digester
- Return the validating parser flag.
- getValue(int) -
Method in class org.apache.commons.digester.substitution.VariableAttributes
-
- getValue(String) -
Method in class org.apache.commons.digester.substitution.VariableAttributes
-
- getValue(String, String) -
Method in class org.apache.commons.digester.substitution.VariableAttributes
-
- getXercesVersion() -
Static method in class org.apache.commons.digester.parser.XercesParser
- Return the current Xerces version.
- getXMLReader() -
Method in class org.apache.commons.digester.Digester
- Return the XMLReader to be used for parsing the input document.
I
- id -
Variable in class org.apache.commons.digester.plugins.Declaration
- See
Declaration.setId(java.lang.String)
.
- ignorableWhitespace(char[], int, int) -
Method in class org.apache.commons.digester.Digester
- Process notification of ignorable whitespace received from the body of
an XML element.
- ignoreCreateExceptions -
Variable in class org.apache.commons.digester.FactoryCreateRule
- Should exceptions thrown by the factory be ignored?
- includedFiles -
Variable in class org.apache.commons.digester.xmlrules.DigesterRuleParser
- Used to detect circular includes
- includeProgrammaticRules(String) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.IncludeRule
- Creates an instance of the indicated class.
- includeXMLRules(String) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.IncludeRule
- Creates another DigesterRuleParser, and uses it to extract the rules
out of the give XML file.
- init(Attributes, VariableExpander) -
Method in class org.apache.commons.digester.substitution.VariableAttributes
- Specify which attributes class this object is a proxy for.
- init(Digester, PluginManager) -
Method in class org.apache.commons.digester.plugins.Declaration
- Must be called exactly once, and must be called before any call
to the configure method.
- init(FromXmlRuleSet.XMLRulesLoader, DigesterRuleParser, Digester) -
Method in class org.apache.commons.digester.xmlrules.FromXmlRuleSet
- Base constructor
- init(String, Rules) -
Method in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
-
- initException -
Variable in class org.apache.commons.digester.plugins.PluginCreateRule
- Currently, none of the Rules methods allow exceptions to be thrown.
- InitializableRule - interface org.apache.commons.digester.plugins.InitializableRule.
- 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.digester.Digester
-
Provides a hook for lazy initialization of this
Digester
instance.
- initialized -
Variable in class org.apache.commons.digester.plugins.Declaration
- See
Declaration.init(org.apache.commons.digester.Digester, org.apache.commons.digester.plugins.PluginManager)
.
- input -
Variable in class org.apache.commons.digester.plugins.strategies.LoaderFromStream
-
- inputSource -
Variable in class org.apache.commons.digester.xmlrules.FromXmlRuleSet.InputSourceXMLRulesLoader
-
- isEmpty(String) -
Method in class org.apache.commons.digester.Digester
- Is the stack with the given name empty?
- isExactMatch() -
Method in class org.apache.commons.digester.SetTopRule
- Is exact matching being used.
- isExactMatch() -
Method in class org.apache.commons.digester.SetRootRule
- Is exact matching being used.
- isExactMatch() -
Method in class org.apache.commons.digester.SetNextRule
- Is exact matching being used.
- isXercesUsed -
Static variable in class org.apache.commons.digester.ParserFeatureSetterFactory
true
is Xerces is used.
J
- JAXP_SCHEMA_LANGUAGE -
Variable in class org.apache.commons.digester.Digester
- Deprecated. This is now managed by
ParserFeatureSetterFactory
- JAXP_SCHEMA_LANGUAGE -
Static variable in class org.apache.commons.digester.parser.XercesParser
- The JAXP 1.2 property to set up the schemaLanguage used.
- JAXP_SCHEMA_LANGUAGE -
Static variable in class org.apache.commons.digester.parser.GenericParser
- The JAXP 1.2 property to set up the schemaLanguage used.
- JAXP_SCHEMA_SOURCE -
Static variable in class org.apache.commons.digester.parser.XercesParser
- The JAXP 1.2 property required to set up the schema location.
- JAXP_SCHEMA_SOURCE -
Static variable in class org.apache.commons.digester.parser.GenericParser
- The JAXP 1.2 property required to set up the schema location.
L
- load(InputStream) -
Method in class org.apache.commons.digester.plugins.strategies.LoaderFromStream
- The contents of the input stream are loaded into memory, and
cached for later use.
- load(URL, ClassLoader, InputStream) -
Static method in class org.apache.commons.digester.xmlrules.DigesterLoader
- Given the digester rules XML file, a class loader, and an input stream,
this method parses the input into Java objects.
- load(URL, ClassLoader, InputStream, Object) -
Static method in class org.apache.commons.digester.xmlrules.DigesterLoader
- Given the digester rules XML file, a class loader, and an input stream,
this method parses the input into Java objects.
- load(URL, ClassLoader, Reader) -
Static method in class org.apache.commons.digester.xmlrules.DigesterLoader
- Given the digester rules XML file, a class loader, and an input stream,
this method parses the input into Java objects.
- load(URL, ClassLoader, Reader, Object) -
Static method in class org.apache.commons.digester.xmlrules.DigesterLoader
- Given the digester rules XML file, a class loader, and an input stream,
this method parses the input into Java objects.
- load(URL, ClassLoader, URL) -
Static method in class org.apache.commons.digester.xmlrules.DigesterLoader
- Given the digester rules XML file, a class loader, and an XML input file,
this method parses the input file into Java objects.
- load(URL, ClassLoader, URL, Object) -
Static method in class org.apache.commons.digester.xmlrules.DigesterLoader
- Given the digester rules XML file, a class loader, and an XML input file,
this method parses the input file into Java objects.
- LoaderFromClass - class org.apache.commons.digester.plugins.strategies.LoaderFromClass.
- 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.digester.plugins.strategies.LoaderFromClass
- Constructor.
- LoaderFromClass(Class, String) -
Constructor for class org.apache.commons.digester.plugins.strategies.LoaderFromClass
- Constructor.
- LoaderFromStream - class org.apache.commons.digester.plugins.strategies.LoaderFromStream.
- A rule-finding algorithm which loads an xmlplugins-format file.
- LoaderFromStream(InputStream) -
Constructor for class org.apache.commons.digester.plugins.strategies.LoaderFromStream
- See
LoaderFromStream.load(java.io.InputStream)
.
- LoaderSetProperties - class org.apache.commons.digester.plugins.strategies.LoaderSetProperties.
- 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.digester.plugins.strategies.LoaderSetProperties
-
- loadRules() -
Method in class org.apache.commons.digester.xmlrules.FromXmlRuleSet.XMLRulesLoader
- Load rules now
- loadRules() -
Method in class org.apache.commons.digester.xmlrules.FromXmlRuleSet.URLXMLRulesLoader
-
- loadRules() -
Method in class org.apache.commons.digester.xmlrules.FromXmlRuleSet.InputSourceXMLRulesLoader
-
- loadRules(Digester, Class, InputStream, String) -
Static method in class org.apache.commons.digester.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.
- locateMethod(Class, String) -
Static method in class org.apache.commons.digester.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);
.
- locator -
Variable in class org.apache.commons.digester.Digester
- The Locator associated with our parser.
- log -
Variable in class org.apache.commons.digester.SimpleRegexMatcher
- Custom log (can be set per object)
- log -
Variable in class org.apache.commons.digester.SetNestedPropertiesRule
-
- log -
Variable in class org.apache.commons.digester.Digester
- The Log to which most logging calls will be made.
- log -
Static variable in class org.apache.commons.digester.parser.XercesParser
- The Log to which all SAX event related logging calls will be made.
- log -
Static variable in class org.apache.commons.digester.parser.GenericParser
- The Log to which all SAX event related logging calls will be made.
- log(String) -
Method in class org.apache.commons.digester.Digester
- Deprecated. Call getLogger() and use it's logging methods
- log(String, Throwable) -
Method in class org.apache.commons.digester.Digester
- Deprecated. Call getLogger() and use it's logging methods
- LogUtils - class org.apache.commons.digester.plugins.LogUtils.
- Simple utility class to assist in logging.
- LogUtils() -
Constructor for class org.apache.commons.digester.plugins.LogUtils
-
- lookup(String, String) -
Method in class org.apache.commons.digester.RulesBase
- Return a List of Rule instances for the specified pattern that also
match the specified namespace URI (if any).
M
- markers -
Variable in class org.apache.commons.digester.substitution.MultiVariableExpander
-
- match -
Variable in class org.apache.commons.digester.Digester
- The current match pattern for nested element processing.
- match(String) -
Method in class org.apache.commons.digester.WithDefaultsRulesWrapper
-
- match(String) -
Method in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
-
- match(String) -
Method in class org.apache.commons.digester.RulesBase
- Deprecated. Call match(namespaceURI,pattern) instead.
- match(String) -
Method in class org.apache.commons.digester.AbstractRulesImpl
- Deprecated. Call match(namespaceURI,pattern) instead.
- match(String) -
Method in interface org.apache.commons.digester.Rules
- Deprecated. Call match(namespaceURI,pattern) instead.
- match(String) -
Method in class org.apache.commons.digester.plugins.PluginRules
- Deprecated. Call match(namespaceURI,pattern) instead.
- match(String) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.RulesPrefixAdapter
- Deprecated. Call match(namespaceURI,pattern) instead.
- match(String, String) -
Method in class org.apache.commons.digester.WithDefaultsRulesWrapper
- Return list of rules matching given pattern.
- match(String, String) -
Method in class org.apache.commons.digester.SimpleRegexMatcher
- Matches using simple regex algorithm.
- match(String, String) -
Method in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
-
- match(String, String) -
Method in class org.apache.commons.digester.RegexRules
- Finds matching rules by using current regex matching strategy.
- match(String, String) -
Method in class org.apache.commons.digester.RegexMatcher
- Returns true if the given pattern matches the given path
according to the regex algorithm that this strategy applies.
- match(String, String) -
Method in class org.apache.commons.digester.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.digester.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) -
Method in class org.apache.commons.digester.AbstractRulesImpl
- 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 interface org.apache.commons.digester.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) -
Method in class org.apache.commons.digester.plugins.PluginRules
- Return a List of all registered Rule instances that match the specified
nodepath, or a zero-length List if there are no matches.
- match(String, String) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.RulesPrefixAdapter
- This method passes through to the underlying Rules object.
- match(String, String, int, int) -
Method in class org.apache.commons.digester.SimpleRegexMatcher
- Implementation of regex matching algorithm.
- matcher -
Variable in class org.apache.commons.digester.RegexRules
- The regex strategy used by this RegexRules
- matches -
Variable in class org.apache.commons.digester.Digester
- Stack whose elements are List objects, each containing a list of
Rule objects as returned from Rules.getMatch().
- matchPrefix -
Variable in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
-
- methodAttr -
Variable in class org.apache.commons.digester.plugins.strategies.FinderFromMethod
- See
FinderFromMethod.findLoader(org.apache.commons.digester.Digester, java.lang.Class, java.util.Properties)
.
- methodAttr -
Variable in class org.apache.commons.digester.plugins.strategies.FinderFromClass
-
- methodName -
Variable in class org.apache.commons.digester.SetTopRule
- The method name to call on the child object.
- methodName -
Variable in class org.apache.commons.digester.SetRootRule
- The method name to call on the parent object.
- methodName -
Variable in class org.apache.commons.digester.SetNextRule
- The method name to call on the parent object.
- methodName -
Variable in class org.apache.commons.digester.CallMethodRule
- The method name to call on the parent object.
- methodName -
Variable in class org.apache.commons.digester.plugins.strategies.FinderFromDfltMethod
-
- methodName -
Variable in class org.apache.commons.digester.plugins.strategies.FinderFromDfltClass
-
- mountPoint -
Variable in class org.apache.commons.digester.plugins.PluginRules
- The path below which this rules object has responsibility.
- MultiVariableExpander - class org.apache.commons.digester.substitution.MultiVariableExpander.
- Expands variable references from multiple sources.
- MultiVariableExpander() -
Constructor for class org.apache.commons.digester.substitution.MultiVariableExpander
-
N
- name -
Variable in class org.apache.commons.digester.SetPropertyRule
- The attribute that will contain the property name.
- namespaceAware -
Variable in class org.apache.commons.digester.Digester
- Do we want a "namespace aware" parser.
- namespaces -
Variable in class org.apache.commons.digester.Digester
- Registered namespaces we are currently processing.
- namespaceURI -
Variable in class org.apache.commons.digester.RuleSetBase
- The namespace URI that all Rule instances created by this RuleSet
will be associated with.
- namespaceURI -
Variable in class org.apache.commons.digester.RulesBase
- The namespace URI for which subsequently added
Rule
objects are relevant, or null
for matching independent
of namespaces.
- namespaceURI -
Variable in class org.apache.commons.digester.AbstractRulesImpl
- Namespace uri to assoicate with subsequent
Rule
's
- namespaceURI -
Variable in class org.apache.commons.digester.Rule
- The namespace URI for which this Rule is relevant, if any.
- nEntries -
Variable in class org.apache.commons.digester.substitution.MultiVariableExpander
-
- newRules -
Variable in class org.apache.commons.digester.SetNestedPropertiesRule
-
- newSAXParser(Properties) -
Static method in class org.apache.commons.digester.ParserFeatureSetterFactory
- Create a new
SAXParser
- newSAXParser(Properties) -
Static method in class org.apache.commons.digester.parser.XercesParser
- Create a
SAXParser
based on the underlying
Xerces
version.
- newSAXParser(Properties) -
Static method in class org.apache.commons.digester.parser.GenericParser
- Create a
SAXParser
configured to support XML Scheman and DTD
- NodeCreateRule - class org.apache.commons.digester.NodeCreateRule.
- A rule implementation that creates a DOM
Node
containing the XML at the element that matched
the rule. - NodeCreateRule.NodeBuilder - class org.apache.commons.digester.NodeCreateRule.NodeBuilder.
- The SAX content handler that does all the actual work of assembling the
DOM node tree from the SAX events.
- NodeCreateRule.NodeBuilder(Document, Node) -
Constructor for class org.apache.commons.digester.NodeCreateRule.NodeBuilder
- Constructor.
- NodeCreateRule() -
Constructor for class org.apache.commons.digester.NodeCreateRule
- Default constructor.
- NodeCreateRule(DocumentBuilder) -
Constructor for class org.apache.commons.digester.NodeCreateRule
- Constructor.
- NodeCreateRule(int) -
Constructor for class org.apache.commons.digester.NodeCreateRule
- Constructor.
- NodeCreateRule(int, DocumentBuilder) -
Constructor for class org.apache.commons.digester.NodeCreateRule
- Constructor.
- nodeType -
Variable in class org.apache.commons.digester.NodeCreateRule
- The type of the node that should be created.
- notationDecl(String, String, String) -
Method in class org.apache.commons.digester.Digester
- Receive notification of a notation declaration event.
O
- ObjectCreateRule - class org.apache.commons.digester.ObjectCreateRule.
- Rule implementation that creates a new object and pushes it
onto the object stack.
- ObjectCreateRule(Class) -
Constructor for class org.apache.commons.digester.ObjectCreateRule
- Construct an object create rule with the specified class.
- ObjectCreateRule(Digester, Class) -
Constructor for class org.apache.commons.digester.ObjectCreateRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use ObjectCreateRule.ObjectCreateRule(Class clazz)
instead.
- ObjectCreateRule(Digester, String) -
Constructor for class org.apache.commons.digester.ObjectCreateRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use ObjectCreateRule.ObjectCreateRule(String className)
instead.
- ObjectCreateRule(Digester, String, Class) -
Constructor for class org.apache.commons.digester.ObjectCreateRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use ObjectCreateRule.ObjectCreateRule(String attributeName, Class clazz)
instead.
- ObjectCreateRule(Digester, String, String) -
Constructor for class org.apache.commons.digester.ObjectCreateRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use ObjectCreateRule.ObjectCreateRule(String className, String attributeName)
instead.
- ObjectCreateRule(String) -
Constructor for class org.apache.commons.digester.ObjectCreateRule
- Construct an object create rule with the specified class name.
- ObjectCreateRule(String, Class) -
Constructor for class org.apache.commons.digester.ObjectCreateRule
- Construct an object create rule with the specified class and an
optional attribute name containing an override.
- ObjectCreateRule(String, String) -
Constructor for class org.apache.commons.digester.ObjectCreateRule
- Construct an object create rule with the specified class name and an
optional attribute name containing an override.
- ObjectCreationFactory - interface org.apache.commons.digester.ObjectCreationFactory.
- Interface for use with
FactoryCreateRule
. - ObjectParamRule - class org.apache.commons.digester.ObjectParamRule.
- Rule implementation that saves a parameter for use by a surrounding
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.
oldContentHandler -
Variable in class org.apache.commons.digester.NodeCreateRule.NodeBuilder
The content handler used by Digester before it was set to this
content handler.
oldRules -
Variable in class org.apache.commons.digester.SetNestedPropertiesRule
order -
Variable in class org.apache.commons.digester.ExtendedBaseRules
The decision algorithm used (unfortunately) doesn't preserve the entry
order.
org.apache.commons.digester - package org.apache.commons.digester
The Digester package provides for rules-based processing of arbitrary
XML documents.
org.apache.commons.digester.parser - package org.apache.commons.digester.parser
Provides for parser recognition and parser dependent code.
org.apache.commons.digester.plugins - package org.apache.commons.digester.plugins
Provides an easy mechanism whereby new digestion rules
can be added dynamically during a digestion.
org.apache.commons.digester.plugins.strategies - package org.apache.commons.digester.plugins.strategies
This package contains "rule-finding" strategy classes, and their associated
"helper" loader classes.
org.apache.commons.digester.substitution - package org.apache.commons.digester.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 xmlrules
package provides for XML-based definition of
rules for Digester
.
P
- param -
Variable in class org.apache.commons.digester.ObjectParamRule
- The parameter we wish to pass to the method call
- paramClassNames -
Variable in class org.apache.commons.digester.CallMethodRule
- The names of the classes of the parameters to be collected.
- paramCount -
Variable in class org.apache.commons.digester.CallMethodRule
- The number of parameters to collect from
MethodParam
rules.
- paramIndex -
Variable in class org.apache.commons.digester.PathCallParamRule
- The zero-relative index of the parameter we are saving.
- paramIndex -
Variable in class org.apache.commons.digester.ObjectParamRule
- The zero-relative index of the parameter we are saving.
- paramIndex -
Variable in class org.apache.commons.digester.CallParamRule
- The zero-relative index of the parameter we are saving.
- params -
Variable in class org.apache.commons.digester.Digester
- The parameters stack being utilized by CallMethodRule and
CallParamRule rules.
- paramType -
Variable in class org.apache.commons.digester.SetTopRule
- The Java class name of the parameter type expected by the method.
- paramType -
Variable in class org.apache.commons.digester.SetRootRule
- The Java class name of the parameter type expected by the method.
- paramType -
Variable in class org.apache.commons.digester.SetNextRule
- The Java class name of the parameter type expected by the method.
- paramTypes -
Variable in class org.apache.commons.digester.CallMethodRule
- The parameter types of the parameters to be collected.
- parent -
Variable in class org.apache.commons.digester.plugins.PluginRules
- The Rules object that holds rules applying "above" the mountpoint,
ie the next Rules object down in the stack.
- parent -
Variable in class org.apache.commons.digester.plugins.PluginManager
- the parent manager to which this one may delegate lookups.
- parentMatch(String, String, String) -
Method in class org.apache.commons.digester.ExtendedBaseRules
- Matching parent.
- parse(File) -
Method in class org.apache.commons.digester.Digester
- Parse the content of the specified file using this Digester.
- parse(InputSource) -
Method in class org.apache.commons.digester.Digester
- Parse the content of the specified input source using this Digester.
- parse(InputStream) -
Method in class org.apache.commons.digester.Digester
- Parse the content of the specified input stream using this Digester.
- parse(Reader) -
Method in class org.apache.commons.digester.Digester
- Parse the content of the specified reader using this Digester.
- parse(String) -
Method in class org.apache.commons.digester.Digester
- Parse the content of the specified URI using this Digester.
- parser -
Variable in class org.apache.commons.digester.Digester
- The SAXParser we will use to parse the input stream.
- parser -
Variable in class org.apache.commons.digester.xmlrules.FromXmlRuleSet
- The rule set for parsing the Digester rules
- ParserFeatureSetterFactory - class org.apache.commons.digester.ParserFeatureSetterFactory.
- Creates a
SAXParser
based on the underlying parser. - ParserFeatureSetterFactory() -
Constructor for class org.apache.commons.digester.ParserFeatureSetterFactory
-
- PathCallParamRule - class org.apache.commons.digester.PathCallParamRule.
- 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.digester.PathCallParamRule
- Construct a "call parameter" rule that will save the body text of this
element as the parameter value.
- pattern -
Variable in class org.apache.commons.digester.RegexRules.RegisteredRule
-
- pattern -
Variable in class org.apache.commons.digester.plugins.PluginCreateRule
- In order to invoke the addRules method on the plugin class correctly,
we need to know the pattern which this rule is matched by.
- pattern -
Variable in class org.apache.commons.digester.xmlrules.DigesterRuleParser.PatternRule
-
- patternStack -
Variable in class org.apache.commons.digester.xmlrules.DigesterRuleParser
- A stack used to maintain the current pattern.
- peek() -
Method in class org.apache.commons.digester.Digester
- Return the top object on the stack without removing it.
- peek(int) -
Method in class org.apache.commons.digester.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.digester.Digester
- Gets the top object from the stack with the given name.
- peekParams() -
Method in class org.apache.commons.digester.Digester
- Return the top object on the parameters stack without removing it.
- peekParams(int) -
Method in class org.apache.commons.digester.Digester
- Return the n'th object down the parameters stack, where 0 is the top element
and [getCount()-1] is the bottom element.
- PluginAssertionFailure - exception org.apache.commons.digester.plugins.PluginAssertionFailure.
- Thrown when a bug is detected in the plugins code.
- PluginAssertionFailure(String) -
Constructor for class org.apache.commons.digester.plugins.PluginAssertionFailure
-
- PluginAssertionFailure(String, Throwable) -
Constructor for class org.apache.commons.digester.plugins.PluginAssertionFailure
-
- PluginAssertionFailure(Throwable) -
Constructor for class org.apache.commons.digester.plugins.PluginAssertionFailure
-
- pluginClass -
Variable in class org.apache.commons.digester.plugins.Declaration
- The class of the object to be instantiated.
- pluginClassAttr -
Variable in class org.apache.commons.digester.plugins.PluginCreateRule
-
- pluginClassAttr -
Variable in class org.apache.commons.digester.plugins.PluginContext
- See
PluginContext.setPluginClassAttribute(java.lang.String, java.lang.String)
.
- pluginClassAttrNs -
Variable in class org.apache.commons.digester.plugins.PluginCreateRule
-
- pluginClassAttrNs -
Variable in class org.apache.commons.digester.plugins.PluginContext
- See
PluginContext.setPluginClassAttribute(java.lang.String, java.lang.String)
.
- pluginClassName -
Variable in class org.apache.commons.digester.plugins.Declaration
- The name of the class of the object to be instantiated.
- PluginConfigurationException - exception org.apache.commons.digester.plugins.PluginConfigurationException.
- Thrown when an error occurs due to the way the calling application uses
the plugins module.
- PluginConfigurationException(String) -
Constructor for class org.apache.commons.digester.plugins.PluginConfigurationException
-
- PluginConfigurationException(String, Throwable) -
Constructor for class org.apache.commons.digester.plugins.PluginConfigurationException
-
- PluginConfigurationException(Throwable) -
Constructor for class org.apache.commons.digester.plugins.PluginConfigurationException
-
- pluginContext -
Variable in class org.apache.commons.digester.plugins.PluginRules
- A reference to the object that holds all data which should only
exist once per digester instance.
- pluginContext -
Variable in class org.apache.commons.digester.plugins.PluginManager
- The object containing data that should only exist once for each
Digester instance.
- PluginContext - class org.apache.commons.digester.plugins.PluginContext.
- Provides data and services which should exist only once per digester.
- PluginContext() -
Constructor for class org.apache.commons.digester.plugins.PluginContext
-
- PluginCreateRule - class org.apache.commons.digester.plugins.PluginCreateRule.
- 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.digester.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.digester.plugins.PluginCreateRule
- Create a plugin rule where the user may specify a plugin.
- PluginCreateRule(Class, Class, RuleLoader) -
Constructor for class org.apache.commons.digester.plugins.PluginCreateRule
- Create a plugin rule where the user may specify a plugin.
- PluginDeclarationRule - class org.apache.commons.digester.plugins.PluginDeclarationRule.
- 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.digester.plugins.PluginDeclarationRule
- constructor
- PluginException - exception org.apache.commons.digester.plugins.PluginException.
- Thrown when some plugin-related error has occurred, and none of the
other exception types are appropriate.
- PluginException(String) -
Constructor for class org.apache.commons.digester.plugins.PluginException
-
- PluginException(String, Throwable) -
Constructor for class org.apache.commons.digester.plugins.PluginException
-
- PluginException(Throwable) -
Constructor for class org.apache.commons.digester.plugins.PluginException
-
- pluginIdAttr -
Variable in class org.apache.commons.digester.plugins.PluginCreateRule
-
- pluginIdAttr -
Variable in class org.apache.commons.digester.plugins.PluginContext
- See
PluginContext.setPluginClassAttribute(java.lang.String, java.lang.String)
.
- pluginIdAttrNs -
Variable in class org.apache.commons.digester.plugins.PluginCreateRule
-
- pluginIdAttrNs -
Variable in class org.apache.commons.digester.plugins.PluginContext
- See
PluginContext.setPluginClassAttribute(java.lang.String, java.lang.String)
.
- PluginInvalidInputException - exception org.apache.commons.digester.plugins.PluginInvalidInputException.
- Thrown when an error occurs due to bad data in the file being parsed.
- PluginInvalidInputException(String) -
Constructor for class org.apache.commons.digester.plugins.PluginInvalidInputException
-
- PluginInvalidInputException(String, Throwable) -
Constructor for class org.apache.commons.digester.plugins.PluginInvalidInputException
-
- PluginInvalidInputException(Throwable) -
Constructor for class org.apache.commons.digester.plugins.PluginInvalidInputException
-
- pluginManager -
Variable in class org.apache.commons.digester.plugins.PluginRules
- Object which contains information about all known plugins.
- PluginManager - class org.apache.commons.digester.plugins.PluginManager.
- 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.digester.plugins.PluginManager
- Construct a "root" PluginManager, ie one with no parent.
- PluginManager(PluginManager) -
Constructor for class org.apache.commons.digester.plugins.PluginManager
- Construct a "child" PluginManager.
- PluginRules - class org.apache.commons.digester.plugins.PluginRules.
- 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.digester.plugins.PluginRules
- Constructor for top-level Rules objects.
- PluginRules(Rules) -
Constructor for class org.apache.commons.digester.plugins.PluginRules
- Constructor for top-level Rules object which handles rule-matching
using the specified implementation.
- PluginRules(String, PluginRules) -
Constructor for class org.apache.commons.digester.plugins.PluginRules
- Constructs a Rules instance which has a parent Rules object
(which is different from having a delegate rules object).
- pop() -
Method in class org.apache.commons.digester.Digester
- Pop the top object off of the stack, and return it.
- pop(String) -
Method in class org.apache.commons.digester.Digester
- Pops (gets and removes) the top object from the stack with the given name.
- popParams() -
Method in class org.apache.commons.digester.Digester
- Pop the top object off of the parameters stack, and return it.
- postRegisterInit(String) -
Method in class org.apache.commons.digester.plugins.PluginCreateRule
- Invoked after this rule has been added to the set of digester rules,
associated with the specified pattern.
- postRegisterInit(String) -
Method in interface org.apache.commons.digester.plugins.InitializableRule
- Called after this Rule object has been added to the list of all Rules.
- prefix -
Variable in class org.apache.commons.digester.xmlrules.DigesterRuleParser.RulesPrefixAdapter
-
- processingInstruction(String, String) -
Method in class org.apache.commons.digester.NodeCreateRule.NodeBuilder
- Adds a new
ProcessingInstruction
to
the current node.
- processingInstruction(String, String) -
Method in class org.apache.commons.digester.Digester
- Process notification of a processing instruction that was encountered.
- processMethodCallResult(Object) -
Method in class org.apache.commons.digester.CallMethodRule
- Subclasses may override this method to perform additional processing of the
invoked method's result.
- PROP_IGNORE -
Static variable in class org.apache.commons.digester.SetNestedPropertiesRule
- Dummy object that can be placed in collections to indicate an
ignored property when null cannot be used for that purpose.
- properties -
Variable in class org.apache.commons.digester.plugins.Declaration
- See
Declaration.setProperties(java.util.Properties)
.
- propertyName -
Variable in class org.apache.commons.digester.BeanPropertySetterRule
- Set this property on the top object.
- propertyNames -
Variable in class org.apache.commons.digester.SetPropertiesRule
- Property names used to override natural attribute->property mapping
- propsAttr -
Variable in class org.apache.commons.digester.plugins.strategies.FinderSetProperties
-
- publicId -
Variable in class org.apache.commons.digester.Digester
- The public identifier of the DTD we are currently parsing under
(if any).
- push(Object) -
Method in class org.apache.commons.digester.Digester
- Push a new object onto the top of the object stack.
- push(String, Object) -
Method in class org.apache.commons.digester.Digester
- Pushes the given object onto the stack with the given name.
- pushParams(Object) -
Method in class org.apache.commons.digester.Digester
- Push a new object onto the top of the parameters stack.
R
- reader -
Variable in class org.apache.commons.digester.Digester
- The XMLReader used to parse digester rules.
- RegexMatcher - class org.apache.commons.digester.RegexMatcher.
- Regular expression matching strategy for RegexRules.
- RegexMatcher() -
Constructor for class org.apache.commons.digester.RegexMatcher
-
- RegexRules - class org.apache.commons.digester.RegexRules.
- Rules implementation that uses regular expression matching for paths.
- RegexRules.RegisteredRule - class org.apache.commons.digester.RegexRules.RegisteredRule.
- Used to associate rules with paths in the rules list
- RegexRules.RegisteredRule(String, Rule) -
Constructor for class org.apache.commons.digester.RegexRules.RegisteredRule
-
- RegexRules(RegexMatcher) -
Constructor for class org.apache.commons.digester.RegexRules
- Construct sets the Regex matching strategy.
- register(String, String) -
Method in class org.apache.commons.digester.Digester
- Register the specified DTD URL for the specified public identifier.
- registeredRules -
Variable in class org.apache.commons.digester.RegexRules
- All registered
Rule
's
- registerRule(String, Rule) -
Method in class org.apache.commons.digester.RegexRules
- Register a new Rule instance matching the specified pattern.
- registerRule(String, Rule) -
Method in class org.apache.commons.digester.AbstractRulesImpl
- Register rule at given pattern.
- resolveEntity(String, String) -
Method in class org.apache.commons.digester.Digester
- Resolve the requested external entity.
- resourceAttr -
Variable in class org.apache.commons.digester.plugins.strategies.FinderFromResource
- See
FinderFromResource.findLoader(org.apache.commons.digester.Digester, java.lang.Class, java.util.Properties)
.
- resourceSuffix -
Variable in class org.apache.commons.digester.plugins.strategies.FinderFromDfltResource
-
- root -
Variable in class org.apache.commons.digester.NodeCreateRule.NodeBuilder
- The DOM node that will be pushed on Digester's stack.
- root -
Variable in class org.apache.commons.digester.Digester
- The "root" element of the stack (in other words, the last object
that was popped.
- rule -
Variable in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
-
- rule -
Variable in class org.apache.commons.digester.RegexRules.RegisteredRule
-
- Rule - class org.apache.commons.digester.Rule.
- 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.digester.Rule
- Base constructor.
- Rule(Digester) -
Constructor for class org.apache.commons.digester.Rule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method. Use Rule.Rule()
instead.
- ruleClassAttr -
Variable in class org.apache.commons.digester.plugins.strategies.FinderFromClass
-
- RuleFinder - class org.apache.commons.digester.plugins.RuleFinder.
- 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.digester.plugins.RuleFinder
-
- ruleFinders -
Variable in class org.apache.commons.digester.plugins.PluginContext
- A list of RuleFinder objects used by all Declarations (and thus
indirectly by all PluginCreateRules to locate the custom rules
for plugin classes.
- ruleLoader -
Variable in class org.apache.commons.digester.plugins.Declaration
- Class which is responsible for dynamically loading this
plugin's rules on demand.
- RuleLoader - class org.apache.commons.digester.plugins.RuleLoader.
- Interface for classes which can dynamically load custom
plugin rules associated with a user's plugin class.
- RuleLoader() -
Constructor for class org.apache.commons.digester.plugins.RuleLoader
-
- rules -
Variable in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
-
- rules -
Variable in class org.apache.commons.digester.RulesBase
- The set of registered Rule instances, in the order that they were
originally registered.
- rules -
Variable in class org.apache.commons.digester.Digester
- The
Rules
implementation containing our collection of
Rule
instances and associated matching policy.
- Rules - interface org.apache.commons.digester.Rules.
- 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 class org.apache.commons.digester.WithDefaultsRulesWrapper
- Gets all rules
- rules() -
Method in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
-
- rules() -
Method in class org.apache.commons.digester.RegexRules
- 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.digester.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.digester.AbstractRulesImpl
- Return a List of all registered Rule instances, or a zero-length List
if there are no registered Rule instances.
- rules() -
Method in interface org.apache.commons.digester.Rules
- 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.digester.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.digester.xmlrules.DigesterRuleParser.RulesPrefixAdapter
- This method passes through to the underlying Rules object.
- RulesBase - class org.apache.commons.digester.RulesBase.
- Default implementation of the
Rules
interface that supports
the standard rule matching behavior. - RulesBase() -
Constructor for class org.apache.commons.digester.RulesBase
-
- rulesClass -
Variable in class org.apache.commons.digester.plugins.strategies.LoaderFromClass
-
- rulesClassSuffix -
Variable in class org.apache.commons.digester.plugins.strategies.FinderFromDfltClass
-
- rulesDigester -
Variable in class org.apache.commons.digester.xmlrules.FromXmlRuleSet
- The digester for loading the rules xml.
- ruleSet -
Variable in class org.apache.commons.digester.plugins.strategies.LoaderFromStream
-
- RuleSet - interface org.apache.commons.digester.RuleSet.
- 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 org.apache.commons.digester.RuleSetBase.
- Convenience base class that implements the
RuleSet
interface. - RuleSetBase() -
Constructor for class org.apache.commons.digester.RuleSetBase
-
- rulesLoader -
Variable in class org.apache.commons.digester.xmlrules.FromXmlRuleSet
- The file containing the Digester rules, in XML.
- rulesMethod -
Variable in class org.apache.commons.digester.plugins.strategies.LoaderFromClass
-
S
- saxLog -
Variable in class org.apache.commons.digester.Digester
- The Log to which all SAX event related logging calls will be made.
- schemaLanguage -
Variable in class org.apache.commons.digester.Digester
- The XML schema language to use for validating an XML instance.
- schemaLocation -
Variable in class org.apache.commons.digester.Digester
- The XML schema to use for validating an XML instance.
- setAllowUnknownChildElements(boolean) -
Method in class org.apache.commons.digester.SetNestedPropertiesRule
- When set to true, any child element for which there is no
corresponding object property will cause an error to be reported.
- setBasePath(String) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser
- Set a base pattern beneath which all the rules loaded by this
object will be registered.
- setClassLoader(ClassLoader) -
Method in class org.apache.commons.digester.Digester
- Set the class loader to be used for instantiating application objects
when required.
- setDebug(int) -
Method in class org.apache.commons.digester.Digester
- Deprecated. This method now has no effect at all. Digester uses
the apache jakarta comons-logging library; see the documentation
for that library for more information.
- setDigester(Digester) -
Method in class org.apache.commons.digester.WithDefaultsRulesWrapper
- Sets digeseter using these Rules
- setDigester(Digester) -
Method in class org.apache.commons.digester.SetNestedPropertiesRule
- Invoked when rule is added to digester.
- setDigester(Digester) -
Method in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
-
- setDigester(Digester) -
Method in class org.apache.commons.digester.RulesBase
- Set the Digester instance with which this Rules instance is associated.
- setDigester(Digester) -
Method in class org.apache.commons.digester.CallMethodRule
- Set the associated digester.
- setDigester(Digester) -
Method in class org.apache.commons.digester.AbstractRulesImpl
- Set the Digester instance with which this Rules instance is associated.
- setDigester(Digester) -
Method in class org.apache.commons.digester.Rule
- Set the
Digester
with which this Rule
is associated.
- setDigester(Digester) -
Method in interface org.apache.commons.digester.Rules
- Set the Digester instance with which this Rules instance is associated.
- setDigester(Digester) -
Method in interface org.apache.commons.digester.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.digester.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.digester.plugins.PluginRules
- Set the Digester instance with which this Rules instance is associated.
- setDigester(Digester) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.RulesPrefixAdapter
- This method passes through to the underlying Rules object.
- setDigesterRulesDTD(String) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser
- Sets the location of the digester rules DTD.
- setDocumentLocator(Locator) -
Method in class org.apache.commons.digester.Digester
- Sets the document locator associated with our parser.
- setEntityResolver(EntityResolver) -
Method in class org.apache.commons.digester.Digester
- Set the
EntityResolver
used by SAX when resolving
public id and system id.
- setErrorHandler(ErrorHandler) -
Method in class org.apache.commons.digester.Digester
- Set the error handler for this Digester.
- setExactMatch(boolean) -
Method in class org.apache.commons.digester.SetTopRule
- Set whether exact matching is enabled.
- setExactMatch(boolean) -
Method in class org.apache.commons.digester.SetRootRule
- Set whether exact matching is enabled.
- setExactMatch(boolean) -
Method in class org.apache.commons.digester.SetNextRule
- Set whether exact matching is enabled.
- setFeature(String, boolean) -
Method in class org.apache.commons.digester.Digester
- Sets a flag indicating whether the requested feature is supported
by the underlying implementation of
org.xml.sax.XMLReader
.
- setId(String) -
Method in class org.apache.commons.digester.plugins.Declaration
- The id that the user associated with a particular plugin declaration
in the input xml.
- setLog(Log) -
Method in class org.apache.commons.digester.SimpleRegexMatcher
- Sets the current
Log
implementation used by this class.
- setLogger(Log) -
Method in class org.apache.commons.digester.Digester
- Set the current logger for this Digester.
- setNamespaceAware(boolean) -
Method in class org.apache.commons.digester.Digester
- Set the "namespace aware" flag for parsers we create.
- setNamespaceURI(String) -
Method in class org.apache.commons.digester.WithDefaultsRulesWrapper
- Sets namespace to apply to Rule's added subsequently
- setNamespaceURI(String) -
Method in class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
-
- setNamespaceURI(String) -
Method in class org.apache.commons.digester.RulesBase
- Set the namespace URI that will be applied to all subsequently
added
Rule
objects.
- setNamespaceURI(String) -
Method in class org.apache.commons.digester.AbstractRulesImpl
- Set the namespace URI that will be applied to all subsequently
added
Rule
objects.
- setNamespaceURI(String) -
Method in class org.apache.commons.digester.Rule
- Set the namespace URI for which this Rule is relevant, if any.
- setNamespaceURI(String) -
Method in interface org.apache.commons.digester.Rules
- Set the namespace URI that will be applied to all subsequently
added
Rule
objects.
- setNamespaceURI(String) -
Method in class org.apache.commons.digester.plugins.PluginRules
- Set the namespace URI that will be applied to all subsequently
added
Rule
objects.
- setNamespaceURI(String) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.RulesPrefixAdapter
- This method passes through to the underlying Rules object.
- SetNestedPropertiesRule - class org.apache.commons.digester.SetNestedPropertiesRule.
- 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.AnyChildRule - class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRule.
-
- SetNestedPropertiesRule.AnyChildRule() -
Constructor for class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRule
-
- SetNestedPropertiesRule.AnyChildRules - class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules.
- Private Rules implementation
- SetNestedPropertiesRule.AnyChildRules(SetNestedPropertiesRule.AnyChildRule) -
Constructor for class org.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
-
- SetNestedPropertiesRule() -
Constructor for class org.apache.commons.digester.SetNestedPropertiesRule
- Base constructor.
- SetNestedPropertiesRule(String[], String[]) -
Constructor for class org.apache.commons.digester.SetNestedPropertiesRule
- Constructor allows element->property mapping to be overriden.
- SetNestedPropertiesRule(String, String) -
Constructor for class org.apache.commons.digester.SetNestedPropertiesRule
- Convenience constructor overrides the mapping for just one property.
- SetNextRule - class org.apache.commons.digester.SetNextRule.
- Rule implementation that calls a method on the (top-1) (parent)
object, passing the top object (child) as an argument.
- SetNextRule(Digester, String) -
Constructor for class org.apache.commons.digester.SetNextRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetNextRule.SetNextRule(String methodName)
instead.
- SetNextRule(Digester, String, String) -
Constructor for class org.apache.commons.digester.SetNextRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetNextRule.SetNextRule(String methodName,String paramType)
instead.
- SetNextRule(String) -
Constructor for class org.apache.commons.digester.SetNextRule
- Construct a "set next" rule with the specified method name.
- SetNextRule(String, String) -
Constructor for class org.apache.commons.digester.SetNextRule
- Construct a "set next" rule with the specified method name.
- setPluginClassAttribute(String, String) -
Method in class org.apache.commons.digester.plugins.PluginRules
- See
PluginContext.setPluginClassAttribute(java.lang.String, java.lang.String)
.
- setPluginClassAttribute(String, String) -
Method in class org.apache.commons.digester.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.digester.plugins.PluginContext
- Sets the xml attribute which the input xml uses to indicate to a
PluginCreateRule which class should be instantiated.
- setPluginIdAttribute(String, String) -
Method in class org.apache.commons.digester.plugins.PluginRules
- See
PluginContext.setPluginIdAttribute(java.lang.String, java.lang.String)
.
- setPluginIdAttribute(String, String) -
Method in class org.apache.commons.digester.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.digester.plugins.PluginContext
- Sets the xml attribute which the input xml uses to indicate to a
PluginCreateRule which plugin declaration is being referenced.
- setProperties(Properties) -
Method in class org.apache.commons.digester.plugins.Declaration
- Copy all (key,value) pairs in the param into the properties member of
this object.
- SetPropertiesRule - class org.apache.commons.digester.SetPropertiesRule.
- 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.digester.SetPropertiesRule
- Base constructor.
- SetPropertiesRule(Digester) -
Constructor for class org.apache.commons.digester.SetPropertiesRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetPropertiesRule.SetPropertiesRule()
instead.
- SetPropertiesRule(String[], String[]) -
Constructor for class org.apache.commons.digester.SetPropertiesRule
- Constructor allows attribute->property mapping to be overriden.
- SetPropertiesRule(String, String) -
Constructor for class org.apache.commons.digester.SetPropertiesRule
- Convenience constructor overrides the mapping for just one property.
- setProperty(String, Object) -
Method in class org.apache.commons.digester.Digester
- Set the current value of the specified property for the underlying
XMLReader
implementation.
- SetPropertyRule - class org.apache.commons.digester.SetPropertyRule.
- Rule implementation that sets an individual property on the object at the
top of the stack, based on attributes with specified names.
- SetPropertyRule(Digester, String, String) -
Constructor for class org.apache.commons.digester.SetPropertyRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetPropertyRule.SetPropertyRule(String name, String value)
instead.
- SetPropertyRule(String, String) -
Constructor for class org.apache.commons.digester.SetPropertyRule
- Construct a "set property" rule with the specified name and value
attributes.
- setPublicId(String) -
Method in class org.apache.commons.digester.Digester
- Set the publid id of the current file being parse.
- setRegexMatcher(RegexMatcher) -
Method in class org.apache.commons.digester.RegexRules
- Sets the current regex matching strategy.
- SetRootRule - class org.apache.commons.digester.SetRootRule.
- Rule implementation that calls a method on the root object on the stack,
passing the top object (child) as an argument.
- SetRootRule(Digester, String) -
Constructor for class org.apache.commons.digester.SetRootRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetRootRule.SetRootRule(String methodName)
instead.
- SetRootRule(Digester, String, String) -
Constructor for class org.apache.commons.digester.SetRootRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetRootRule.SetRootRule(String methodName,String paramType)
instead.
- SetRootRule(String) -
Constructor for class org.apache.commons.digester.SetRootRule
- Construct a "set root" rule with the specified method name.
- SetRootRule(String, String) -
Constructor for class org.apache.commons.digester.SetRootRule
- Construct a "set root" rule with the specified method name.
- setRuleFinders(List) -
Method in class org.apache.commons.digester.plugins.PluginRules
- See
PluginContext.setRuleFinders(java.util.List)
.
- setRuleFinders(List) -
Method in class org.apache.commons.digester.plugins.PluginContext
- Set the list of RuleFinder objects.
- setRuleNamespaceURI(String) -
Method in class org.apache.commons.digester.Digester
- Set the namespace URI that will be applied to all subsequently
added
Rule
objects.
- setRules(Rules) -
Method in class org.apache.commons.digester.Digester
- Set the
Rules
implementation object containing our
rules collection and associated matching policy.
- setSAXLogger(Log) -
Method in class org.apache.commons.digester.Digester
- Sets the logger used for logging SAX-related information.
- setSchema(String) -
Method in class org.apache.commons.digester.Digester
- Set the XML Schema URI used for validating a XML Instance.
- setSchemaLanguage(String) -
Method in class org.apache.commons.digester.Digester
- Set the XML Schema language used when parsing.
- setSubstitutor(Substitutor) -
Method in class org.apache.commons.digester.Digester
- Sets the
Substitutor
to be used to convert attributes and body text.
- setTarget(Digester) -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser
- Sets the digester into which to add the parsed rules
- SetTopRule - class org.apache.commons.digester.SetTopRule.
- Rule implementation that calls a "set parent" method on the top (child)
object, passing the (top-1) (parent) object as an argument.
- SetTopRule(Digester, String) -
Constructor for class org.apache.commons.digester.SetTopRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetTopRule.SetTopRule(String methodName)
instead.
- SetTopRule(Digester, String, String) -
Constructor for class org.apache.commons.digester.SetTopRule
- Deprecated. The digester instance is now set in the
Digester.addRule(java.lang.String, org.apache.commons.digester.Rule)
method.
Use SetTopRule.SetTopRule(String methodName, String paramType)
instead.
- SetTopRule(String) -
Constructor for class org.apache.commons.digester.SetTopRule
- Construct a "set parent" rule with the specified method name.
- SetTopRule(String, String) -
Constructor for class org.apache.commons.digester.SetTopRule
- Construct a "set parent" rule with the specified method name.
- setTrimData(boolean) -
Method in class org.apache.commons.digester.SetNestedPropertiesRule
- When set to true, any text within child elements will have leading
and trailing whitespace removed before assignment to the target
object.
- setUseContextClassLoader(boolean) -
Method in class org.apache.commons.digester.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.digester.CallMethodRule
- Set whether
MethodUtils.invokeExactMethod
should be used for the reflection.
- setValidating(boolean) -
Method in class org.apache.commons.digester.Digester
- Set the validating parser flag.
- SimpleRegexMatcher - class org.apache.commons.digester.SimpleRegexMatcher.
- Simple regex pattern matching algorithm.
- SimpleRegexMatcher() -
Constructor for class org.apache.commons.digester.SimpleRegexMatcher
-
- skippedEntity(String) -
Method in class org.apache.commons.digester.Digester
- Process notification of a skipped entity.
- sources -
Variable in class org.apache.commons.digester.substitution.MultiVariableExpander
-
- stack -
Variable in class org.apache.commons.digester.Digester
- The object stack being constructed.
- stackIndex -
Variable in class org.apache.commons.digester.CallParamRule
- The position of the object from the top of the stack
- stacksByName -
Variable in class org.apache.commons.digester.Digester
- Stacks used for interrule communication, indexed by name String
- startDocument() -
Method in class org.apache.commons.digester.Digester
- Process notification of the beginning of the document being reached.
- startElement(String, String, String, Attributes) -
Method in class org.apache.commons.digester.NodeCreateRule.NodeBuilder
- Adds a new child
Element
to the current
node.
- startElement(String, String, String, Attributes) -
Method in class org.apache.commons.digester.Digester
- Process notification of the start of an XML element being reached.
- startPrefixMapping(String, String) -
Method in class org.apache.commons.digester.Digester
- Process notification that a namespace prefix is coming in to scope.
- substitute(Attributes) -
Method in class org.apache.commons.digester.Substitutor
- Substitutes the attributes (before they are passed to the
Rule
implementations's).
- substitute(Attributes) -
Method in class org.apache.commons.digester.substitution.VariableSubstitutor
- Substitutes the attributes (before they are passed to the
Rule
implementations's)
- substitute(String) -
Method in class org.apache.commons.digester.Substitutor
- Substitutes for the body text.
- substitute(String) -
Method in class org.apache.commons.digester.substitution.VariableSubstitutor
- Substitutes for the body text.
- substitutor -
Variable in class org.apache.commons.digester.Digester
- An optional class that substitutes values in attributes and body text.
- Substitutor - class org.apache.commons.digester.Substitutor.
- (Logical) Interface for substitution strategies.
- Substitutor() -
Constructor for class org.apache.commons.digester.Substitutor
-
T
- targetDigester -
Variable in class org.apache.commons.digester.xmlrules.DigesterRuleParser
- This is the digester to which we are adding the rules that we parse
from the Rules XML document.
- targetOffset -
Variable in class org.apache.commons.digester.CallMethodRule
- location of the target object for the call, relative to the
top of the digester object stack.
- top -
Variable in class org.apache.commons.digester.NodeCreateRule.NodeBuilder
- The current top DOM mode.
- toString() -
Method in class org.apache.commons.digester.SetTopRule
- Render a printable version of this Rule.
- toString() -
Method in class org.apache.commons.digester.SetRootRule
- Render a printable version of this Rule.
- toString() -
Method in class org.apache.commons.digester.SetPropertyRule
- Render a printable version of this Rule.
- toString() -
Method in class org.apache.commons.digester.SetPropertiesRule
- Render a printable version of this Rule.
- toString() -
Method in class org.apache.commons.digester.SetNextRule
- Render a printable version of this Rule.
- toString() -
Method in class org.apache.commons.digester.SetNestedPropertiesRule
- Render a printable version of this Rule.
- toString() -
Method in class org.apache.commons.digester.PathCallParamRule
- Render a printable version of this Rule.
- toString() -
Method in class org.apache.commons.digester.ObjectParamRule
- Render a printable version of this Rule.
- toString() -
Method in class org.apache.commons.digester.ObjectCreateRule
- Render a printable version of this Rule.
- toString() -
Method in class org.apache.commons.digester.FactoryCreateRule
- Render a printable version of this Rule.
- toString() -
Method in class org.apache.commons.digester.CallParamRule
- Render a printable version of this Rule.
- toString() -
Method in class org.apache.commons.digester.CallMethodRule
- Render a printable version of this Rule.
- toString() -
Method in class org.apache.commons.digester.BeanPropertySetterRule
- Render a printable version of this Rule.
- toString() -
Method in class org.apache.commons.digester.xmlrules.DigesterRuleParser.PatternStack
-
- trimData -
Variable in class org.apache.commons.digester.SetNestedPropertiesRule
-
U
- unparsedEntityDecl(String, String, String, String) -
Method in class org.apache.commons.digester.Digester
- Receive notification of an unparsed entity declaration event.
- url -
Variable in class org.apache.commons.digester.xmlrules.FromXmlRuleSet.URLXMLRulesLoader
-
- useContextClassLoader -
Variable in class org.apache.commons.digester.Digester
- Do we want to use the Context ClassLoader when loading classes
for instantiating new objects.
- useExactMatch -
Variable in class org.apache.commons.digester.SetTopRule
- Should we use exact matching.
- useExactMatch -
Variable in class org.apache.commons.digester.SetRootRule
- Should we use exact matching.
- useExactMatch -
Variable in class org.apache.commons.digester.SetNextRule
- Should we use exact matching.
- useExactMatch -
Variable in class org.apache.commons.digester.CallMethodRule
- Should
MethodUtils.invokeExactMethod
be used for reflection.
V
- validating -
Variable in class org.apache.commons.digester.Digester
- Do we want to use a validating parser.
- value -
Variable in class org.apache.commons.digester.SetPropertyRule
- The attribute that will contain the property value.
- values -
Variable in class org.apache.commons.digester.substitution.VariableAttributes
-
- variableAttributes -
Variable in class org.apache.commons.digester.substitution.VariableSubstitutor
- Attributes implementation that (lazily) performs variable substitution.
- VariableAttributes - class org.apache.commons.digester.substitution.VariableAttributes.
- Wrapper for an org.xml.sax.Attributes object which expands any
"variables" referenced in the attribute value via ${foo} or similar.
- VariableAttributes() -
Constructor for class org.apache.commons.digester.substitution.VariableAttributes
-
- VariableExpander - interface org.apache.commons.digester.substitution.VariableExpander.
- An Interface describing a class capable of expanding strings which
may contain variable references.
- VariableSubstitutor - class org.apache.commons.digester.substitution.VariableSubstitutor.
- Substitutor implementation that support variable replacement
for both attributes and body text.
- VariableSubstitutor(VariableExpander) -
Constructor for class org.apache.commons.digester.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.digester.substitution.VariableSubstitutor
- Constructs a Substitutor.
- version -
Static variable in class org.apache.commons.digester.parser.XercesParser
- A
float
representing the underlying Xerces version
- versionNumber -
Static variable in class org.apache.commons.digester.parser.XercesParser
- The current Xerces version.
W
- W3C_XML_SCHEMA -
Static variable in class org.apache.commons.digester.Digester
- The schema language supported.
- warning(SAXParseException) -
Method in class org.apache.commons.digester.Digester
- Forward notification of a parse warning to the application supplied
error handler (if any).
- WithDefaultsRulesWrapper - class org.apache.commons.digester.WithDefaultsRulesWrapper.
Rules
Decorator that returns default rules
when no matches are returned by the wrapped implementation.- WithDefaultsRulesWrapper(Rules) -
Constructor for class org.apache.commons.digester.WithDefaultsRulesWrapper
- Base constructor.
- wrappedRules -
Variable in class org.apache.commons.digester.WithDefaultsRulesWrapper
- The Rules implementation that this class wraps.
X
- XERCES_DYNAMIC -
Static variable in class org.apache.commons.digester.parser.XercesParser
- Xerces dynamic validation property
- XERCES_SCHEMA -
Static variable in class org.apache.commons.digester.parser.XercesParser
- Xerces schema validation property
- XercesParser - class org.apache.commons.digester.parser.XercesParser.
- Create a
SAXParser
based on the underlying Xerces version. - XercesParser() -
Constructor for class org.apache.commons.digester.parser.XercesParser
-
- XmlLoadException - exception org.apache.commons.digester.xmlrules.XmlLoadException.
- Thrown when an error occurs while parsing XML into Digester rules.
- XmlLoadException(String) -
Constructor for class org.apache.commons.digester.xmlrules.XmlLoadException
-
- XmlLoadException(String, Throwable) -
Constructor for class org.apache.commons.digester.xmlrules.XmlLoadException
-
- XmlLoadException(Throwable) -
Constructor for class org.apache.commons.digester.xmlrules.XmlLoadException
-
A B C D E F G I J L M N O P R S T U V W X
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV
NEXT
FRAMES
NO FRAMES
All Classes
Copyright (c) 2001-2004 - Apache Software Foundation