|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Token
Token definition in an expression.
| Method Summary | |
|---|---|
void |
add(Token add)
Adds the. |
Token |
addText(char c)
Adds the text. |
void |
close()
Close. |
Object |
evaluate(Locale locale,
Object context)
Evaluate. |
net.sf.doolin.util.expression.TokenType |
getType()
Gets the type. |
boolean |
isClosed()
Checks if is closed. |
boolean |
isVariable()
Checks if the expression contains parts which can vary according to the model. |
boolean |
supportAdd()
Support add. |
void |
visitTokensWith(TokenVisitor visitor)
Visits a the whole token tree with a visitor. |
| Method Detail |
|---|
void add(Token add)
add - the addToken addText(char c)
c - the c
void close()
Object evaluate(Locale locale,
Object context)
locale - Locale used for the evaluationcontext - Context for the evaluation
net.sf.doolin.util.expression.TokenType getType()
boolean isClosed()
boolean isVariable()
true if some parts of the expression are dependent
on the model.boolean supportAdd()
void visitTokensWith(TokenVisitor visitor)
visitor - Visitor to apply for this token and each token underneath.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||