net.sourceforge.sqlunit.handlers
Class RowHandler

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

public class RowHandler
extends java.lang.Object
implements IHandler

The RowHandler processes a JDOM Row element and returns a Row bean.

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

Constructor Summary
RowHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elRow)
          Processes a JDOM Element representing a database row.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowHandler

public RowHandler()
Method Detail

process

public final java.lang.Object process(org.jdom.Element elRow)
                               throws java.lang.Exception
Processes a JDOM Element representing a database row.

Specified by:
process in interface IHandler
Parameters:
elRow - the JDOM Element to use.
Returns:
a populated Row object. Caller must cast.
Throws:
java.lang.Exception - if there was a problem creating the Row object.