com.ibatis.sqlmap.engine.mapping.statement
Class DefaultRowHandler

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.mapping.statement.DefaultRowHandler
All Implemented Interfaces:
RowHandler

public class DefaultRowHandler
extends java.lang.Object
implements RowHandler


Constructor Summary
DefaultRowHandler()
           
 
Method Summary
 java.util.List getList()
           
 void handleRow(java.lang.Object valueObject)
          Handles a single row of a result set.
 void setList(java.util.List list)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRowHandler

public DefaultRowHandler()
Method Detail

handleRow

public void handleRow(java.lang.Object valueObject)
Description copied from interface: RowHandler
Handles a single row of a result set.

This method will be called for each row in a result set. For each row the result map will be applied to build the value object, which is then passed in as the valueObject parameter.

Specified by:
handleRow in interface RowHandler
Parameters:
valueObject - The object representing a single row from the query.
See Also:
SqlMapSession

getList

public java.util.List getList()

setList

public void setList(java.util.List list)