Class SetNestedPropertiesRule.AnyChildRules
java.lang.Object
org.apache.commons.digester3.SetNestedPropertiesRule.AnyChildRules
- All Implemented Interfaces:
Rules
- Enclosing class:
SetNestedPropertiesRule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRegister a new Rule instance matching the specified pattern.voidclear()Clear all existing Rule instance registrations.Return the Digester instance with which this Rules instance is associated.Return the namespace URI that will be applied to all subsequently addedRuleobjects.voidmatch(String namespaceURI, String matchPath, String name, Attributes attributes) Return a List of all registered Rule instances that match the specified nesting pattern, or a zero-length List if there are no matches.rules()Return a List of all registered Rule instances, or a zero-length List if there are no registered Rule instances.voidsetDigester(Digester digester) Set the Digester instance with which this Rules instance is associated.voidsetNamespaceURI(String namespaceURI) Set the namespace URI that will be applied to all subsequently addedRuleobjects.
-
Field Details
-
matchPrefix
-
decoratedRules
-
rules
-
rule
-
-
Constructor Details
-
AnyChildRules
-
-
Method Details
-
getDigester
Description copied from interface:RulesReturn the Digester instance with which this Rules instance is associated.- Specified by:
getDigesterin interfaceRules- Returns:
- the Digester instance with which this Rules instance is associated
-
setDigester
Description copied from interface:RulesSet the Digester instance with which this Rules instance is associated.- Specified by:
setDigesterin interfaceRules- Parameters:
digester- The newly associated Digester instance
-
getNamespaceURI
Description copied from interface:RulesReturn the namespace URI that will be applied to all subsequently addedRuleobjects.- Specified by:
getNamespaceURIin interfaceRules- Returns:
- the namespace URI that will be applied to all subsequently added
Ruleobjects.
-
setNamespaceURI
Description copied from interface:RulesSet the namespace URI that will be applied to all subsequently addedRuleobjects.- Specified by:
setNamespaceURIin interfaceRules- Parameters:
namespaceURI- Namespace URI that must match on all subsequently added rules, ornullfor matching regardless of the current namespace URI
-
add
-
clear
-
match
Description copied from interface:RulesReturn a List of all registered Rule instances that match the specified nesting pattern, or a zero-length List if there are no matches. If more than one Rule instance matches, they must be returned in the order originally registered through theadd()method.- Specified by:
matchin interfaceRules- Parameters:
namespaceURI- Namespace URI for which to select matching rules, ornullto match regardless of namespace URImatchPath- Nesting pattern to be matchedname- the local name if the parser is namespace aware, or just the element name otherwiseattributes- The attribute list of the current matching element- Returns:
- a List of all registered Rule instances that match the specified nesting pattern
-
rules
Description copied from interface:RulesReturn a List of all registered Rule instances, or a zero-length List if there are no registered Rule instances. If more than one Rule instance has been registered, they must be returned in the order originally registered through theadd()method. -
init
-
getOldRules
-