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

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

public class ListEntriesRule
extends Rule

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


Field Summary
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
ListEntriesRule()
          Creates a new instance of ListEntriesRule.
 
Method Summary
 void begin(String namespace, String name, Attributes attributes)
          Create a new ListEntriesConfig 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 ListEntriesConfig instance from the stack, and either add it or merge it with parent information.
 
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

ListEntriesRule

public ListEntriesRule()
Creates a new instance of ListEntriesRule.

Method Detail

begin

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

Create a new ListEntriesConfig 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 ListEntriesConfig instance from the stack, and either add it or merge it with parent information.

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.