Package org.thymeleaf.context
Class AbstractExpressionContext
- Object
-
- org.thymeleaf.context.AbstractContext
-
- org.thymeleaf.context.AbstractExpressionContext
-
- All Implemented Interfaces:
IContext,IExpressionContext
- Direct Known Subclasses:
ExpressionContext,WebExpressionContext
public abstract class AbstractExpressionContext extends AbstractContext implements IExpressionContext
Base abstract class implementing
IExpressionContext.- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractExpressionContext(IEngineConfiguration configuration)protectedAbstractExpressionContext(IEngineConfiguration configuration, Locale locale)protectedAbstractExpressionContext(IEngineConfiguration configuration, Locale locale, Map<String,Object> variables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IEngineConfigurationgetConfiguration()Returns theIEngineConfiguration(engine configuration) corresponding to theITemplateEngineinstance this expression context is meant to be used with.IExpressionObjectsgetExpressionObjects()Returns theIExpressionObjectsinstance to be used for retrieving (and maybe building lazily) expression objects (${#expobj}) to be used at Standard Thymeleaf Expressions.-
Methods inherited from class org.thymeleaf.context.AbstractContext
clearVariables, containsVariable, getLocale, getVariable, getVariableNames, removeVariable, setLocale, setVariable, setVariables
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.thymeleaf.context.IContext
containsVariable, getLocale, getVariable, getVariableNames
-
-
-
-
Constructor Detail
-
AbstractExpressionContext
protected AbstractExpressionContext(IEngineConfiguration configuration)
-
AbstractExpressionContext
protected AbstractExpressionContext(IEngineConfiguration configuration, Locale locale)
-
AbstractExpressionContext
protected AbstractExpressionContext(IEngineConfiguration configuration, Locale locale, Map<String,Object> variables)
-
-
Method Detail
-
getConfiguration
public final IEngineConfiguration getConfiguration()
Description copied from interface:IExpressionContextReturns the
IEngineConfiguration(engine configuration) corresponding to theITemplateEngineinstance this expression context is meant to be used with.- Specified by:
getConfigurationin interfaceIExpressionContext- Returns:
- the engine configuration.
-
getExpressionObjects
public IExpressionObjects getExpressionObjects()
Description copied from interface:IExpressionContextReturns the
IExpressionObjectsinstance to be used for retrieving (and maybe building lazily) expression objects (${#expobj}) to be used at Standard Thymeleaf Expressions.- Specified by:
getExpressionObjectsin interfaceIExpressionContext- Returns:
- the expression objects instance.
-
-