|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.extension.jdbc.gen.internal.sql.SqlFileReader.SqlBuilder
protected class SqlFileReader.SqlBuilder
SQLのビルダです。
フィールドの概要 | |
---|---|
protected java.lang.StringBuilder |
buf
SQLの文字列を保持するバッファ |
protected boolean |
completed
SQLの組み立てが完了した場合 true |
protected boolean |
lineChanged
行が変更された場合 true |
protected boolean |
lineRequired
次の行が必要な場合 true |
protected GenDialect.SqlBlockContext |
sqlBlockContext
SQLブロックのコンテキスト |
protected boolean |
tokenRequired
次のトークンが必要な場合 true |
protected java.util.List<java.lang.String> |
wordList
SQLのキーワードを管理するリスト |
コンストラクタの概要 | |
---|---|
protected |
SqlFileReader.SqlBuilder()
インスタンスを構築します |
メソッドの概要 | |
---|---|
protected void |
appendToken(java.lang.String token)
トークンを追加します。 |
protected void |
appendWhitespaceIfNecessary()
必要ならば空白を追加します。 |
protected void |
appendWord(java.lang.String word)
単語を追加します。 |
protected void |
build(SqlFileTokenizer.TokenType tokenType,
java.lang.String token)
SQL文を組み立てます。 |
protected void |
complete()
SQLの組み立てを完了します。 |
protected java.lang.String |
getSql()
SQLを返します。 |
protected boolean |
isCompleted()
SQLの組み立てが完了した場合 true を返します。 |
protected boolean |
isInSqlBlock()
SQLブロックの内側を組み立てている場合 true を返します。 |
protected boolean |
isLineRequired()
次の行が必要な場合 true を返します。 |
protected boolean |
isSqlEmpty()
SQLが空の場合 true を返します。 |
protected boolean |
isTokenRequired()
次のトークンが必要な場合 true を返します。 |
protected void |
notifyLineChanged()
行が変更されたことを通知します。 |
protected void |
requireLine()
次の行を要求します。 |
protected void |
requireToken()
次のトークンを要求します。 |
protected void |
reset()
リセットします。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected boolean tokenRequired
true
protected boolean lineRequired
true
protected boolean completed
true
protected java.lang.StringBuilder buf
protected java.util.List<java.lang.String> wordList
protected GenDialect.SqlBlockContext sqlBlockContext
protected boolean lineChanged
true
コンストラクタの詳細 |
---|
protected SqlFileReader.SqlBuilder()
メソッドの詳細 |
---|
protected void build(SqlFileTokenizer.TokenType tokenType, java.lang.String token)
tokenType
- トークンのタイプtoken
- トークンprotected void reset()
protected boolean isTokenRequired()
true
を返します。
true
protected void requireToken()
protected boolean isLineRequired()
true
を返します。
true
protected void requireLine()
protected boolean isCompleted()
true
を返します。
true
protected void complete()
protected void appendWord(java.lang.String word)
word
- 単語protected void appendToken(java.lang.String token)
token
- トークンprotected void appendWhitespaceIfNecessary()
protected void notifyLineChanged()
protected boolean isInSqlBlock()
true
を返します。
true
protected boolean isSqlEmpty()
true
を返します。
true
protected java.lang.String getSql()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |