org.apache.commons.digester.xmlrules
private class DigesterRuleParser.RulesPrefixAdapter extends Object implements Rules
| Field Summary | |
|---|---|
| Rules | delegate |
| String | prefix |
| Constructor Summary | |
|---|---|
| RulesPrefixAdapter(String patternPrefix, Rules rules) | |
| Method Summary | |
|---|---|
| void | add(String pattern, Rule rule)
Register a new Rule instance matching a pattern which is constructed
by concatenating the pattern prefix with the given pattern. |
| void | clear()
This method passes through to the underlying Rules object. |
| Digester | getDigester()
This method passes through to the underlying Rules object. |
| String | getNamespaceURI()
This method passes through to the underlying Rules object. |
| List | match(String pattern) |
| List | match(String namespaceURI, String pattern)
This method passes through to the underlying Rules object. |
| List | rules()
This method passes through to the underlying Rules object. |
| void | setDigester(Digester digester)
This method passes through to the underlying Rules object. |
| void | setNamespaceURI(String namespaceURI)
This method passes through to the underlying Rules object. |
Parameters: patternPrefix the pattern string to prepend to the pattern passed to the add method. rules The wrapped Rules object. All of this class's methods pass through to this object.
Deprecated: Call match(namespaceURI,pattern) instead.