private class SetNestedPropertiesRule.AnyChildRules extends java.lang.Object implements Rules
| Modifier and Type | Field and Description |
|---|---|
private Rules |
decoratedRules |
private java.lang.String |
matchPrefix |
private SetNestedPropertiesRule.AnyChildRule |
rule |
private java.util.ArrayList<Rule> |
rules |
| Constructor and Description |
|---|
AnyChildRules(SetNestedPropertiesRule.AnyChildRule rule) |
| Modifier and Type | Method and Description |
|---|---|
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. |
Rules |
getOldRules() |
void |
init(java.lang.String prefix,
Rules rules) |
java.util.List<Rule> |
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<Rule> |
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<Rule> |
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. |
private java.lang.String matchPrefix
private Rules decoratedRules
private java.util.ArrayList<Rule> rules
private SetNestedPropertiesRule.AnyChildRule rule
public AnyChildRules(SetNestedPropertiesRule.AnyChildRule rule)
public Digester getDigester()
RulesgetDigester in interface Rulespublic void setDigester(Digester digester)
RulessetDigester 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 URIpublic void add(java.lang.String pattern,
Rule rule)
Rulespublic void clear()
Rulespublic java.util.List<Rule> match(java.lang.String matchPath)
Rulesadd()
method.public java.util.List<Rule> match(java.lang.String namespaceURI, java.lang.String matchPath)
Rulesadd()
method.public java.util.List<Rule> rules()
Rulesadd()
method.public void init(java.lang.String prefix,
Rules rules)
public Rules getOldRules()