org.springframework.batch.item.ldif

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `mapRecord(org.springframework.ldap.core.LdapAttributes attributes)` Maps an `LdapAttributes` object to the specified type.

- - ### Method Detail

    - #### 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.