org.springframework.binding.expression
Class EvaluationAttempt

java.lang.Object
  extended by org.springframework.binding.expression.EvaluationAttempt
Direct Known Subclasses:
SetValueAttempt

public class EvaluationAttempt
extends java.lang.Object

A simple holder for information about an evaluation attempt.

Author:
Keith Donald

Constructor Summary
EvaluationAttempt(Expression expression, java.lang.Object target, EvaluationContext context)
          Create an evaluation attempt.
 
Method Summary
protected  org.springframework.core.style.ToStringCreator createToString(org.springframework.core.style.ToStringCreator creator)
           
 EvaluationContext getContext()
          Returns context attributes that may have influenced the evaluation process.
 Expression getExpression()
          Returns the expression that attempted to evaluate.
 java.lang.Object getTarget()
          Returns the target object upon which evaluation was attempted.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EvaluationAttempt

public EvaluationAttempt(Expression expression,
                         java.lang.Object target,
                         EvaluationContext context)
Create an evaluation attempt.

Parameters:
expression - the expression that failed to evaluate
target - the target of the expression
context - the context attributes that might have affected evaluation behavior
Method Detail

getExpression

public Expression getExpression()
Returns the expression that attempted to evaluate.


getTarget

public java.lang.Object getTarget()
Returns the target object upon which evaluation was attempted.


getContext

public EvaluationContext getContext()
Returns context attributes that may have influenced the evaluation process.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

createToString

protected org.springframework.core.style.ToStringCreator createToString(org.springframework.core.style.ToStringCreator creator)


Copyright � 2004-2007. All Rights Reserved.