javax.servlet.jsp.jstl.sql
Class ResultSupport

java.lang.Object
  |
  +--javax.servlet.jsp.jstl.sql.ResultSupport

public class ResultSupport
extends java.lang.Object

This class represents the conversion of a ResultSet to a Result object.


Constructor Summary
ResultSupport()
           
 
Method Summary
static Result toResult(java.sql.ResultSet rs)
          Returns an array of Row objects.
static Result toResult(java.sql.ResultSet rs, int maxRows)
          Returns the Result object of the cached ResultSet limited by maxRows
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSupport

public ResultSupport()
Method Detail

toResult

public static Result toResult(java.sql.ResultSet rs)
Returns an array of Row objects.
Parameters:
ResultSet - the ResultSet object
Returns:
the Result object of the result

toResult

public static Result toResult(java.sql.ResultSet rs,
                              int maxRows)
Returns the Result object of the cached ResultSet limited by maxRows
Parameters:
ResultSet - the ResultSet object
maxRows - the maximum number of rows
Returns:
the Result object of the result limited by maxRows