Package org.thymeleaf.expression
Class Conversions
- Object
-
- org.thymeleaf.expression.Conversions
-
public final class Conversions extends Object
Expression object for performing type conversion operations inside Thymeleaf Standard Expressions.
An object of this class is usually available in variable evaluation expressions with the name
#conversions
.Note a class with this name existed since 2.1.0, but it was completely reimplemented in Thymeleaf 3.0
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Constructor Summary
Constructors Constructor Description Conversions(IExpressionContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
convert(Object target, Class<?> clazz)
Object
convert(Object target, String className)
-