edu.vt.middleware.ldap.handler
public class CopyAttributeHandler extends CopyResultHandler<javax.naming.directory.Attribute> implements AttributeHandler
CopyAttributeHandler
converts a NamingEnumeration of attribute
into a List of attribute.logger
Constructor and Description |
---|
CopyAttributeHandler() |
Modifier and Type | Method and Description |
---|---|
protected javax.naming.directory.Attribute |
processResult(SearchCriteria sc,
javax.naming.directory.Attribute attr)
This will return a deep copy of the supplied
Attribute . |
protected java.lang.Object |
processValue(SearchCriteria sc,
java.lang.Object value)
This returns the supplied value unaltered.
|
process, process, process
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process, process, process
protected javax.naming.directory.Attribute processResult(SearchCriteria sc, javax.naming.directory.Attribute attr) throws javax.naming.NamingException
Attribute
.processResult
in class CopyResultHandler<javax.naming.directory.Attribute>
sc
- SearchCriteria
used to find enumerationattr
- Attribute
to copyAttribute
javax.naming.NamingException
- if the attribute values cannot be readprotected java.lang.Object processValue(SearchCriteria sc, java.lang.Object value)
sc
- LdapSearchCritieria
used to find enumerationvalue
- Object
to processObject
Copyright © 2014. All Rights Reserved.