Class ContextValueEncoderImpl
java.lang.Object
org.apache.tapestry5.internal.services.ContextValueEncoderImpl
- All Implemented Interfaces:
ContextValueEncoder
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ContextValueEncoderImpl
-
-
Method Details
-
toClient
Description copied from interface:ContextValueEncoder
Converts a context value into a client-side string (that will ultimately be encoded into a URL).- Specified by:
toClient
in interfaceContextValueEncoder
- Parameters:
value
- to convert (may not be null)- Returns:
- string representation of the value
- See Also:
-
toValue
Description copied from interface:ContextValueEncoder
Converts a client value back into a server-side object.- Specified by:
toValue
in interfaceContextValueEncoder
- Parameters:
requiredType
- required type to convert the string toclientValue
- value obtained from context passed from client- Returns:
- the client value converted or coerced into a server value
- See Also:
-