Class DigesterRuleParser.RulesPrefixAdapter
java.lang.Object
org.apache.commons.digester.xmlrules.DigesterRuleParser.RulesPrefixAdapter
- All Implemented Interfaces:
Rules
- Enclosing class:
DigesterRuleParser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRegister a new Rule instance matching a pattern which is constructed by concatenating the pattern prefix with the given pattern.voidclear()This method passes through to the underlying Rules object.This method passes through to the underlying Rules object.This method passes through to the underlying Rules object.Deprecated.Call match(namespaceURI,pattern) instead.This method passes through to the underlying Rules object.rules()This method passes through to the underlying Rules object.voidsetDigester(Digester digester) This method passes through to the underlying Rules object.voidsetNamespaceURI(String namespaceURI) This method passes through to the underlying Rules object.
-
Field Details
-
delegate
-
prefix
-
-
Constructor Details
-
RulesPrefixAdapter
-
-
Method Details
-
add
Register a new Rule instance matching a pattern which is constructed by concatenating the pattern prefix with the given pattern. -
clear
-
getDigester
This method passes through to the underlying Rules object.- Specified by:
getDigesterin interfaceRules
-
getNamespaceURI
This method passes through to the underlying Rules object.- Specified by:
getNamespaceURIin interfaceRules
-
match
Deprecated.Call match(namespaceURI,pattern) instead.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. -
match
This method passes through to the underlying Rules object. -
rules
-
setDigester
This method passes through to the underlying Rules object.- Specified by:
setDigesterin interfaceRules- Parameters:
digester- The newly associated Digester instance
-
setNamespaceURI
This method passes through to the underlying Rules object.- Specified by:
setNamespaceURIin interfaceRules- Parameters:
namespaceURI- Namespace URI that must match on all subsequently added rules, ornullfor matching regardless of the current namespace URI
-