## Uses of Interface
org.apache.tapestry5.ioc.services.Coercion

- Packages that use Coercion
  Package | Description
  --- | ---
  org.apache.tapestry5.internal.json | [INTERNAL USE ONLY] support classes for the JSON module; API subject to change
  org.apache.tapestry5.ioc.internal.services | [INTERNAL USE ONLY] Tapestry IOC service implementation classes; API subject to change.
  org.apache.tapestry5.ioc.internal.util | [INTERNAL USE ONLY] utility classes for Tapestry IOC services; API subject to change
  org.apache.tapestry5.ioc.services | Tapestry IOC service interfaces
  org.apache.tapestry5.util | A set of enums, abstract classs and wrappers of various purposes

- - ### Uses of Coercion in org.apache.tapestry5.internal.json

    Classes in org.apache.tapestry5.internal.json that implement Coercion
    Modifier and Type | Class and Description
    --- | ---
    `class` | `StringToJSONArray`
    `class` | `StringToJSONObject`

  - ### Uses of Coercion in org.apache.tapestry5.ioc.internal.services

    Classes in org.apache.tapestry5.ioc.internal.services that implement Coercion
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CompoundCoercion<S,I,T>` Combines two coercions to create a coercion through an intermediate type.

    Methods in org.apache.tapestry5.ioc.internal.services that return Coercion
    Modifier and Type | Method and Description
    --- | ---
    `<S,T> Coercion<S,T>` | TypeCoercerImpl.`getCoercion(java.lang.Class<S> sourceType, java.lang.Class<T> targetType)`

    Methods in org.apache.tapestry5.ioc.internal.services with parameters of type Coercion
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | ServiceMessages.`failedCoercion(java.lang.Object input, java.lang.Class targetType, Coercion coercion, java.lang.Throwable cause)`

    Constructors in org.apache.tapestry5.ioc.internal.services with parameters of type Coercion
    Constructor and Description
    `CompoundCoercion(Coercion<S,I> op1, Coercion<I,T> op2)`
    `CompoundCoercion(Coercion<S,I> op1, Coercion<I,T> op2)`

  - ### Uses of Coercion in org.apache.tapestry5.ioc.internal.util

    Methods in org.apache.tapestry5.ioc.internal.util with parameters of type Coercion
    Modifier and Type | Method and Description
    --- | ---
    `static <S,T> Mapper<S,T>` | InternalUtils.`toMapper(Coercion<S,T> coercion)` Wraps a `Coercion` as a `Mapper`.

  - ### Uses of Coercion in org.apache.tapestry5.ioc.services

    Methods in org.apache.tapestry5.ioc.services that return Coercion
    Modifier and Type | Method and Description
    --- | ---
    `Coercion<S,T>` | CoercionTuple.`getCoercion()`
    `<S,T> Coercion<S,T>` | TypeCoercer.`getCoercion(java.lang.Class<S> sourceType, java.lang.Class<T> targetType)` Given a source and target type, computes the coercion that will be used.

    Methods in org.apache.tapestry5.ioc.services with parameters of type Coercion
    Modifier and Type | Method and Description
    --- | ---
    `static <S,T> CoercionTuple<S,T>` | CoercionTuple.`create(java.lang.Class<S> sourceType, java.lang.Class<T> targetType, Coercion<S,T> coercion)` Convenience constructor to help with generics.

    Constructors in org.apache.tapestry5.ioc.services with parameters of type Coercion
    Constructor and Description
    `CoercionTuple(java.lang.Class<S> sourceType, java.lang.Class<T> targetType, Coercion<S,T> coercion)` Standard constructor, which defaults wrap to true.
    `CoercionTuple(java.lang.Class<S> sourceType, java.lang.Class<T> targetType, Coercion<S,T> coercion, boolean wrap)` Internal-use constructor.

  - ### Uses of Coercion in org.apache.tapestry5.util

    Classes in org.apache.tapestry5.util that implement Coercion
    Modifier and Type | Class and Description
    --- | ---
    `class` | `StringToEnumCoercion<T extends java.lang.Enum>` A `Coercion` for converting strings into an instance of a particular enumerated type.

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.