net.sourceforge.sqlunit.handlers
Class BatchResultHandler

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

public class BatchResultHandler
extends java.lang.Object
implements IHandler

The BatchResultHandler class processes the contents of a batchresult tag in the input XML file.

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

Constructor Summary
BatchResultHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elBatchResult)
          Runs the batch of SQL statements supplied as a batch and returns a BatchDatabaseResult object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchResultHandler

public BatchResultHandler()
Method Detail

process

public final java.lang.Object process(org.jdom.Element elBatchResult)
                               throws java.lang.Exception
Runs the batch of SQL statements supplied as a batch and returns a BatchDatabaseResult object.

Specified by:
process in interface IHandler
Parameters:
elBatchResult - the JDOM Element representing the batchsql tag.
Returns:
a DatabaseResult object.
Throws:
java.lang.Exception - if there was a problem running the SQL.