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