org.apache.tapestry5.ioc.internal.services
Class CompoundCoercion<S,I,T>
java.lang.Object
   org.apache.tapestry5.ioc.internal.services.CompoundCoercion<S,I,T>
org.apache.tapestry5.ioc.internal.services.CompoundCoercion<S,I,T>
- Type Parameters:
- S- The source (input) type
- I- The intermediate type
- T- The target (output) type
- All Implemented Interfaces: 
- Coercion<S,T>
- public class CompoundCoercion<S,I,T> 
- extends Object- implements Coercion<S,T>
Combines two coercions to create a coercsion through an intermediate type.
 
 
 
CompoundCoercion
public CompoundCoercion(Coercion<S,I> op1,
                        Coercion<I,T> op2)
coerce
public T coerce(S input)
- Description copied from interface: Coercion
- Converts an input value.
 
- 
- Specified by:
- coercein interface- Coercion<S,T>
 
- 
- Parameters:
- input- the input value
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright © 2003-2012 The Apache Software Foundation.