Interface RecordMapper<T>

Type Parameters:
T - type the record will be mapped to

public interface RecordMapper<T>
This interface should be implemented to map LdapAttributes objects to POJOs. The resulting implementations can be used in the MappingLdifReader.
Author:
Keith Barlow, Mahmoud Ben Hassine
  • Method Summary

    Modifier and Type
    Method
    Description
    mapRecord(org.springframework.ldap.core.LdapAttributes attributes)
    Maps an LdapAttributes object to the specified type.
  • Method Details

    • mapRecord

      @Nullable T mapRecord(org.springframework.ldap.core.LdapAttributes attributes)
      Maps an LdapAttributes object to the specified type.
      Parameters:
      attributes - attributes
      Returns:
      object of type T or null if unable to map the record to an object.