org.apache.shale.tiger.managed.rules
Class NullValueRule

java.lang.Object
  extended by org.apache.commons.digester.Rule
      extended by org.apache.shale.tiger.managed.rules.NullValueRule

public class NullValueRule
extends Rule

Digester rule for processing a <null-value> element.


Field Summary
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
NullValueRule()
          Creates a new instance of NullValueRule.
 
Method Summary
 void begin(String namespace, String name, Attributes attributes)
          Set the nullValue property on the containing NullValueHolder.
 void body(String namespace, String name)
          No body processing for this element.
 void end(String namespace, String name)
          No end processing for this element.
 
Methods inherited from class org.apache.commons.digester.Rule
begin, body, body, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullValueRule

public NullValueRule()
Creates a new instance of NullValueRule.

Method Detail

begin

public void begin(String namespace,
                  String name,
                  Attributes attributes)
           throws Exception

Set the nullValue property on the containing NullValueHolder.

Overrides:
begin in class Rule
Parameters:
namespace - Namespace URI of the matching element
name - Local name of the matching element
attributes - Attribute list of the matching element
Throws:
Exception - if a parsing error occurs

body

public void body(String namespace,
                 String name)
          throws Exception

No body processing for this element.

Parameters:
namespace - Namespace URI of the matching element
name - Local name of the matching element
Throws:
Exception - if a parsing error occurs

end

public void end(String namespace,
                String name)
         throws Exception

No end processing for this element.

Overrides:
end in class Rule
Parameters:
namespace - Namespace URI of the matching element
name - Local name of the matching element
Throws:
IllegalStateException - if the popped object is not of the correct type
Exception - if a different error occurs


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.