public class CopyAttributeHandler extends CopyResultHandler<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 Attribute |
processResult(SearchCriteria sc,
Attribute attr)
This will return a deep copy of the supplied
Attribute . |
protected Object |
processValue(SearchCriteria sc,
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 Attribute processResult(SearchCriteria sc, Attribute attr) throws NamingException
Attribute
.processResult
in class CopyResultHandler<Attribute>
sc
- SearchCriteria
used to find enumerationattr
- Attribute
to copyAttribute
NamingException
- if the attribute values cannot be readprotected Object processValue(SearchCriteria sc, Object value)
sc
- LdapSearchCritieria
used to find enumerationvalue
- Object
to processObject
Copyright © 2018. All rights reserved.