Class ProductToDataContentConverter

java.lang.Object
de.hybris.platform.cmsfacades.rendering.attributeconverters.ProductToDataContentConverter
All Implemented Interfaces:
Converter<ProductModel,String>

public class ProductToDataContentConverter extends Object implements Converter<ProductModel,String>
Rendering Attribute Converter for ProductModel. Converts the category into its product code (string).
  • Constructor Details

    • ProductToDataContentConverter

      public ProductToDataContentConverter()
  • Method Details

    • convert

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