org.seasar.doma.internal.expr
クラス ExpressionTokenizer

java.lang.Object
  上位を拡張 org.seasar.doma.internal.expr.ExpressionTokenizer

public class ExpressionTokenizer
extends Object

作成者:
taedium

フィールドの概要
protected  boolean binOperationAvailable
           
protected  CharBuffer buf
           
protected  CharBuffer duplicatedBuf
           
protected  String expression
           
protected  int position
           
protected  String token
           
protected  ExpressionTokenType type
           
 
コンストラクタの概要
ExpressionTokenizer(String expression)
           
 
メソッドの概要
 int getPosition()
           
 String getToken()
           
protected  boolean isWordTerminated()
           
 ExpressionTokenType next()
           
protected  void peek()
           
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 peekNumber()
           
protected  void peekOneChar(char c)
           
protected  void peekThreeChars(char c, char c2, char c3)
           
protected  void peekTwoChars(char c, char c2)
           
protected  void prepareToken()
           
 void setPosition(int position, boolean binOperationAvailable)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

expression

protected final String expression

buf

protected CharBuffer buf

duplicatedBuf

protected CharBuffer duplicatedBuf

type

protected ExpressionTokenType type

token

protected String token

position

protected int position

binOperationAvailable

protected boolean binOperationAvailable
コンストラクタの詳細

ExpressionTokenizer

public ExpressionTokenizer(String expression)
メソッドの詳細

next

public ExpressionTokenType next()

prepareToken

protected void prepareToken()

getToken

public String getToken()

getPosition

public int getPosition()

setPosition

public void setPosition(int position,
                        boolean binOperationAvailable)

peek

protected void peek()

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)

peekNumber

protected void peekNumber()

isWordTerminated

protected boolean isWordTerminated()


Copyright © 2009 The Seasar Foundation. All Rights Reserved.