oracle.jsp.dbutil
Class BeanUtil

java.lang.Object
  |
  +--oracle.jsp.dbutil.BeanUtil

public class BeanUtil
extends java.lang.Object


Method Summary
static java.lang.String translateToHTMLTable(java.sql.ResultSet rs)
          Takes a ResultSet and return an HTML Table
static java.lang.String translateToXML(java.sql.Connection conn, java.lang.String sql, java.sql.ResultSet rs)
          Takes a Query String and Result Set and
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

translateToHTMLTable

public static java.lang.String translateToHTMLTable(java.sql.ResultSet rs)
                                             throws java.sql.SQLException
Takes a ResultSet and return an HTML Table
Returns:
a XML String

translateToXML

public static java.lang.String translateToXML(java.sql.Connection conn,
                                              java.lang.String sql,
                                              java.sql.ResultSet rs)
Takes a Query String and Result Set and
Returns:
a XML String