org.springframework.ldap.core
Class LdapTemplate.MappingCollectingNameClassPairCallbackHandler
java.lang.Object
org.springframework.ldap.core.CollectingNameClassPairCallbackHandler
org.springframework.ldap.core.LdapTemplate.MappingCollectingNameClassPairCallbackHandler
- All Implemented Interfaces:
- NameClassPairCallbackHandler
- Enclosing class:
- LdapTemplate
public static final class LdapTemplate.MappingCollectingNameClassPairCallbackHandler
- extends CollectingNameClassPairCallbackHandler
A NameClassPairCallbackHandler
that passes the NameClassPairs
found to a NameClassPairMapper and collects the results in a list.
- Author:
- Mattias Hellborg Arthursson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LdapTemplate.MappingCollectingNameClassPairCallbackHandler
public LdapTemplate.MappingCollectingNameClassPairCallbackHandler(NameClassPairMapper mapper)
getObjectFromNameClassPair
public Object getObjectFromNameClassPair(NameClassPair nameClassPair)
- Description copied from class:
CollectingNameClassPairCallbackHandler
- Handle a NameClassPair and transform it to an Object of the desired type
and with data from the NameClassPair.
- Specified by:
getObjectFromNameClassPair
in class CollectingNameClassPairCallbackHandler
- Parameters:
nameClassPair
- a NameClassPair from a search operation.
- Returns:
- an object constructed from the data in the NameClassPair.