org.thymeleaf.spring3.expression
Class SpelVariableExpressionEvaluator

Object
  extended by org.thymeleaf.spring3.expression.SpelVariableExpressionEvaluator
All Implemented Interfaces:
org.thymeleaf.standard.expression.IStandardVariableExpressionEvaluator

public class SpelVariableExpressionEvaluator
extends Object
implements org.thymeleaf.standard.expression.IStandardVariableExpressionEvaluator

Since:
2.0.9
Author:
Daniel Fernández, Guven Demir

Field Summary
static String FIELDS_EVALUATION_VARIABLE_NAME
           
static SpelVariableExpressionEvaluator INSTANCE
           
static String THEMES_EVALUATION_VARIABLE_NAME
           
 
Constructor Summary
protected SpelVariableExpressionEvaluator()
           
 
Method Summary
protected  Map<String,Object> computeAdditionalExpressionObjects(org.thymeleaf.context.IProcessingContext processingContext)
           
 Map<String,Object> computeExpressionObjects(org.thymeleaf.Configuration configuration, org.thymeleaf.context.IProcessingContext processingContext)
           
 Object evaluate(org.thymeleaf.Configuration configuration, org.thymeleaf.context.IProcessingContext processingContext, String spelExpression, org.thymeleaf.standard.expression.StandardExpressionExecutionContext expContext, boolean useSelectionAsRoot)
           
protected  void setVariableRestrictions(org.thymeleaf.standard.expression.StandardExpressionExecutionContext expContext, Object evaluationRoot, Map<String,Object> contextVariables)
           
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final SpelVariableExpressionEvaluator INSTANCE

FIELDS_EVALUATION_VARIABLE_NAME

public static final String FIELDS_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values

THEMES_EVALUATION_VARIABLE_NAME

public static final String THEMES_EVALUATION_VARIABLE_NAME
See Also:
Constant Field Values
Constructor Detail

SpelVariableExpressionEvaluator

protected SpelVariableExpressionEvaluator()
Method Detail

evaluate

public final Object evaluate(org.thymeleaf.Configuration configuration,
                             org.thymeleaf.context.IProcessingContext processingContext,
                             String spelExpression,
                             org.thymeleaf.standard.expression.StandardExpressionExecutionContext expContext,
                             boolean useSelectionAsRoot)
Specified by:
evaluate in interface org.thymeleaf.standard.expression.IStandardVariableExpressionEvaluator

computeExpressionObjects

public Map<String,Object> computeExpressionObjects(org.thymeleaf.Configuration configuration,
                                                   org.thymeleaf.context.IProcessingContext processingContext)

computeAdditionalExpressionObjects

protected Map<String,Object> computeAdditionalExpressionObjects(org.thymeleaf.context.IProcessingContext processingContext)

setVariableRestrictions

protected void setVariableRestrictions(org.thymeleaf.standard.expression.StandardExpressionExecutionContext expContext,
                                       Object evaluationRoot,
                                       Map<String,Object> contextVariables)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 The THYMELEAF team. All Rights Reserved.