public class NullValueRule
extends org.apache.commons.digester.Rule
Digester rule for the <null-value>
element.
Constructor and Description |
---|
NullValueRule() |
Modifier and Type | Method and Description |
---|---|
void |
begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes)
Set the
nullValue property to null on the
NullValueHolder at the top of the stack. |
void |
body(java.lang.String namespace,
java.lang.String name,
java.lang.String text)
No body processing is required.
|
void |
end(java.lang.String namespace,
java.lang.String name)
No end processing is required.
|
void |
finish()
No finish processing is required.
|
java.lang.String |
toString() |
public void begin(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes) throws java.lang.Exception
Set the nullValue
property to null on the
NullValueHolder
at the top of the stack.
begin
in class org.apache.commons.digester.Rule
namespace
- the namespace URI of the matching element, or an
empty string if the parser is not namespace aware or the element has
no namespacename
- the local name if the parser is namespace aware, or just
the element name otherwiseattributes
- The attribute list of this elementjava.lang.IllegalStateException
- if the parent stack element is not
of type FacesConfigBeanjava.lang.Exception
public void body(java.lang.String namespace, java.lang.String name, java.lang.String text) throws java.lang.Exception
No body processing is required.
body
in class org.apache.commons.digester.Rule
namespace
- the namespace URI of the matching element, or an
empty string if the parser is not namespace aware or the element has
no namespacename
- the local name if the parser is namespace aware, or just
the element name otherwisetext
- The text of the body of this elementjava.lang.Exception
public void end(java.lang.String namespace, java.lang.String name) throws java.lang.Exception
No end processing is required.
end
in class org.apache.commons.digester.Rule
namespace
- the namespace URI of the matching element, or an
empty string if the parser is not namespace aware or the element has
no namespacename
- the local name if the parser is namespace aware, or just
the element name otherwisejava.lang.IllegalStateException
- if the popped object is not
of the correct typejava.lang.Exception
public void finish() throws java.lang.Exception
No finish processing is required.
finish
in class org.apache.commons.digester.Rule
java.lang.Exception
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.