net.sourceforge.sqlunit.handlers
Class ForeachHandler

java.lang.Object
  extended by net.sourceforge.sqlunit.handlers.ForeachHandler
All Implemented Interfaces:
IHandler

public class ForeachHandler
extends java.lang.Object
implements IHandler

This class implements the handling of the foreach element. The foreach element is used to specify loops in the setup, prepare and teardown elements.

Version:
$Revision: 1.9 $
Author:
Sujit Pal (spal@users.sourceforge.net)

Constructor Summary
ForeachHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elForeach)
          Processes the content of the foreach element, returns a null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeachHandler

public ForeachHandler()
Method Detail

process

public final java.lang.Object process(org.jdom.Element elForeach)
                               throws java.lang.Exception
Processes the content of the foreach element, returns a null.

Specified by:
process in interface IHandler
Parameters:
elForeach - the foreach element to parse.
Returns:
a null object.
Throws:
java.lang.Exception - if one is thrown by the underlying methods.