Class StringConverter

java.lang.Object
com.saperion.ngc.favorites.convert.DataTypeConverter
com.saperion.ngc.favorites.convert.StringConverter

public final class StringConverter extends DataTypeConverter
String data type converter.
Author:
mak
  • Constructor Details

    • StringConverter

      protected StringConverter(int type)
      Constructor.
      Parameters:
      type - special string data type code(unicode text,jcr name, text retrieval, ...)
  • Method Details

    • saValueToString

      public String saValueToString(com.saperion.intf.SaValue value)
      Description copied from class: DataTypeConverter
      Converts the type of the given field into the favorites specific string representation.
      Specified by:
      saValueToString in class DataTypeConverter
      Parameters:
      value - SaValue
      Returns:
      value as string
    • stringToSaValue

      public com.saperion.intf.SaValue stringToSaValue(String value)
      Description copied from class: DataTypeConverter
      Converts the favorites specific string representation into a SaValue.
      Specified by:
      stringToSaValue in class DataTypeConverter
      Parameters:
      value - value as string
      Returns:
      value SaValue