Class CategoryToDataContentConverter

  • All Implemented Interfaces:
    Converter<CategoryModel,​java.lang.String>

    public class CategoryToDataContentConverter
    extends java.lang.Object
    implements Converter<CategoryModel,​java.lang.String>
    Rendering Attribute Converter for CategoryModel. Converts the category into its category code (string).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String convert​(CategoryModel source)
      Uses the source S object and produces an new instance of T.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CategoryToDataContentConverter

        public CategoryToDataContentConverter()
    • Method Detail

      • convert

        public java.lang.String convert​(CategoryModel source)
        Description copied from interface: Converter
        Uses the source S object and produces an new instance of T.
        Specified by:
        convert in interface Converter<CategoryModel,​java.lang.String>
        Parameters:
        source - the input to be converted.
        Returns:
        an instance of T, converted from the input source.