Class StringValueTranscoder

All Implemented Interfaces:
ValueTranscoder<String>

public class StringValueTranscoder extends AbstractStringValueTranscoder<String>
Decodes and encodes a string for use in an ldap attribute value.
  • Constructor Details

    • StringValueTranscoder

      public StringValueTranscoder()
  • Method Details

    • decodeStringValue

      public String 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
    • encodeStringValue

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

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