edu.vt.middleware.ldap.handler
Class BinaryAttributeHandler
java.lang.Object
edu.vt.middleware.ldap.handler.AbstractResultHandler<T,T>
edu.vt.middleware.ldap.handler.CopyResultHandler<Attribute>
edu.vt.middleware.ldap.handler.CopyAttributeHandler
edu.vt.middleware.ldap.handler.BinaryAttributeHandler
- All Implemented Interfaces:
- AttributeHandler, ResultHandler<Attribute,Attribute>
public class BinaryAttributeHandler
- extends CopyAttributeHandler
BinaryAttributeHandler ensures that any attribute that contains
a value of type byte[] is base64 encoded.
- Version:
- $Revision: 1330 $ $Date: 2010-05-23 18:10:53 -0400 (Sun, 23 May 2010) $
- Author:
- Middleware Services
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinaryAttributeHandler
public BinaryAttributeHandler()
processValue
protected Object processValue(SearchCriteria sc,
Object value)
- This base64 encodes the supplied value if it is of type byte[].
- Overrides:
processValue in class CopyAttributeHandler
- Parameters:
sc - SearchCriteria used to find enumerationvalue - Object to process
- Returns:
Object
Copyright © 2003-2010 Virginia Tech. All Rights Reserved.