Class CoercionTuple<S,T>

java.lang.Object
org.apache.tapestry5.commons.services.CoercionTuple<S,T>
Type Parameters:
S - source (input) type
T - target (output) type

public final class CoercionTuple<S,T> extends Object
An immutable object that represents a mapping from one type to another. This is also the contribution type when building the TypeCoercer service. Wraps a Coercion object that performs the work with additional properties that describe the input and output types of the coercion, needed when searching for an appropriate coercion (or sequence of coercions).