|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.ioc.internal.TypeCoercerProxyImpl
public final class TypeCoercerProxyImpl
A proxy for the TypeCoercer
| Constructor Summary | |
|---|---|
TypeCoercerProxyImpl(ObjectLocator locator)
|
|
| Method Summary | ||
|---|---|---|
|
coerce(S input,
java.lang.Class<T> targetType)
Returns input cast to targetType if input is an instance of target type, otherwise delegates to TypeCoercer.coerce(Object, Class). |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeCoercerProxyImpl(ObjectLocator locator)
| Method Detail |
|---|
public <S,T> T coerce(S input,
java.lang.Class<T> targetType)
TypeCoercerProxyTypeCoercer.coerce(Object, Class).
coerce in interface TypeCoercerProxyinput - value to be coercedtargetType - desired type of value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||