Interface EntryMapper<T>

Type Parameters:
T - The type of the mapped entry

public interface EntryMapper<T>
A callback for processing entries from a search result.
Author:
Apache Directory Project
  • Method Summary

    Modifier and Type
    Method
    Description
    map(org.apache.directory.api.ldap.model.entry.Entry entry)
    Will be called once for each entry in the search result.
  • Method Details

    • map

      T map(org.apache.directory.api.ldap.model.entry.Entry entry) throws org.apache.directory.api.ldap.model.exception.LdapException
      Will be called once for each entry in the search result.
      Parameters:
      entry - An entry from the search result
      Returns:
      A object modeling the entry
      Throws:
      org.apache.directory.api.ldap.model.exception.LdapException - If something goes wrong