public class StringValueEncoder extends Object implements ValueEncoder<String>
Constructor and Description |
---|
StringValueEncoder() |
public StringValueEncoder()
public String toClient(String value)
ValueEncoder
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.toClient
in interface ValueEncoder<String>
value
- to be encodedpublic String toValue(String clientValue)
ValueEncoder
ValueEncoder.toClient(Object)
, back into a server-side value.toValue
in interface ValueEncoder<String>
clientValue
- string representation of the value's identity${project.version} - Copyright © 2003-2015 The Apache Software Foundation.