net.sourceforge.sqlunit.handlers
Class FuncDefHandler

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

public class FuncDefHandler
extends java.lang.Object
implements IHandler

The FuncDefHandler processes a Function Definition JDOM Element.

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

Constructor Summary
FuncDefHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elFuncDef)
          Sets a function declaration and stores it in 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

FuncDefHandler

public FuncDefHandler()
Method Detail

process

public final java.lang.Object process(org.jdom.Element elFuncDef)
                               throws java.lang.Exception
Sets a function declaration and stores it in the symbol table for later execution. Later execution is triggered off using the func element.

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