public interface IExpressionContext extends IContext
Interface implemented by all classes containing the context required for expression processing.
This interface extends IContext
by adding the required information needed to execute
expressions.
Note that implementations of this interface do not have to be thread-safe, and in fact should not be shared by different threads or template executions. They are meant to be local to a specific template engine execution.
Modifier and Type | Method and Description |
---|---|
IEngineConfiguration |
getConfiguration()
Returns the
IEngineConfiguration (engine configuration) corresponding to the
ITemplateEngine instance this expression context is meant to be used with. |
IExpressionObjects |
getExpressionObjects()
Returns the
IExpressionObjects instance to be used for retrieving (and maybe building
lazily) expression objects (${#expobj}) to be used at Standard Thymeleaf Expressions. |
containsVariable, getLocale, getVariable, getVariableNames
IEngineConfiguration getConfiguration()
Returns the IEngineConfiguration
(engine configuration) corresponding to the
ITemplateEngine
instance this expression context is meant to be used with.
IExpressionObjects getExpressionObjects()
Returns the IExpressionObjects
instance to be used for retrieving (and maybe building
lazily) expression objects (${#expobj}) to be used at Standard Thymeleaf Expressions.
Copyright © 2016 The THYMELEAF team. All rights reserved.