jxDBCon 0.9z

org.sourceforge.jxdbcon
Class EscapeContext

java.lang.Object
  |
  +--org.sourceforge.jxdbcon.EscapeContext
Direct Known Subclasses:
PGConnection$2

public class EscapeContext
extends Object

This Context is used when simplifying Escape fragments in a command.

Version:
$Revision: 1.6 $, $Date: 2002/03/16 01:26:07 $
Author:
Keve Müller

Field Summary
(package private)  Map funcMap
           
(package private)  Map nameTypeMap
           
(package private)  Object paramBuf
           
(package private)  ConversionContext paramContext
           
 
Constructor Summary
EscapeContext(Map funcMap, Map nameTypeMap, ConversionContext paramContext, Object paramBuf)
           
 
Method Summary
(package private)  EscapeFrags.Function getFunction(String name, EscapeFrags.ParamList param)
           
(package private)  AbstractType getType(int jdbcType)
           
 AbstractType getTypeForName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

funcMap

final Map funcMap

nameTypeMap

final Map nameTypeMap

paramBuf

final Object paramBuf

paramContext

final ConversionContext paramContext
Constructor Detail

EscapeContext

public EscapeContext(Map funcMap,
                     Map nameTypeMap,
                     ConversionContext paramContext,
                     Object paramBuf)
Method Detail

getFunction

EscapeFrags.Function getFunction(String name,
                                 EscapeFrags.ParamList param)
                           throws SQLException
SQLException

getType

AbstractType getType(int jdbcType)

getTypeForName

public AbstractType getTypeForName(String name)

jxDBCon 0.9z

Copyright © 2001,2002 Keve Müller; see LICENSE file for details.