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
ConstructorsModifierConstructorDescriptionprotectedAbstractExpressionContext(IEngineConfiguration configuration) protectedAbstractExpressionContext(IEngineConfiguration configuration, Locale locale) protectedAbstractExpressionContext(IEngineConfiguration configuration, Locale locale, Map<String, Object> variables) -
Method Summary
Modifier and TypeMethodDescriptionfinal IEngineConfigurationReturns theIEngineConfiguration(engine configuration) corresponding to theITemplateEngineinstance this expression context is meant to be used with.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, setVariablesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.thymeleaf.context.IContext
containsVariable, getLocale, getVariable, getVariableNames
-
Constructor Details
-
AbstractExpressionContext
-
AbstractExpressionContext
-
AbstractExpressionContext
protected AbstractExpressionContext(IEngineConfiguration configuration, Locale locale, Map<String, Object> variables)
-
-
Method Details
-
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
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.
-