Package org.thymeleaf.spring6.util
Class SpringValueFormatter
Object
org.thymeleaf.spring6.util.SpringValueFormatter
This class mirrors the behaviour of the protected class
org.springframework.web.servlet.tags.form.ValueFormatter
, needed in order to format
rendered values in a way compatible to other Spring view-layer technologies.
- Since:
- 3.0.3
- Author:
- Daniel Fernández
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getDisplayString
(Object value, boolean htmlEscape) static String
getDisplayString
(Object value, PropertyEditor propertyEditor, boolean htmlEscape)
-
Method Details
-
getDisplayString
-
getDisplayString
public static String getDisplayString(Object value, PropertyEditor propertyEditor, boolean htmlEscape)
-