org.thymeleaf.standard.expression
Class OgnlExpressionEvaluator

Object
  extended by org.thymeleaf.standard.expression.OgnlExpressionEvaluator
All Implemented Interfaces:
IStandardExpressionEvaluator

Deprecated. Use OgnlVariableExpressionEvaluator instead. Will be removed in 2.1.x

@Deprecated
public class OgnlExpressionEvaluator
extends Object
implements IStandardExpressionEvaluator

Since:
1.1
Author:
Daniel Fernández

Field Summary
static OgnlExpressionEvaluator INSTANCE
          Deprecated.  
 
Method Summary
protected  Map<String,Object> computeAdditionalContextVariables(Arguments arguments)
          Deprecated.  
 Object evaluate(Arguments arguments, String expression, Object root)
          Deprecated.  
protected  boolean shouldApplyOgnlBooleanFix()
          Deprecated.  Determines whether a fix should be applied to OGNL in order to evaluate Strings as booleans in the same way as Thymeleaf does ('false', 'off' and 'no' are actually "false" instead of OGNL's default "true").
 String toString()
          Deprecated.  
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final OgnlExpressionEvaluator INSTANCE
Deprecated. 
Method Detail

evaluate

public final Object evaluate(Arguments arguments,
                             String expression,
                             Object root)
Deprecated. 
Specified by:
evaluate in interface IStandardExpressionEvaluator

computeAdditionalContextVariables

protected Map<String,Object> computeAdditionalContextVariables(Arguments arguments)
Deprecated. 

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object

shouldApplyOgnlBooleanFix

protected boolean shouldApplyOgnlBooleanFix()
Deprecated. 

Determines whether a fix should be applied to OGNL in order to evaluate Strings as booleans in the same way as Thymeleaf does ('false', 'off' and 'no' are actually "false" instead of OGNL's default "true").

Returns:
whether the OGNL boolean fix should be applied or not.


Copyright © 2013 The THYMELEAF team. All Rights Reserved.