|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.StringValueEncoder
public class StringValueEncoder
Passes the string value from the server to the client and vice-versa without any translation.
| Constructor Summary | |
|---|---|
StringValueEncoder()
|
|
| Method Summary | |
|---|---|
java.lang.String |
toClient(java.lang.String value)
Converts a value into a client-side representation. |
java.lang.String |
toValue(java.lang.String clientValue)
Converts a client-side representation, provided by ValueEncoder.toClient(Object), back into a server-side value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringValueEncoder()
| Method Detail |
|---|
public java.lang.String toClient(java.lang.String value)
ValueEncoderValueEncoder.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<java.lang.String>value - to be encoded
public java.lang.String toValue(java.lang.String clientValue)
ValueEncoderValueEncoder.toClient(Object), back into a server-side value.
toValue in interface ValueEncoder<java.lang.String>clientValue - string representation of the value's identity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||