|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.handler.AbstractSearchEntryHandler
org.ldaptive.ad.handler.AbstractBinaryAttributeHandler
public abstract class AbstractBinaryAttributeHandler
Base class for entry handlers that convert a binary attribute to it's string form.
| Field Summary |
|---|
| Fields inherited from class org.ldaptive.handler.AbstractSearchEntryHandler |
|---|
logger |
| Constructor Summary | |
|---|---|
AbstractBinaryAttributeHandler()
|
|
| Method Summary | |
|---|---|
protected abstract String |
convertValue(byte[] value)
Converts the supplied binary value to it's string form. |
String |
getAttributeName()
Returns the attribute name to convert from binary to string. |
protected void |
handleAttributes(Connection conn,
SearchRequest request,
SearchEntry entry)
Handle the attributes of a search entry. |
void |
initializeRequest(SearchRequest request)
Initialize the search request for use with this entry handler. |
void |
setAttributeName(String name)
Sets the attribute name to convert from binary to string. |
| Methods inherited from class org.ldaptive.handler.AbstractSearchEntryHandler |
|---|
equals, handle, handleAttribute, handleAttributeName, handleAttributeValue, handleAttributeValue, handleDn, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBinaryAttributeHandler()
| Method Detail |
|---|
public String getAttributeName()
public void setAttributeName(String name)
name - of the attribute
protected void handleAttributes(Connection conn,
SearchRequest request,
SearchEntry entry)
throws LdapException
handleAttributes in class AbstractSearchEntryHandlerconn - the search was performed onrequest - used to find the search entryentry - search entry to extract the attributes from
LdapException - if the LDAP returns an errorprotected abstract String convertValue(byte[] value)
value - to convert
public void initializeRequest(SearchRequest request)
initializeRequest in interface SearchEntryHandlerinitializeRequest in class AbstractSearchEntryHandlerrequest - to initialize for this entry handler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||