Class MatchingRuleAssertionFilterBuilder
- java.lang.Object
-
- org.apache.directory.ldap.client.api.search.FilterBuilder
-
- org.apache.directory.ldap.client.api.search.MatchingRuleAssertionFilterBuilder
-
public class MatchingRuleAssertionFilterBuilder extends FilterBuilder
- Author:
- Apache Directory Project
-
-
Field Summary
-
Fields inherited from class org.apache.directory.ldap.client.api.search.FilterBuilder
filter
-
-
Constructor Summary
Constructors Constructor Description MatchingRuleAssertionFilterBuilder(String attribute, String value)Creates a new instance of MatchingRuleAssertionFilterBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchingRuleAssertionFilterBuildersetMatchingRule(String matchingRule)Sets the matching rule to use.MatchingRuleAssertionFilterBuilderuseDnAttributes()If set, the dn attributes will be included in the matching.-
Methods inherited from class org.apache.directory.ldap.client.api.search.FilterBuilder
and, approximatelyEqual, contains, endsWith, equal, extensible, extensible, greaterThanOrEqual, lessThanOrEqual, not, or, present, startsWith, substring, toString
-
-
-
-
Method Detail
-
setMatchingRule
public MatchingRuleAssertionFilterBuilder setMatchingRule(String matchingRule)
Sets the matching rule to use. Can be either a name or an OID string.- Parameters:
matchingRule- The matching rule to use- Returns:
- This filter
-
useDnAttributes
public MatchingRuleAssertionFilterBuilder useDnAttributes()
If set, the dn attributes will be included in the matching.- Returns:
- This filter
-
-