|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.digester.SetNestedPropertiesRule.AnyChildRules
Private Rules implementation
| Field Summary | |
private Rules |
decoratedRules
|
private java.lang.String |
matchPrefix
|
private SetNestedPropertiesRule.AnyChildRule |
rule
|
private java.util.ArrayList |
rules
|
| Constructor Summary | |
SetNestedPropertiesRule.AnyChildRules(SetNestedPropertiesRule.AnyChildRule rule)
|
|
| Method Summary | |
void |
add(java.lang.String pattern,
Rule rule)
Register a new Rule instance matching the specified pattern. |
void |
clear()
Clear all existing Rule instance registrations. |
Digester |
getDigester()
Return the Digester instance with which this Rules instance is associated. |
java.lang.String |
getNamespaceURI()
Return the namespace URI that will be applied to all subsequently added Rule objects. |
void |
init(java.lang.String prefix,
Rules rules)
|
java.util.List |
match(java.lang.String matchPath)
Return a List of all registered Rule instances that match the specified nesting pattern, or a zero-length List if there are no matches. |
java.util.List |
match(java.lang.String namespaceURI,
java.lang.String matchPath)
Return a List of all registered Rule instances that match the specified nesting pattern, or a zero-length List if there are no matches. |
java.util.List |
rules()
Return a List of all registered Rule instances, or a zero-length List if there are no registered Rule instances. |
void |
setDigester(Digester digester)
Set the Digester instance with which this Rules instance is associated. |
void |
setNamespaceURI(java.lang.String namespaceURI)
Set the namespace URI that will be applied to all subsequently added Rule objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.lang.String matchPrefix
private Rules decoratedRules
private java.util.ArrayList rules
private SetNestedPropertiesRule.AnyChildRule rule
| Constructor Detail |
public SetNestedPropertiesRule.AnyChildRules(SetNestedPropertiesRule.AnyChildRule rule)
| Method Detail |
public Digester getDigester()
Rules
getDigester in interface Rulespublic void setDigester(Digester digester)
Rules
setDigester in interface Rulesdigester - The newly associated Digester instancepublic java.lang.String getNamespaceURI()
RulesRule objects.
getNamespaceURI in interface Rulespublic void setNamespaceURI(java.lang.String namespaceURI)
RulesRule objects.
setNamespaceURI in interface RulesnamespaceURI - Namespace URI that must match on all
subsequently added rules, or null for matching
regardless of the current namespace URI
public void add(java.lang.String pattern,
Rule rule)
Rules
add in interface Rulespattern - Nesting pattern to be matched for this Rulerule - Rule instance to be registeredpublic void clear()
Rules
clear in interface Rulespublic java.util.List match(java.lang.String matchPath)
Rulesadd()
method.
match in interface RulesmatchPath - Nesting pattern to be matched
public java.util.List match(java.lang.String namespaceURI,
java.lang.String matchPath)
Rulesadd()
method.
match in interface RulesnamespaceURI - Namespace URI for which to select matching rules,
or null to match regardless of namespace URImatchPath - Nesting pattern to be matchedpublic java.util.List rules()
Rulesadd()
method.
rules in interface Rules
public void init(java.lang.String prefix,
Rules rules)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||