org.seasar.extension.sql.parser
クラス SqlTokenizerImpl

java.lang.Object
  拡張org.seasar.extension.sql.parser.SqlTokenizerImpl
すべての実装インタフェース:
SqlTokenizer

public class SqlTokenizerImpl
extends Object
implements SqlTokenizer

作成者:
higa

フィールドの概要
 
インタフェース org.seasar.extension.sql.SqlTokenizer から継承したフィールド
BIND_VARIABLE, COMMENT, ELSE, EOF, SQL
 
コンストラクタの概要
SqlTokenizerImpl(String sql)
           
 
メソッドの概要
 String getAfter()
           
 String getBefore()
           
protected  int getNextStartPos(int commentStartPos, int elseCommentStartPos, int bindVariableStartPos)
           
 int getNextTokenType()
           
 int getPosition()
           
 String getSql()
           
 String getToken()
           
 int getTokenType()
           
 int next()
           
protected  String nextBindVariableName()
           
protected  void parseBindVariable()
           
protected  void parseComment()
           
protected  void parseElse()
           
protected  void parseEof()
           
protected  void parseSql()
           
 String skipToken()
           
 String skipWhitespace()
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SqlTokenizerImpl

public SqlTokenizerImpl(String sql)
メソッドの詳細

getSql

public String getSql()
定義:
インタフェース SqlTokenizer 内の getSql

getPosition

public int getPosition()
定義:
インタフェース SqlTokenizer 内の getPosition

getToken

public String getToken()
定義:
インタフェース SqlTokenizer 内の getToken

getBefore

public String getBefore()
定義:
インタフェース SqlTokenizer 内の getBefore

getAfter

public String getAfter()
定義:
インタフェース SqlTokenizer 内の getAfter

getTokenType

public int getTokenType()
定義:
インタフェース SqlTokenizer 内の getTokenType

getNextTokenType

public int getNextTokenType()
定義:
インタフェース SqlTokenizer 内の getNextTokenType

next

public int next()
定義:
インタフェース SqlTokenizer 内の next

parseSql

protected void parseSql()

getNextStartPos

protected int getNextStartPos(int commentStartPos,
                              int elseCommentStartPos,
                              int bindVariableStartPos)

nextBindVariableName

protected String nextBindVariableName()

parseComment

protected void parseComment()

parseBindVariable

protected void parseBindVariable()

parseElse

protected void parseElse()

parseEof

protected void parseEof()

skipToken

public String skipToken()
定義:
インタフェース SqlTokenizer 内の skipToken

skipWhitespace

public String skipWhitespace()
定義:
インタフェース SqlTokenizer 内の skipWhitespace


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.