Package org.ldaptive.filter
Class ExtensibleFilter
- java.lang.Object
-
- org.ldaptive.filter.ExtensibleFilter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ldaptive.filter.Filter
Filter.Type
-
-
Constructor Summary
Constructors Constructor Description ExtensibleFilter(java.lang.String matchingRule, java.lang.String type, byte[] value)
Creates a new extensible filter.ExtensibleFilter(java.lang.String matchingRule, java.lang.String type, byte[] value, boolean dnAttrs)
Creates a new extensible filter.ExtensibleFilter(java.lang.String matchingRule, java.lang.String type, java.lang.String value)
Creates a new extensible filter.ExtensibleFilter(java.lang.String matchingRule, java.lang.String type, java.lang.String value, boolean dnAttrs)
Creates a new extensible filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
byte[]
getAssertionValue()
Returns the assertion value.java.lang.String
getAttributeDesc()
Returns the attribute description.boolean
getDnAttributes()
Returns whether matching should occur against attributes of the DN.DEREncoder
getEncoder()
Returns the encoder for this filter.java.lang.String
getMatchingRuleID()
Returns the matching rule id.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ExtensibleFilter
public ExtensibleFilter(java.lang.String matchingRule, java.lang.String type, java.lang.String value)
Creates a new extensible filter.- Parameters:
matchingRule
- matching ruletype
- attribute descriptionvalue
- attribute value
-
ExtensibleFilter
public ExtensibleFilter(java.lang.String matchingRule, java.lang.String type, java.lang.String value, boolean dnAttrs)
Creates a new extensible filter.- Parameters:
matchingRule
- matching ruletype
- attribute descriptionvalue
- attribute valuednAttrs
- DN attributes
-
ExtensibleFilter
public ExtensibleFilter(java.lang.String matchingRule, java.lang.String type, byte[] value)
Creates a new extensible filter.- Parameters:
matchingRule
- matching ruletype
- attribute descriptionvalue
- attribute value
-
ExtensibleFilter
public ExtensibleFilter(java.lang.String matchingRule, java.lang.String type, byte[] value, boolean dnAttrs)
Creates a new extensible filter.- Parameters:
matchingRule
- matching ruletype
- attribute descriptionvalue
- attribute valuednAttrs
- DN attributes
-
-
Method Detail
-
getMatchingRuleID
public java.lang.String getMatchingRuleID()
Returns the matching rule id.- Returns:
- matching rule id
-
getAttributeDesc
public java.lang.String 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
public DEREncoder getEncoder()
Description copied from interface:Filter
Returns the encoder for this filter.- Specified by:
getEncoder
in interfaceFilter
- Returns:
- DER encoder
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-