Class ImageUrlConverter

java.lang.Object
de.hybris.platform.ycommercewebservices.conv.ImageUrlConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter

public class ImageUrlConverter extends Object implements com.thoughtworks.xstream.converters.SingleValueConverter
  • Constructor Details

    • ImageUrlConverter

      public ImageUrlConverter()
  • Method Details

    • toString

      public String toString(Object o)
      Specified by:
      toString in interface com.thoughtworks.xstream.converters.SingleValueConverter
    • addRootContext

      protected String addRootContext(String imageUrl)
    • fromString

      public Object fromString(String s)
      Specified by:
      fromString in interface com.thoughtworks.xstream.converters.SingleValueConverter
    • canConvert

      public boolean canConvert(Class type)
      Specified by:
      canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher