org.seasar.doma.internal.jdbc.sql
クラス SqlTokenizer

java.lang.Object
  上位を拡張 org.seasar.doma.internal.jdbc.sql.SqlTokenizer

public class SqlTokenizer
extends Object

作成者:
taedium

フィールドの概要
protected  CharBuffer buf
           
protected  int currentLineNumber
           
protected  CharBuffer duplicatedBuf
           
protected  int lineNumber
           
protected  int lineStartPosition
           
protected  int position
           
protected  String sql
           
protected  String token
           
protected  SqlTokenType type
           
 
コンストラクタの概要
SqlTokenizer(String sql)
           
 
メソッドの概要
 int getLineNumber()
           
 int getPosition()
           
 String getToken()
           
protected  boolean isBlockCommentDirectiveTerminated()
           
protected  boolean isOther(char c)
           
protected  boolean isWordTerminated()
           
 SqlTokenType next()
           
protected  void peek()
           
protected  void peekEightChars(char c, char c2, char c3, char c4, char c5, char c6, char c7, char c8)
           
protected  void peekFiveChars(char c, char c2, char c3, char c4, char c5)
           
protected  void peekFourChars(char c, char c2, char c3, char c4)
           
protected  void peekNineChars(char c, char c2, char c3, char c4, char c5, char c6, char c7, char c8, char c9)
           
protected  void peekOneChar(char c)
           
protected  void peekSevenChars(char c, char c2, char c3, char c4, char c5, char c6, char c7)
           
protected  void peekSixChars(char c, char c2, char c3, char c4, char c5, char c6)
           
protected  void peekTenChars(char c, char c2, char c3, char c4, char c5, char c6, char c7, char c8, char c9, char c10)
           
protected  void peekThreeChars(char c, char c2, char c3)
           
protected  void peekTwoChars(char c, char c2)
           
protected  void prepareToken()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

sql

protected final String sql

buf

protected final CharBuffer buf

duplicatedBuf

protected CharBuffer duplicatedBuf

type

protected SqlTokenType type

token

protected String token

currentLineNumber

protected int currentLineNumber

lineNumber

protected int lineNumber

lineStartPosition

protected int lineStartPosition

position

protected int position
コンストラクタの詳細

SqlTokenizer

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

next

public SqlTokenType next()

prepareToken

protected void prepareToken()

getToken

public String getToken()

getLineNumber

public int getLineNumber()

getPosition

public int getPosition()

peek

protected void peek()

peekTenChars

protected void peekTenChars(char c,
                            char c2,
                            char c3,
                            char c4,
                            char c5,
                            char c6,
                            char c7,
                            char c8,
                            char c9,
                            char c10)

peekNineChars

protected void peekNineChars(char c,
                             char c2,
                             char c3,
                             char c4,
                             char c5,
                             char c6,
                             char c7,
                             char c8,
                             char c9)

peekEightChars

protected void peekEightChars(char c,
                              char c2,
                              char c3,
                              char c4,
                              char c5,
                              char c6,
                              char c7,
                              char c8)

peekSevenChars

protected void peekSevenChars(char c,
                              char c2,
                              char c3,
                              char c4,
                              char c5,
                              char c6,
                              char c7)

peekSixChars

protected void peekSixChars(char c,
                            char c2,
                            char c3,
                            char c4,
                            char c5,
                            char c6)

peekFiveChars

protected void peekFiveChars(char c,
                             char c2,
                             char c3,
                             char c4,
                             char c5)

peekFourChars

protected void peekFourChars(char c,
                             char c2,
                             char c3,
                             char c4)

peekThreeChars

protected void peekThreeChars(char c,
                              char c2,
                              char c3)

peekTwoChars

protected void peekTwoChars(char c,
                            char c2)

peekOneChar

protected void peekOneChar(char c)

isWordTerminated

protected boolean isWordTerminated()

isBlockCommentDirectiveTerminated

protected boolean isBlockCommentDirectiveTerminated()

isOther

protected boolean isOther(char c)


Copyright © 2009 The Seasar Foundation. All Rights Reserved.