All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.xmlmiddleware.conversions.SQLLiterals

java.lang.Object
   |
   +----org.xmlmiddleware.conversions.SQLLiterals

public class SQLLiterals
extends Object
Builds literals that can be used in a JDBC SQL statement.

Version:
2.0
Author:
Ronald Bourret, 2001

Constructor Index

 o SQLLiterals()

Method Index

 o buildLiteral(int, Object, StringFormatter)
Build a SQL literal.

Constructors

 o SQLLiterals
 public SQLLiterals()

Methods

 o buildLiteral
 public static String buildLiteral(int type,
                                   Object value,
                                   StringFormatter formatter) throws XMLMiddlewareException
Build a SQL literal.

Parameters:
type - A JDBC Types value indicating the type of the literal to build.
value - The value to use.
Returns:
The SQL literal

All Packages  Class Hierarchy  This Package  Previous  Next  Index