Package org.ldaptive.handler
Class AbstractEntryHandler
java.lang.Object
org.ldaptive.AbstractFreezable
org.ldaptive.handler.AbstractEntryHandler
- All Implemented Interfaces:
Freezable
- Direct Known Subclasses:
CaseChangeEntryHandler,DnAttributeEntryHandler,MergeAttributeEntryHandler
Base class for entry handlers which simply returns values unaltered.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidhandleAttribute(LdapAttribute attr) Handle a single attribute.protected StringhandleAttributeName(String name) Returns the supplied attribute name unaltered.protected voidhandleAttributes(LdapEntry entry) Handle the attributes of a search entry.protected byte[]handleAttributeValue(byte[] value) Returns the supplied attribute value unaltered.protected StringhandleAttributeValue(String value) Returns the supplied attribute value unaltered.protected StringHandle the dn of a search entry.voidhandleEntry(LdapEntry entry) Handle the entry.abstract inthashCode()Methods inherited from class org.ldaptive.AbstractFreezable
assertMutable, freeze, freeze, freeze, isFrozen
-
Field Details
-
logger
Log for this class.
-
-
Constructor Details
-
AbstractEntryHandler
public AbstractEntryHandler()
-
-
Method Details
-
handleEntry
Handle the entry.- Parameters:
entry- to handle
-
handleDn
Handle the dn of a search entry.- Parameters:
entry- search entry to extract the dn from- Returns:
- handled dn
-
handleAttributes
Handle the attributes of a search entry.- Parameters:
entry- search entry to extract the attributes from
-
handleAttribute
Handle a single attribute.- Parameters:
attr- to handle
-
handleAttributeName
Returns the supplied attribute name unaltered.- Parameters:
name- to handle- Returns:
- handled name
-
handleAttributeValue
Returns the supplied attribute value unaltered.- Parameters:
value- to handle- Returns:
- handled value
-
handleAttributeValue
protected byte[] handleAttributeValue(byte[] value) Returns the supplied attribute value unaltered.- Parameters:
value- to handle- Returns:
- handled value
-
equals
-
hashCode
public abstract int hashCode()
-