Class TextTransformConverter

Object
TextTransformConverter
All Implemented Interfaces:
Converter<String,String>, Serializable

public class TextTransformConverter extends Object implements Converter<String,String>
See Also:
  • Constructor Details

    • TextTransformConverter

      public TextTransformConverter(TextTransform transform)
  • Method Details

    • getModelType

      public Class<String> getModelType()
      Specified by:
      getModelType in interface Converter<String,String>
    • getPresentationType

      public Class<String> getPresentationType()
      Specified by:
      getPresentationType in interface Converter<String,String>
    • convertToModel

      public String convertToModel(String value, Class<? extends String> targetType, Locale locale) throws Converter.ConversionException
      Specified by:
      convertToModel in interface Converter<String,String>
      Throws:
      Converter.ConversionException
    • convertToPresentation

      public String convertToPresentation(String value, Class<? extends String> targetType, Locale locale) throws Converter.ConversionException
      Specified by:
      convertToPresentation in interface Converter<String,String>
      Throws:
      Converter.ConversionException