Class StringValueConverter

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

public class StringValueConverter extends Object implements com.thoughtworks.xstream.converters.SingleValueConverter
Converter which unescapes and abbreviates a given string value.
  • Constructor Details

    • StringValueConverter

      public StringValueConverter()
  • Method Details

    • setLimit

      public void setLimit(int limit)
    • canConvert

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

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

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