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.internal.services
Class TypeCoercedValueEncoderFactory

    java.lang.Object
      org.apache.tapestry5.internal.services.TypeCoercedValueEncoderFactory

All Implemented Interfaces:
  ValueEncoderFactory<java.lang.Object>

    public class TypeCoercedValueEncoderFactory

extends java.lang.Object
implements ValueEncoderFactory<java.lang.Object>

Provides `ValueEncoder` instances that are backed by the `TypeCoercer` service.

Constructor Summary
`TypeCoercedValueEncoderFactory(TypeCoercer typeCoercer)`

Method Summary
`ValueEncoder<java.lang.Object>` | `create(java.lang.Class<java.lang.Object> type)` For a given type, create an encoder.

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

Constructor Detail

### TypeCoercedValueEncoderFactory

    public TypeCoercedValueEncoderFactory(TypeCoercer typeCoercer)

Method Detail

### create

    public ValueEncoder<java.lang.Object> create(java.lang.Class<java.lang.Object> type)

  Description copied from interface: `ValueEncoderFactory`
  For a given type, create an encoder.

  Specified by:
    `create` in interface `ValueEncoderFactory<java.lang.Object>`
  Parameters:
    `type` - type of object for which an encoder is needed
  Returns:
    the encoder for the 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.