net.sourceforge.sqlunit.handlers
Class TeardownHandler

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

public class TeardownHandler
extends java.lang.Object
implements IHandler

The TeardownHandler class handles the instructions in the teardown tag of the XML input file.

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

Constructor Summary
TeardownHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elTeardown)
          Processes the Teardown tag and executes the sql statements specified in the tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TeardownHandler

public TeardownHandler()
Method Detail

process

public final java.lang.Object process(org.jdom.Element elTeardown)
                               throws java.lang.Exception
Processes the Teardown tag and executes the sql statements specified in the tag.

Specified by:
process in interface IHandler
Parameters:
elTeardown - the JDOM Element representing the teardown element.
Returns:
no object is expected.
Throws:
java.lang.Exception - if there was a problem running the teardown.