Interface Coercion<S,T>

Type Parameters:
S - the source type (input)
T - the target type (output)
All Known Implementing Classes:
CCTWToCCTW2Coercion, CompoundCoercion, InjectionProviderToInjectionProvider2, StringToEnumCoercion, StringToJSONArray, StringToJSONObject

public interface Coercion<S,T>

Responsible for converting from one type to another. This is used primarily around component parameters.

Method Summary
 T coerce(S input)
          Converts an input value.

Method Detail


T coerce(S input)
Converts an input value.

input - the input value

Copyright © 2003-2012 The Apache Software Foundation.