|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objectorg.springframework.expression.spel.support.StandardEvaluationContext
org.thymeleaf.spring3.expression.ThymeleafEvaluationContext
public final class ThymeleafEvaluationContext
Thymeleaf's basic implementation of Spring's EvaluationContext
interface.
This implementation adds Thymeleaf's own property accessors
(see PropertyAccessor) for accessing
the VariablesMap object in which variables are stored at the
context.
Also, this evaluation context (which is usually instanced at the
ThymeleafView initialization) links the execution of expressions
with the available BeanFactory and ConversionService instances, used during evaluation.
Before executing a Spring EL expression using this evaluation context, it should be enriched with the
variables to be made accessible (like #variableName), using a
ThymeleafEvaluationContextWrapper object.
| Field Summary | |
|---|---|
static String |
THYMELEAF_EVALUATION_CONTEXT_CONTEXT_VARIABLE_NAME
|
| Constructor Summary | |
|---|---|
ThymeleafEvaluationContext(org.springframework.beans.factory.BeanFactory beanFactory,
org.springframework.core.convert.ConversionService conversionService)
|
|
| Method Summary |
|---|
| Methods inherited from class org.springframework.expression.spel.support.StandardEvaluationContext |
|---|
addConstructorResolver, addMethodResolver, addPropertyAccessor, getBeanResolver, getConstructorResolvers, getMethodResolvers, getOperatorOverloader, getPropertyAccessors, getRootObject, getTypeComparator, getTypeConverter, getTypeLocator, lookupVariable, registerFunction, registerMethodFilter, removeConstructorResolver, removeMethodResolver, removePropertyAccessor, setBeanResolver, setConstructorResolvers, setMethodResolvers, setOperatorOverloader, setPropertyAccessors, setRootObject, setRootObject, setTypeComparator, setTypeConverter, setTypeLocator, setVariable, setVariables |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String THYMELEAF_EVALUATION_CONTEXT_CONTEXT_VARIABLE_NAME
| Constructor Detail |
|---|
public ThymeleafEvaluationContext(org.springframework.beans.factory.BeanFactory beanFactory,
org.springframework.core.convert.ConversionService conversionService)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||