Class SpringValueFormatter

Object
org.thymeleaf.spring6.util.SpringValueFormatter

public final class SpringValueFormatter extends Object

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 Details

    • getDisplayString

      public static String getDisplayString(Object value, boolean htmlEscape)
    • getDisplayString

      public static String getDisplayString(Object value, PropertyEditor propertyEditor, boolean htmlEscape)