Package org.thymeleaf.spring5.expression
Class SpringStandardExpressions
- Object
- 
- org.thymeleaf.spring5.expression.SpringStandardExpressions
 
- 
 public final class SpringStandardExpressions extends Object 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 SummaryFields Modifier and Type Field Description static StringENABLE_SPRING_EL_COMPILER_ATTRIBUTE_NAMEName used for registering whether Spring EL compilation should be enabled if available or not.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisSpringELCompilerEnabled(org.thymeleaf.IEngineConfiguration configuration)Check whether compilation of Spring EL expressions should be enabled or not.
 
- 
- 
- 
Field Detail- 
ENABLE_SPRING_EL_COMPILER_ATTRIBUTE_NAMEpublic static final String ENABLE_SPRING_EL_COMPILER_ATTRIBUTE_NAME Name used for registering whether Spring EL compilation should be enabled if available or not.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
isSpringELCompilerEnabledpublic static boolean isSpringELCompilerEnabled(org.thymeleaf.IEngineConfiguration configuration) Check whether compilation of Spring EL expressions should be enabled or not. This is done through configuration methods at the SpringStandardDialectinstance 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:
- trueif the SpEL compiler should be enabled if available,- falseif not.
 
 
- 
 
-