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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanConvert(Class type) fromString(String str) voidsetLimit(int limit)
-
Constructor Details
-
StringValueConverter
public StringValueConverter()
-
-
Method Details
-
setLimit
public void setLimit(int limit) -
canConvert
- Specified by:
canConvertin interfacecom.thoughtworks.xstream.converters.ConverterMatcher
-
toString
- Specified by:
toStringin interfacecom.thoughtworks.xstream.converters.SingleValueConverter
-
fromString
- Specified by:
fromStringin interfacecom.thoughtworks.xstream.converters.SingleValueConverter
-