Class SingleValueReflectionTranscoder<T>

  • Type Parameters:
    T - type of object to transcode
    All Implemented Interfaces:
    ReflectionTranscoder

    public class SingleValueReflectionTranscoder<T>
    extends Object
    implements ReflectionTranscoder
    Reflection transcoder which expects to operate on collections containing a single value.
    • Field Detail

      • valueTranscoder

        private final ValueTranscoder<T> valueTranscoder
        Underlying value transcoder.
    • Constructor Detail

      • SingleValueReflectionTranscoder

        public SingleValueReflectionTranscoder​(ValueTranscoder<T> transcoder)
        Creates a new single value reflection transcoder.
        Parameters:
        transcoder - for a single value