Class AbstractPrimitiveValueTranscoder<T>

    • Field Detail

      • primitive

        private boolean primitive
        Whether this transcoder operates on a primitive or an object.
    • Constructor Detail

      • AbstractPrimitiveValueTranscoder

        public AbstractPrimitiveValueTranscoder()
    • Method Detail

      • isPrimitive

        public boolean isPrimitive()
        Returns whether this transcoder operates on a primitive value.
        Returns:
        whether this transcoder operates on a primitive value
      • setPrimitive

        public void setPrimitive​(boolean b)
        Sets whether this transcoder operates on a primitive value.
        Parameters:
        b - whether this transcoder operates on a primitive value
      • encodeStringValue

        public String encodeStringValue​(T value)
        Description copied from interface: ValueTranscoder
        Encodes the supplied value into an ldap attribute value.
        Parameters:
        value - to encode
        Returns:
        encoded value