net.sourceforge.sqlunit.handlers
Class FieldHandler

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

public class FieldHandler
extends java.lang.Object
implements IHandler

Handles a field element, child of a struct element.

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

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

Constructor Detail

FieldHandler

public FieldHandler()
Method Detail

process

public java.lang.Object process(org.jdom.Element elField)
                         throws java.lang.Exception
Processes the JDOM Element representing the field tag returns the Field object.

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