Package org.thymeleaf.spring5.expression
Class SpringStandardExpressions
Object
org.thymeleaf.spring5.expression.SpringStandardExpressions
Utility class for the easy obtention of objects relevant to the parsing and execution of Thymeleaf Spring-Standard Expressions (Thymeleaf Standard Expressions based using Spring EL as a base expression language).
- Since:
- 3.0.3
- Author:
- Daniel Fernández
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Name used for registering whether Spring EL compilation should be enabled if available or not. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isSpringELCompilerEnabled
(IEngineConfiguration configuration) Check whether compilation of Spring EL expressions should be enabled or not.
-
Field Details
-
ENABLE_SPRING_EL_COMPILER_ATTRIBUTE_NAME
Name used for registering whether Spring EL compilation should be enabled if available or not.- See Also:
-
-
Method Details
-
isSpringELCompilerEnabled
Check whether compilation of Spring EL expressions should be enabled or not.
This is done through configuration methods at the
SpringStandardDialect
instance being used, and its value is offered to the engine as an execution attribute.- Parameters:
configuration
- the configuration object for the current template execution environment.- Returns:
true
if the SpEL compiler should be enabled if available,false
if not.
-