com.elogico.xbound.jdbc
Interface ResultHandler

All Known Implementing Classes:
DomResultHandler

public interface ResultHandler

A ResultHandler handles a java.sql.ResultSet and transform it according to a Result object.

Version:
$Revision: 1.2 $
Author:
Marco Sarti
See Also:
Result

Method Summary
 void handle(java.sql.ResultSet rs, Result res)
          The callback method.
 

Method Detail

handle

void handle(java.sql.ResultSet rs,
            Result res)
            throws java.sql.SQLException,
                   XBoundException
The callback method.

Parameters:
rs - the java.sql.ResultSet to be transformed
res - the Result object
Throws:
java.sql.SQLException - if an SQL error occours
XBoundException - if a XBound error occours