|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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 Rules
public void setDigester(Digester digester)
Rules
setDigester
in interface Rules
digester
- The newly associated Digester instancepublic java.lang.String getNamespaceURI()
Rules
Rule
objects.
getNamespaceURI
in interface Rules
public void setNamespaceURI(java.lang.String namespaceURI)
Rules
Rule
objects.
setNamespaceURI
in interface Rules
namespaceURI
- Namespace URI that must match on all
subsequently added rules, or null
for matching
regardless of the current namespace URIpublic void add(java.lang.String pattern, Rule rule)
Rules
add
in interface Rules
pattern
- Nesting pattern to be matched for this Rulerule
- Rule instance to be registeredpublic void clear()
Rules
clear
in interface Rules
public java.util.List match(java.lang.String matchPath)
Rules
add()
method.
match
in interface Rules
matchPath
- Nesting pattern to be matchedpublic java.util.List match(java.lang.String namespaceURI, java.lang.String matchPath)
Rules
add()
method.
match
in interface Rules
namespaceURI
- 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()
Rules
add()
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 |