net.sourceforge.sqlunit.handlers
Class StructHandler

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

public class StructHandler
extends java.lang.Object
implements IHandler

Handles a struct element.

Version:
$Revision: 1.1 $
Author:
Douglas Kvidera (dkvidera@users.sourceforge.net) - 05/15/06

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

Constructor Detail

StructHandler

public StructHandler()
Method Detail

process

public java.lang.Object process(org.jdom.Element elStruct)
                         throws java.lang.Exception
Processes the JDOM Element representing the struct tag returns the Struct object.

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