Class NameToStringConverter

java.lang.Object
org.springframework.ldap.convert.NameToStringConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<Name,String>

public final class NameToStringConverter extends Object implements org.springframework.core.convert.converter.Converter<Name,String>
A converer from Name to String.

Helpful for ObjectDirectoryMapper for converting fields. Also helpful when working with Name instances in Spring MVC applications.

Since:
3.3
  • Constructor Details

    • NameToStringConverter

      public NameToStringConverter()
  • Method Details

    • convert

      public String convert(Name source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<Name,String>