Class TypeCoercerProxyImpl
java.lang.Object
org.apache.tapestry5.ioc.internal.TypeCoercerProxyImpl
- All Implemented Interfaces:
TypeCoercerProxy
A proxy for the
TypeCoercer- Since:
- 5.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<S,T> T Returns input cast to targetType if input is an instance of target type, otherwise delegates toTypeCoercer.coerce(Object, Class).
-
Constructor Details
-
TypeCoercerProxyImpl
-
-
Method Details
-
coerce
Description copied from interface:TypeCoercerProxyReturns input cast to targetType if input is an instance of target type, otherwise delegates toTypeCoercer.coerce(Object, Class).- Specified by:
coercein interfaceTypeCoercerProxy- Parameters:
input- value to be coercedtargetType- desired type of value- Returns:
- the value, coerced
-