org.springframework.ldap
Class PersonAttributesMapper
java.lang.Object
org.springframework.ldap.PersonAttributesMapper
- All Implemented Interfaces:
- AttributesMapper
public class PersonAttributesMapper
- extends Object
- implements AttributesMapper
Dummy implementation of AttributesMapper for use in integration tests.
- Author:
- Mattias Hellborg Arthursson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersonAttributesMapper
public PersonAttributesMapper()
mapFromAttributes
public Object mapFromAttributes(Attributes attributes)
throws NamingException
- Maps the given attributes into a
Person
object.
- Specified by:
mapFromAttributes
in interface AttributesMapper
- Parameters:
attributes
- attributes from a SearchResult.
- Returns:
- an object built from the attributes.
- Throws:
NamingException
- if any error occurs mapping the attributes- See Also:
AttributesMapper.mapFromAttributes(javax.naming.directory.Attributes)
Copyright © 2006-2009 The Spring LDAP Framework. All Rights Reserved.