Class StringValueEncoder

    • Method Detail

      • toClient

        public String toClient(String value)
        Description copied from interface: ValueEncoder
        Converts a value into a client-side representation. The value should be parseable by ValueEncoder.toValue(String). In some cases, what is returned is an identifier used to locate the true object, rather than a string representation of the value itself.
        Specified by:
        toClient in interface ValueEncoder<String>
        Parameters:
        value - to be encoded
        Returns:
        a string representation of the value, or the value's identity