Methods Summary |
---|
public void | begin(org.xml.sax.Attributes attributes)This method is called when the beginning of a matching XML element
is encountered.
; // The default implementation does nothing
|
public void | begin(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes)This method is called when the beginning of a matching XML element
is encountered. The default implementation delegates to the deprecated
method {@link #begin(Attributes) begin} without the
namespace and name parameters, to retain
backwards compatibility.
begin(attributes);
|
public void | body(java.lang.String namespace, java.lang.String name, java.lang.String text)This method is called when the body of a matching XML element is
encountered. If the element has no body, this method is not called at
all. The default implementation delegates to the deprecated method
{@link #body(String) body} without the namespace and
name parameters, to retain backwards compatibility.
body(text);
|
public void | body(java.lang.String text)This method is called when the body of a matching XML element
is encountered. If the element has no body, this method is
not called at all.
; // The default implementation does nothing
|
public void | end()This method is called when the end of a matching XML element
is encountered.
; // The default implementation does nothing
|
public void | end(java.lang.String namespace, java.lang.String name)This method is called when the end of a matching XML element
is encountered. The default implementation delegates to the deprecated
method {@link #end end} without the
namespace and name parameters, to retain
backwards compatibility.
end();
|
public void | finish()This method is called after all parsing methods have been
called, to allow Rules to remove temporary data.
; // The default implementation does nothing
|
public Digester | getDigester()Return the Digester with which this Rule is associated.
// ------------------------------------------------------------- Properties
return (this.digester);
|
public java.lang.String | getNamespaceURI()Return the namespace URI for which this Rule is relevant, if any.
return (this.namespaceURI);
|
public void | setDigester(Digester digester)Set the Digester with which this Rule is associated.
this.digester = digester;
|
public void | setNamespaceURI(java.lang.String namespaceURI)Set the namespace URI for which this Rule is relevant, if any.
this.namespaceURI = namespaceURI;
|