Class ShortValueTranscoder

  • All Implemented Interfaces:
    ValueTranscoder<java.lang.Short>

    public class ShortValueTranscoder
    extends AbstractPrimitiveValueTranscoder<java.lang.Short>
    Decodes and encodes a short for use in an ldap attribute value.
    Author:
    Middleware Services
    • Constructor Detail

      • ShortValueTranscoder

        public ShortValueTranscoder()
        Default constructor.
      • ShortValueTranscoder

        public ShortValueTranscoder​(boolean b)
        Creates a new short value transcoder.
        Parameters:
        b - whether this transcoder is operating on a primitive
    • Method Detail

      • decodeStringValue

        public java.lang.Short decodeStringValue​(java.lang.String value)
        Description copied from interface: ValueTranscoder
        Decodes the supplied ldap attribute value into a custom type.
        Parameters:
        value - to decode
        Returns:
        decoded value
      • getType

        public java.lang.Class<java.lang.Short> getType()
        Description copied from interface: ValueTranscoder
        Returns the type produced by this value transcoder.
        Returns:
        type produced by this value transcoder