Package org.ldaptive.filter
Class PresenceFilter
- java.lang.Object
-
- org.ldaptive.filter.PresenceFilter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ldaptive.filter.Filter
Filter.Type
-
-
Field Summary
Fields Modifier and Type Field Description private String
attributeDesc
Attribute description.private static int
HASH_CODE_SEED
hash code seed.
-
Constructor Summary
Constructors Constructor Description PresenceFilter(String name)
Creates a new presence filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getAttributeDesc()
Returns the attribute description.DEREncoder
getEncoder()
Returns the encoder for this filter.int
hashCode()
String
toString()
-
-
-
Field Detail
-
HASH_CODE_SEED
private static final int HASH_CODE_SEED
hash code seed.- See Also:
- Constant Field Values
-
attributeDesc
private final String attributeDesc
Attribute description.
-
-
Constructor Detail
-
PresenceFilter
public PresenceFilter(String name)
Creates a new presence filter.- Parameters:
name
- attribute description
-
-
Method Detail
-
getAttributeDesc
public String getAttributeDesc()
Returns the attribute description.- Returns:
- attribute description
-
getEncoder
public DEREncoder getEncoder()
Description copied from interface:Filter
Returns the encoder for this filter.- Specified by:
getEncoder
in interfaceFilter
- Returns:
- DER encoder
-
-