接口 RecordMapper<T>

  • 类型参数:
    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.
    作者:
    Keith Barlow, Mahmoud Ben Hassine
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      TmapRecord​(org.springframework.ldap.core.LdapAttributes attributes)
      Maps an LdapAttributes object to the specified type.
    • 方法详细资料

      • mapRecord

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