net.sourceforge.sqlunit.handlers
Class MatchHandler

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

public class MatchHandler
extends java.lang.Object
implements IHandler

The ResultHandler class parses the XML representing the result object.

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

Constructor Summary
MatchHandler()
           
 
Method Summary
 java.lang.Object process(org.jdom.Element elMatch)
          Processes a JDOM Element representing a MatchPattern object and returns a MatchPattern object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchHandler

public MatchHandler()
Method Detail

process

public final java.lang.Object process(org.jdom.Element elMatch)
                               throws java.lang.Exception
Processes a JDOM Element representing a MatchPattern object and returns a MatchPattern object.

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