Package org.ldaptive.filter
Class ExtensibleFilter
java.lang.Object
org.ldaptive.filter.ExtensibleFilter
- All Implemented Interfaces:
Filter
Extensible search filter component.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ldaptive.filter.Filter
Filter.Type
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExtensibleFilter
(String matchingRule, String type, byte[] value) Creates a new extensible filter.ExtensibleFilter
(String matchingRule, String type, byte[] value, boolean dnAttrs) Creates a new extensible filter.ExtensibleFilter
(String matchingRule, String type, String value) Creates a new extensible filter.ExtensibleFilter
(String matchingRule, String type, String value, boolean dnAttrs) Creates a new extensible filter. -
Method Summary
-
Field Details
-
HASH_CODE_SEED
private static final int HASH_CODE_SEEDhash code seed.- See Also:
-
matchingRuleID
Matching rule id. -
attributeDesc
Attribute description. -
assertionValue
private final byte[] assertionValueAttribute value. -
dnAttributes
private final boolean dnAttributesDN attributes.
-
-
Constructor Details
-
ExtensibleFilter
Creates a new extensible filter.- Parameters:
matchingRule
- matching ruletype
- attribute descriptionvalue
- attribute value
-
ExtensibleFilter
Creates a new extensible filter.- Parameters:
matchingRule
- matching ruletype
- attribute descriptionvalue
- attribute valuednAttrs
- DN attributes
-
ExtensibleFilter
Creates a new extensible filter.- Parameters:
matchingRule
- matching ruletype
- attribute descriptionvalue
- attribute value
-
ExtensibleFilter
Creates a new extensible filter.- Parameters:
matchingRule
- matching ruletype
- attribute descriptionvalue
- attribute valuednAttrs
- DN attributes
-
-
Method Details
-
getMatchingRuleID
Returns the matching rule id.- Returns:
- matching rule id
-
getAttributeDesc
Returns the attribute description.- Returns:
- attribute description
-
getAssertionValue
public byte[] getAssertionValue()Returns the assertion value.- Returns:
- assertion value
-
getDnAttributes
public boolean getDnAttributes()Returns whether matching should occur against attributes of the DN.- Returns:
- whether to match against DN attributes
-
getEncoder
Description copied from interface:Filter
Returns the encoder for this filter.- Specified by:
getEncoder
in interfaceFilter
- Returns:
- DER encoder
-
equals
-
hashCode
public int hashCode() -
toString
-