jxDBCon 0.9z

org.sourceforge.jxdbcon
Class SimpleEscapeParser

java.lang.Object
  |
  +--org.sourceforge.jxdbcon.SimpleEscapeParser
Direct Known Subclasses:
SQLParser

public class SimpleEscapeParser
extends Object

This class attempts to tokenize a statement and break it into fragments.

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

Field Summary
(package private)  ConversionContext ctx
           
(package private)  LinkedList lst
           
(package private) static Object markBrace
           
(package private) static Object markComma
           
(package private) static Object markCurly
           
(package private)  LinkedList poslst
           
(package private)  String sql
           
 
Constructor Summary
SimpleEscapeParser(String sql)
           
 
Method Summary
(package private)  void endChars(String s)
           
 EscapeFrags.FragList getFrags()
           
 EscapeFrags.PosParam[] getPosParams()
           
static void main(String[] argv)
           
protected  void parse()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ctx

ConversionContext ctx

lst

LinkedList lst

markBrace

static final Object markBrace

markComma

static final Object markComma

markCurly

static final Object markCurly

poslst

LinkedList poslst

sql

String sql
Constructor Detail

SimpleEscapeParser

public SimpleEscapeParser(String sql)
                   throws IllegalArgumentException,
                          SQLException
Method Detail

endChars

void endChars(String s)
        throws SQLException
SQLException

getFrags

public EscapeFrags.FragList getFrags()

getPosParams

public EscapeFrags.PosParam[] getPosParams()

main

public static void main(String[] argv)

parse

protected void parse()
              throws IllegalArgumentException,
                     SQLException
IllegalArgumentException
SQLException

toString

public String toString()
Overrides:
toString in class Object

jxDBCon 0.9z

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