org.springframework.ldap.core

## Class LdapEntryIdentificationContextMapper

- java.lang.Object
- - org.springframework.ldap.core.LdapEntryIdentificationContextMapper

- All Implemented Interfaces:
    ContextMapper<LdapEntryIdentification>

      public class LdapEntryIdentificationContextMapper
      extends Object
      implements ContextMapper<LdapEntryIdentification>

  `ContextMapper` implementation that maps the found entries to the `LdapEntryIdentification` of each respective entry.
  Since:
    1.3
  Author:
    Mattias Hellborg Arthursson

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LdapEntryIdentificationContextMapper()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `LdapEntryIdentification` | `mapFromContext(Object ctx)` Map a single LDAP Context to an object.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LdapEntryIdentificationContextMapper

          public LdapEntryIdentificationContextMapper()

  - ### Method Detail

    - #### mapFromContext

          public LdapEntryIdentification mapFromContext(Object ctx)

      Description copied from interface: `ContextMapper`
      Map a single LDAP Context to an object. The supplied Object `ctx` is the object from a single `SearchResult`, `Binding`, or a lookup operation.
      Specified by:
        `mapFromContext` in interface `ContextMapper<LdapEntryIdentification>`
      Parameters:
        `ctx` - the context to map to an object. Typically this will be a `DirContextAdapter` instance, unless a project specific `DirObjectFactory` has been specified on the `ContextSource`.
      Returns:
        an object built from the data in the context.