Class ProductToDataContentConverter
- java.lang.Object
-
- de.hybris.platform.cmsfacades.rendering.attributeconverters.ProductToDataContentConverter
-
- All Implemented Interfaces:
Converter<ProductModel,java.lang.String>
public class ProductToDataContentConverter extends java.lang.Object implements Converter<ProductModel,java.lang.String>
Rendering Attribute Converter forProductModel. Converts the category into its product code (string).
-
-
Constructor Summary
Constructors Constructor Description ProductToDataContentConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringconvert(ProductModel source)Uses the sourceSobject and produces an new instance ofT.
-
-
-
Method Detail
-
convert
public java.lang.String convert(ProductModel source)
Description copied from interface:ConverterUses the sourceSobject and produces an new instance ofT.- Specified by:
convertin interfaceConverter<ProductModel,java.lang.String>- Parameters:
source- the input to be converted.- Returns:
- an instance of
T, converted from the input source.
-
-