Class DoubleValueTranscoder

    • Constructor Detail

      • DoubleValueTranscoder

        public DoubleValueTranscoder()
        Default constructor.
      • DoubleValueTranscoder

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

      • decodeStringValue

        public Double decodeStringValue​(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 Class<Double> getType()
        Description copied from interface: ValueTranscoder
        Returns the type produced by this value transcoder.
        Returns:
        type produced by this value transcoder