org.apache.tapestry.services.impl
Class ExpressionEvaluatorImpl

java.lang.Object
  extended by org.apache.tapestry.services.impl.ExpressionEvaluatorImpl
All Implemented Interfaces:
ExpressionEvaluator

public class ExpressionEvaluatorImpl
extends java.lang.Object
implements ExpressionEvaluator

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
ExpressionEvaluatorImpl()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionEvaluatorImpl

public ExpressionEvaluatorImpl()
Method Detail

setApplicationSpecification

public void setApplicationSpecification(IApplicationSpecification applicationSpecification)

initializeService

public void initializeService()

read

public java.lang.Object read(java.lang.Object target,
                             java.lang.String expression)
Description copied from interface: ExpressionEvaluator
Reads a property of the target, defined by the expression.

Specified by:
read in interface ExpressionEvaluator

readCompiled

public java.lang.Object readCompiled(java.lang.Object target,
                                     java.lang.Object expression)
Description copied from interface: ExpressionEvaluator
Reads a property of the target, defined by the (previously compiled) expression.

Specified by:
readCompiled in interface ExpressionEvaluator

write

public void write(java.lang.Object target,
                  java.lang.String expression,
                  java.lang.Object value)
Description copied from interface: ExpressionEvaluator
Updates a property of the target, defined by the expression.

Specified by:
write in interface ExpressionEvaluator

writeCompiled

public void writeCompiled(java.lang.Object target,
                          java.lang.Object expression,
                          java.lang.Object value)
Description copied from interface: ExpressionEvaluator
Updates a property of the target, defined by the (previously compiled) expression.

Specified by:
writeCompiled in interface ExpressionEvaluator

isConstant

public boolean isConstant(java.lang.String expression)
Description copied from interface: ExpressionEvaluator
Returns true if the expression evaluates to a constant or other literal value.

Specified by:
isConstant in interface ExpressionEvaluator

setExpressionCache

public void setExpressionCache(ExpressionCache expressionCache)

setContributions

public void setContributions(java.util.List contributions)