Package org.springframework.ldap.core
Class DefaultNameClassPairMapper
java.lang.Object
org.springframework.ldap.core.DefaultNameClassPairMapper
- All Implemented Interfaces:
NameClassPairMapper<String>
The default NameClassPairMapper implementation. This implementation simply takes the
Name string from the supplied NameClassPair and returns it as result.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmapFromNameClassPair
(NameClassPair nameClassPair) Gets the Name from the supplied NameClassPair and returns it as the result.
-
Constructor Details
-
DefaultNameClassPairMapper
public DefaultNameClassPairMapper()
-
-
Method Details
-
mapFromNameClassPair
Gets the Name from the supplied NameClassPair and returns it as the result.- Specified by:
mapFromNameClassPair
in interfaceNameClassPairMapper<String>
- Parameters:
nameClassPair
- the NameClassPair to transform.- Returns:
- the Name string from the NameClassPair.
- Throws:
NamingException
- if one is encountered in the operation.
-