net.sourceforge.sqlunit.handlers
Class ParamSetHandler

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

public class ParamSetHandler
extends java.lang.Object
implements IHandler

The ParamSetHandler takes the JDOM Element representing the paramset tag and converts it to an array of Param objects.

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

Constructor Summary
ParamSetHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elParamSet)
          Processes the JDOM Element representing the paramset tag and returns an array of Param objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamSetHandler

public ParamSetHandler()
Method Detail

process

public final java.lang.Object process(org.jdom.Element elParamSet)
                               throws java.lang.Exception
Processes the JDOM Element representing the paramset tag and returns an array of Param objects.

Specified by:
process in interface IHandler
Parameters:
elParamSet - the JDOM Element representing the paramset tag.
Returns:
an array of Param objects. Client needs to cast to Param[].
Throws:
java.lang.Exception - if something went wrong processing the paramset.