Class StringConverter
java.lang.Object
com.saperion.ngc.favorites.convert.DataTypeConverter
com.saperion.ngc.favorites.convert.StringConverter
String data type converter.
- Author:
- mak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsaValueToString
(com.saperion.intf.SaValue value) Converts the type of the given field into the favorites specific string representation.com.saperion.intf.SaValue
stringToSaValue
(String value) Converts the favorites specific string representation into aSaValue
.
-
Constructor Details
-
StringConverter
protected StringConverter(int type) Constructor.- Parameters:
type
- special string data type code(unicode text,jcr name, text retrieval, ...)
-
-
Method Details
-
saValueToString
Description copied from class:DataTypeConverter
Converts the type of the given field into the favorites specific string representation.- Specified by:
saValueToString
in classDataTypeConverter
- Parameters:
value
-SaValue
- Returns:
- value as string
-
stringToSaValue
Description copied from class:DataTypeConverter
Converts the favorites specific string representation into aSaValue
.- Specified by:
stringToSaValue
in classDataTypeConverter
- Parameters:
value
- value as string- Returns:
- value
SaValue
-