Methods Summary |
---|
public void | add(java.lang.String pattern, Rule rule)Register a new Rule instance matching the specified pattern.
|
public void | clear()Clear all existing Rule instance registrations.
|
public Digester | getDigester()Return the Digester instance with which this Rules instance is
associated.
|
public java.lang.String | getNamespaceURI()Return the namespace URI that will be applied to all subsequently
added Rule objects.
|
public java.util.List | match(java.lang.String pattern)Return 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 the add()
method.
|
public java.util.List | match(java.lang.String namespaceURI, java.lang.String pattern)Return 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 the add()
method.
|
public java.util.List | rules()Return a List of all registered Rule instances, or a zero-length List
if there are no registered Rule instances. If more than one Rule
instance has been registered, they must be returned
in the order originally registered through the add()
method.
|
public void | setDigester(Digester digester)Set the Digester instance with which this Rules instance is associated.
|
public void | setNamespaceURI(java.lang.String namespaceURI)Set the namespace URI that will be applied to all subsequently
added Rule objects.
|