Package org.thymeleaf.spring5.expression
Class SpringStandardConversionService
- Object
-
- org.thymeleaf.standard.expression.AbstractStandardConversionService
-
- org.thymeleaf.spring5.expression.SpringStandardConversionService
-
- All Implemented Interfaces:
org.thymeleaf.standard.expression.IStandardConversionService
public final class SpringStandardConversionService extends org.thymeleaf.standard.expression.AbstractStandardConversionService
Implementation of
IStandardConversionService
that delegates to Spring's type conversion system.If there is a
ConversionService
available at the application context, it will be used for conversion.- Since:
- 3.0.3
- Author:
- Daniel Fernández
-
-
Constructor Summary
Constructors Constructor Description SpringStandardConversionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> T
convertOther(org.thymeleaf.context.IExpressionContext context, Object object, Class<T> targetClass)
protected String
convertToString(org.thymeleaf.context.IExpressionContext context, Object object)
-