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


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

Field Detail

list

private java.util.List list
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()

handleRow

public void handleRow(java.lang.Object valueObject,
                      java.util.List list)
Deprecated. Use handleRow(Object).

TODO : DEPRECATED

Specified by:
handleRow in interface RowHandler
See Also:
RowHandler.handleRow(Object)