org.seasar.doma.internal.jdbc.sql
クラス SqlTokenizer
java.lang.Object
org.seasar.doma.internal.jdbc.sql.SqlTokenizer
public class SqlTokenizer
- extends Object
- 作成者:
- taedium
メソッドの概要 |
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.