net.sf.ldaptemplate
Interface AttributesMapper
- public interface AttributesMapper
Responsible for mapping from LDAP Attributes to beans.
- Author:
- Mattias Arthursson
- See Also:
LdapTemplate.search(Name, String, AttributesMapper)
Method Summary |
java.lang.Object |
mapFromAttributes(javax.naming.directory.Attributes attributes)
Map Attributes to an object. |
mapFromAttributes
public java.lang.Object mapFromAttributes(javax.naming.directory.Attributes attributes)
throws javax.naming.NamingException
- Map Attributes to an object. The supplied attributes are the attributes
from a single SearchResult.
- Parameters:
attributes
- attributes from a SearchResult.
- Returns:
- an object built from the attributes.
- Throws:
javax.naming.NamingException
Copyright © 2006 Jayway AB. All Rights Reserved.