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

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

public class ListEntryRule
extends Rule

Digester rule for processing a <list-entries> nested element.


Field Summary
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
ListEntryRule()
          Creates a new instance of ListEntryRule.
 
Method Summary
 void begin(String namespace, String name, Attributes attributes)
          Create a new ListEntryConfig and push it on to the Digester stack.
 void body(String namespace, String name)
          No body processing for this element.
 void end(String namespace, String name)
          Pop the ListEntryConfig instance from the stack, and either add it to the parent configuration.
 
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

ListEntryRule

public ListEntryRule()
Creates a new instance of ListEntryRule.

Method Detail

begin

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

Create a new ListEntryConfig and push it on to the Digester stack.

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

Pop the ListEntryConfig instance from the stack, and either add it to the parent configuration.

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.