org.springframework.ldap.core
Class DefaultNameClassPairMapper
java.lang.Object
org.springframework.ldap.core.DefaultNameClassPairMapper
- All Implemented Interfaces:
- NameClassPairMapper
public class DefaultNameClassPairMapper
- extends Object
- implements NameClassPairMapper
The default NameClassPairMapper implementation. This implementation simply
takes the Name string from the supplied NameClassPair and returns it as
result.
- Author:
- Mattias Hellborg Arthursson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultNameClassPairMapper
public DefaultNameClassPairMapper()
mapFromNameClassPair
public Object mapFromNameClassPair(NameClassPair nameClassPair)
throws NamingException
- Gets the Name from the supplied NameClassPair and returns it as the
result.
- Specified by:
mapFromNameClassPair
in interface NameClassPairMapper
- Parameters:
nameClassPair
- the NameClassPair to transform.
- Returns:
- the Name string from the NameClassPair.
- Throws:
NamingException
- if one is encountered in the operation.