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
Constructor and Description |
---|
Conversions(IExpressionContext context) |
Modifier and Type | Method and Description |
---|---|
Object |
convert(Object target,
Class<?> clazz) |
Object |
convert(Object target,
String className) |
Copyright © 2017 The THYMELEAF team. All rights reserved.