net.sourceforge.sqlunit.handlers
Class SubDefHandler

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

public class SubDefHandler
extends java.lang.Object
implements IHandler

The SubDefHandler processes a JDOM Element representing a subroutine definition. A subroutine definition is a complete definition of a stored procedure or SQL call, except that some parameter values may be left missing. These values should be assigned by the sub tag.

Version:
$Revision: 1.2 $
Author:
Victor Alekseev (krocodl@users.sourceforge.net)

Constructor Summary
SubDefHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elSubDef)
          Partially defines a stored procedure or SQL call and stores it into the symbol table for later execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubDefHandler

public SubDefHandler()
Method Detail

process

public final java.lang.Object process(org.jdom.Element elSubDef)
                               throws java.lang.Exception
Partially defines a stored procedure or SQL call and stores it into the symbol table for later execution.

Specified by:
process in interface IHandler
Parameters:
elSubDef - the JDOM Element representing the subdef directive.
Returns:
an Object, null in this case.
Throws:
java.lang.Exception - if something went wrong with the subdef operation.