Package org.springframework.ldap.core
Interface NameClassPairMapper<T>
-
- All Known Implementing Classes:
DefaultNameClassPairMapper
public interface NameClassPairMapper<T>
Responsible for mappingNameClassPair
objects to beans.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
mapFromNameClassPair(javax.naming.NameClassPair nameClassPair)
MapNameClassPair
to an Object.
-
-
-
Method Detail
-
mapFromNameClassPair
T mapFromNameClassPair(javax.naming.NameClassPair nameClassPair) throws javax.naming.NamingException
MapNameClassPair
to an Object. The suppliedNameClassPair
is one of the results from a search operation (search, list or listBindings). Depending on which search operation is being performed, theNameClassPair
might be aSearchResult
,Binding
orNameClassPair
.- 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.
-
-