Class DefaultAttributeToDataConverter

java.lang.Object
de.hybris.platform.cms2.version.converter.attribute.impl.DefaultAttributeToDataConverter
All Implemented Interfaces:
Converter<Object,Object>

public class DefaultAttributeToDataConverter extends Object implements Converter<Object,Object>
Default Attribute Converter. This converter should only be used when all of the AttributeContentConverter instances fail to convert a given object. Returns the Object.toString() from the Object.
  • Constructor Details

    • DefaultAttributeToDataConverter

      public DefaultAttributeToDataConverter()
  • Method Details

    • convert

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