Class MultiValueStringConverter
java.lang.Object
com.saperion.ngc.favorites.convert.MultiValueDataTypeConverter
com.saperion.ngc.favorites.convert.MultiValueStringConverter
Multi value string data type converter.
- Author:
- mak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsaValueArrayToString
(com.saperion.intf.SaValue[] values) Converts the type of the given field into the favorites specific string representation.com.saperion.intf.SaValue[]
stringToSaValueArray
(String value) Converts favorites specific string representation intoSaValue
array.Methods inherited from class com.saperion.ngc.favorites.convert.MultiValueDataTypeConverter
stringToValues, valuesToString
-
Constructor Details
-
MultiValueStringConverter
protected MultiValueStringConverter(int type) Constructor.- Parameters:
type
- special string data type code(unicode text,jcr name, text retrieval, ...)
-
-
Method Details
-
saValueArrayToString
Description copied from class:MultiValueDataTypeConverter
Converts the type of the given field into the favorites specific string representation.- Specified by:
saValueArrayToString
in classMultiValueDataTypeConverter
- Parameters:
values
-SaValue
array- Returns:
- value as comma-separated string
-
stringToSaValueArray
Description copied from class:MultiValueDataTypeConverter
Converts favorites specific string representation intoSaValue
array.- Specified by:
stringToSaValueArray
in classMultiValueDataTypeConverter
- Parameters:
value
- array elements as comma-separated string- Returns:
- value
SaValue
array
-