net.sourceforge.sqlunit.handlers
Class ParamHandler

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

public class ParamHandler
extends java.lang.Object
implements IHandler

The ParamHandler takes the JDOM Element representing the param tag and converts it to a Param object.

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

Constructor Summary
ParamHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elParam)
          Processes the JDOM Element representing the param tag returns the Param object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamHandler

public ParamHandler()
Method Detail

process

public final java.lang.Object process(org.jdom.Element elParam)
                               throws java.lang.Exception
Processes the JDOM Element representing the param tag returns the Param object.

Specified by:
process in interface IHandler
Parameters:
elParam - the JDOM Element representing the param tag.
Returns:
a Param object. Client needs to cast to a Param.
Throws:
java.lang.Exception - if something went wrong processing the param.