Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.enableit.db
Class XMLProxy  view XMLProxy download XMLProxy.java

java.lang.Object
  extended byorg.enableit.db.XMLProxy

public class XMLProxy
extends java.lang.Object


Field Summary
static java.lang.String about
          CVS info about this class and its current version
static java.lang.String EL_COL
          Column element's name.
static java.lang.String EL_COL_NAME
          Name of attribute holding column's name.
static java.lang.String EL_COL_TYPE
          Name of attribute holding column's value.
static java.lang.String EL_COL_VALUE
          Name of attribute holding column's value.
static java.lang.String EL_ROW
          Row element name.
static java.lang.String EL_ROWSET
          Row set element name.
private static org.apache.log4j.Logger logger
          The Log4J Logger doing the logging.
 
Constructor Summary
XMLProxy()
          Default Constructor
 
Method Summary
static org.w3c.dom.Document getDocument(java.util.List list)
           
static org.w3c.dom.Document getDocument(java.sql.ResultSet rs)
          Convert a SQL result set into an XML representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.log4j.Logger logger
The Log4J Logger doing the logging.


EL_ROWSET

public static final java.lang.String EL_ROWSET
Row set element name.

See Also:
Constant Field Values

EL_ROW

public static final java.lang.String EL_ROW
Row element name.

See Also:
Constant Field Values

EL_COL

public static final java.lang.String EL_COL
Column element's name.

See Also:
Constant Field Values

EL_COL_NAME

public static final java.lang.String EL_COL_NAME
Name of attribute holding column's name.

See Also:
Constant Field Values

EL_COL_VALUE

public static final java.lang.String EL_COL_VALUE
Name of attribute holding column's value.

See Also:
Constant Field Values

EL_COL_TYPE

public static final java.lang.String EL_COL_TYPE
Name of attribute holding column's value.

See Also:
Constant Field Values

about

public static final java.lang.String about
CVS info about this class and its current version

See Also:
Constant Field Values
Constructor Detail

XMLProxy

public XMLProxy()
Default Constructor

Method Detail

getDocument

public static org.w3c.dom.Document getDocument(java.util.List list)
                                        throws DBException

getDocument

public static org.w3c.dom.Document getDocument(java.sql.ResultSet rs)
                                        throws DBException
Convert a SQL result set into an XML representation.