|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.services.ContextValueEncoderImpl
public class ContextValueEncoderImpl
| Constructor Summary | |
|---|---|
ContextValueEncoderImpl(ValueEncoderSource valueEncoderSource)
|
|
| Method Summary | ||
|---|---|---|
java.lang.String |
toClient(java.lang.Object value)
Converts a context value into a client-side string (that will ultimately be encoded into a URL). |
|
|
toValue(java.lang.Class<T> requiredType,
java.lang.String clientValue)
Converts a client value back into a server-side object. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextValueEncoderImpl(ValueEncoderSource valueEncoderSource)
| Method Detail |
|---|
public java.lang.String toClient(java.lang.Object value)
ContextValueEncoder
toClient in interface ContextValueEncodervalue - to convert (may not be null)
ValueEncoder.toClient(Object)
public <T> T toValue(java.lang.Class<T> requiredType,
java.lang.String clientValue)
ContextValueEncoder
toValue in interface ContextValueEncoderrequiredType - required type to convert the string toclientValue - value obtained from context passed from client
ValueEncoder.toValue(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||