Interface IExpressionContext
-
- All Superinterfaces:
IContext
- All Known Subinterfaces:
IEngineContext
,ITemplateContext
- All Known Implementing Classes:
AbstractEngineContext
,AbstractExpressionContext
,EngineContext
,ExpressionContext
,WebEngineContext
,WebExpressionContext
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.
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IEngineConfiguration
getConfiguration()
Returns theIEngineConfiguration
(engine configuration) corresponding to theITemplateEngine
instance this expression context is meant to be used with.IExpressionObjects
getExpressionObjects()
Returns theIExpressionObjects
instance to be used for retrieving (and maybe building lazily) expression objects (${#expobj}
) to be used at Standard Thymeleaf Expressions.-
Methods inherited from interface org.thymeleaf.context.IContext
containsVariable, getLocale, getVariable, getVariableNames
-
-
-
-
Method Detail
-
getConfiguration
IEngineConfiguration getConfiguration()
Returns the
IEngineConfiguration
(engine configuration) corresponding to theITemplateEngine
instance this expression context is meant to be used with.- Returns:
- the engine configuration.
-
getExpressionObjects
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.- Returns:
- the expression objects instance.
-
-