net.sf.ldaptemplate
Interface ContextMapper

All Known Subinterfaces:
ContextAssembler

public interface ContextMapper

Responsible for mapping from LDAP Contexts to beans.

Author:
Mattias Arthursson
See Also:
LdapTemplate.search(Name, String, ContextMapper)

Method Summary
 java.lang.Object mapFromContext(java.lang.Object ctx)
          Map a single LDAP Context to an object.
 

Method Detail

mapFromContext

public java.lang.Object mapFromContext(java.lang.Object ctx)
Map a single LDAP Context to an object. The supplied Object ctx is the object from a single SearchResult or a lookup operation.

Parameters:
ctx - the context to map to an object.
Returns:
an object built from the data in the context.


Copyright © 2006 Jayway AB. All Rights Reserved.