net.sourceforge.sqlunit
Interface IHandler

All Known Implementing Classes:
ArgHandler, BatchCallHandler, BatchResultHandler, BatchSqlHandler, BatchTestHandler, CallHandler, CategoryHandler, ClassifiersHandler, ColHandler, ConnectionHandler, ConstructorArgsHandler, DiffHandler, DynamicSqlHandler, EchoHandler, ExceptionHandler, FieldHandler, ForeachHandler, FuncDefHandler, FuncHandler, IncludeHandler, JndiHandler, MatchHandler, MethodArgsHandler, MethodInvokerHandler, OutParamHandler, ParamHandler, ParamSetHandler, PrepareHandler, ResultHandler, ResultSetHandler, RowHandler, SetHandler, SetupHandler, SeverityHandler, SkipHandler, SqlHandler, StructHandler, SubDefHandler, SubHandler, SubParamHandler, TeardownHandler, TestHandler, TypeDefHandler, TypeMapHandler

public interface IHandler

The IHandler interface represents a SQLUnit tag handler.

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

Method Summary
 java.lang.Object process(org.jdom.Element el)
          The process object processes the JDOM Element representing a database call of some kind, applies it to the JDBC Connection object and returns a resultant Object.
 

Method Detail

process

java.lang.Object process(org.jdom.Element el)
                         throws java.lang.Exception
The process object processes the JDOM Element representing a database call of some kind, applies it to the JDBC Connection object and returns a resultant Object. The client instantiating the IHandler object using the HandlerFactory is responsible for casting it to the appropriate Handler class.

Parameters:
el - The JDOM Element representing the database call.
Returns:
an Object representing the results of the processing.
Throws:
java.lang.Exception - if something went wrong with the process call.