|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.util.expression.AbstractToken
net.sf.doolin.util.expression.ValueToken
public class ValueToken
Token for a @{...} token.
| Constructor Summary | |
|---|---|
ValueToken()
Instantiates a new value token. |
|
| Method Summary | |
|---|---|
void |
add(Token add)
Adds the. |
Token |
addText(char c)
Adds the text. |
Object |
evaluate(Locale locale,
Object context)
Evaluate. |
String |
getPropertyPath()
Returns the associated property path |
boolean |
isBound()
Returns if the associated value must be bound with any change of the property value |
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. |
| Methods inherited from class net.sf.doolin.util.expression.AbstractToken |
|---|
close, getType, isClosed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValueToken()
| Method Detail |
|---|
public void add(Token add)
add - the addpublic Token addText(char c)
c - the c
public Object evaluate(Locale locale,
Object context)
locale - Locale used for the evaluationcontext - Context for the evaluation
public String getPropertyPath()
public boolean isBound()
true if the message must change whenever the
property changespublic boolean isVariable()
Token
true if some parts of the expression are dependent
on the model.public boolean supportAdd()
public void visitTokensWith(TokenVisitor visitor)
Token
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 | |||||||||