Converts a value into a client-side representation. The value should be parseable by {@link #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.
@param value to be encoded
@return a string representation of the value, or the value's identity
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.