org.springframework.ldap.core
Interface NameClassPairMapper

All Known Implementing Classes:
DefaultNameClassPairMapper

public interface NameClassPairMapper

Responsible for mapping NameClassPair objects to beans.

Author:
Mattias Arthursson

Method Summary
 java.lang.Object mapFromNameClassPair(javax.naming.NameClassPair nameClassPair)
          Map NameClassPair to an Object.
 

Method Detail

mapFromNameClassPair

java.lang.Object mapFromNameClassPair(javax.naming.NameClassPair nameClassPair)
                                      throws javax.naming.NamingException
Map NameClassPair to an Object. The supplied NameClassPair is one of the results from a search operation (search, list or listBindings). Depending on which search operation is being performed, the NameClassPair might be a SearchResult, Binding or NameClassPair.

Parameters:
nameClassPair - NameClassPair from a search operation.
Returns:
and Object built from the NameClassPair.
Throws:
javax.naming.NamingException - if one is encountered in the operation.


Copyright � 2002-2006. All Rights Reserved.