Package org.apache.tapestry5.services

# Interface ValueEncoderFactory<V>

All Known Implementing Classes:
  `EnumValueEncoderFactory`, `GenericValueEncoderFactory`, `TypeCoercedValueEncoderFactory`

public interface ValueEncoderFactory<V>
A source for `ValueEncoder` instances of a given type.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ValueEncoder<V>`
  `create(Class<V> type)`
  For a given type, create an encoder.

- ## Method Details

  - ### create

    ValueEncoder<V> create(Class<V> type)
    For a given type, create an encoder.
    Parameters:
      `type` - type of object for which an encoder is needed
    Returns:
      the encoder for the object