public class ExpressionEvaluatorImpl extends java.lang.Object implements ExpressionEvaluator
Constructor and Description |
---|
ExpressionEvaluatorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
initializeService() |
boolean |
isConstant(java.lang.String expression)
Returns true if the expression evaluates to a constant or other literal value.
|
java.lang.Object |
read(java.lang.Object target,
java.lang.String expression)
Reads a property of the target, defined by the expression.
|
java.lang.Object |
readCompiled(java.lang.Object target,
java.lang.Object expression)
Reads a property of the target, defined by the (previously compiled) expression.
|
void |
setApplicationSpecification(IApplicationSpecification applicationSpecification) |
void |
setContributions(java.util.List contributions) |
void |
setExpressionCache(ExpressionCache expressionCache) |
void |
write(java.lang.Object target,
java.lang.String expression,
java.lang.Object value)
Updates a property of the target, defined by the expression.
|
void |
writeCompiled(java.lang.Object target,
java.lang.Object expression,
java.lang.Object value)
Updates a property of the target, defined by the (previously compiled) expression.
|
public ExpressionEvaluatorImpl()
public void setApplicationSpecification(IApplicationSpecification applicationSpecification)
public void initializeService()
public java.lang.Object read(java.lang.Object target, java.lang.String expression)
ExpressionEvaluator
read
in interface ExpressionEvaluator
public java.lang.Object readCompiled(java.lang.Object target, java.lang.Object expression)
ExpressionEvaluator
readCompiled
in interface ExpressionEvaluator
public void write(java.lang.Object target, java.lang.String expression, java.lang.Object value)
ExpressionEvaluator
write
in interface ExpressionEvaluator
public void writeCompiled(java.lang.Object target, java.lang.Object expression, java.lang.Object value)
ExpressionEvaluator
writeCompiled
in interface ExpressionEvaluator
public boolean isConstant(java.lang.String expression)
ExpressionEvaluator
isConstant
in interface ExpressionEvaluator
public void setExpressionCache(ExpressionCache expressionCache)
public void setContributions(java.util.List contributions)