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
    create(Class<V> type)
    For a given type, create an encoder.
  • Method Details

    • create

      For a given type, create an encoder.
      Parameters:
      type - type of object for which an encoder is needed
      Returns:
      the encoder for the object