Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tapestry5.ioc.internal.services
Class CompoundCoercion<S,I,T>

    java.lang.Object
      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 java.lang.Object
implements Coercion<S,T>

Combines two coercions to create a coercsion through an intermediate type.

Constructor Summary
`CompoundCoercion(Coercion<S,I> op1, Coercion<I,T> op2)`

Method Summary
`T` | `coerce(S input)` Converts an input value.
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### CompoundCoercion

    public CompoundCoercion(Coercion<S,I> op1,
                            Coercion<I,T> op2)

Method Detail

### coerce

    public T coerce(S input)

  Description copied from interface: `Coercion`
  Converts an input value.

  Specified by:
    `coerce` in interface `Coercion<S,T>`
  Parameters:
    `input` - the input value

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.