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 StringattributeDescAttribute description.private static intHASH_CODE_SEEDhash 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 booleanequals(Object o)StringgetAttributeDesc()Returns the attribute description.DEREncodergetEncoder()Returns the encoder for this filter.inthashCode()StringtoString()
-
-
-
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:FilterReturns the encoder for this filter.- Specified by:
getEncoderin interfaceFilter- Returns:
- DER encoder
-
-