net.sourceforge.sqlunit.handlers
Class SetupHandler

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

public class SetupHandler
extends java.lang.Object
implements IHandler

The SetupHandler class handles the setup tag of the XML input file.

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

Constructor Summary
SetupHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elSetup)
          Processes the Setup tag and carries out the sql statements specified inside the tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetupHandler

public SetupHandler()
Method Detail

process

public final java.lang.Object process(org.jdom.Element elSetup)
                               throws java.lang.Exception
Processes the Setup tag and carries out the sql statements specified inside the tag.

Specified by:
process in interface IHandler
Parameters:
elSetup - the JDOM Element representing the setup element.
Returns:
a null, but needed to satisfy the interface.
Throws:
java.lang.Exception - if there was a problem running the setup.