Interface RecordMapper<T>
- Type Parameters:
T
- type the record will be mapped to
public interface RecordMapper<T>
This interface should be implemented to mapLdapAttributes
objects to POJOs. The resulting implementations can be used in theMappingLdifReader
.- Author:
- Keith Barlow, Mahmoud Ben Hassine
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
mapRecord(org.springframework.ldap.core.LdapAttributes attributes)
Maps anLdapAttributes
object to the specified type.
Method Detail
mapRecord
@Nullable T mapRecord(org.springframework.ldap.core.LdapAttributes attributes)
Maps anLdapAttributes
object to the specified type.- Parameters:
attributes
- attributes- Returns:
- object of type T or
null
if unable to map the record to an object.