Package org.apache.tapestry5.services

## Interface ValueEncoderSource

- All Known Implementing Classes:
    `ValueEncoderSourceImpl`

      @UsesMappedConfiguration(key=java.lang.Class.class,
                               value=ValueEncoderFactory.class)
      public interface ValueEncoderSource

  A source for value encoders based on a property type.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `<T> ValueEncoder<T>` | `getValueEncoder​(Class<T> type)` | Gets or creates a value encoder for the indicated type.

- - ### Method Detail

    - #### getValueEncoder

          <T> ValueEncoder<T> getValueEncoder​(Class<T> type)

      Gets or creates a value encoder for the indicated type. ValueEncoders are cached.
      Parameters:
        `type` - type of value to be encoded and decoded
      Returns:
        the value encoder