net.sourceforge.sqlunit.handlers
Class MethodArgsHandler

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

public class MethodArgsHandler
extends ConstructorArgsHandler

The MethodArgsHandler parses the JDOM Element methodArgs and processes it to return an array of Arg objects.

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

Constructor Summary
MethodArgsHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elMethArgs)
          Processes the JDOM Element representing the constructorArgs tag and returns an array of Arg objects.
 
Methods inherited from class net.sourceforge.sqlunit.handlers.ConstructorArgsHandler
getArguments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodArgsHandler

public MethodArgsHandler()
Method Detail

process

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

Specified by:
process in interface IHandler
Overrides:
process in class ConstructorArgsHandler
Parameters:
elMethArgs - the JDOM Element representing the methodArgs tag.
Returns:
an array of Arg objects. Client needs to cast appropriately.
Throws:
java.lang.Exception - if something went wrong processing the tag.