return selectOrderingMatchingRule(ruleID); return getDefaultOrderingMatchingRule(); if (attrType == null) return getDefaultOrderingMatchingRule(); if (mrName != null) return selectOrderingMatchingRule(mrName); if (syntaxOID != null) return selectMatchingRuleForSyntax(syntaxOID); return getDefaultOrderingMatchingRule();
/** * Retrieves the name for this matching rule when used to perform equality * matching if defined, or the OID if no name is available. * * @return The name or OID for this matching rule when used to perform * equality matching, or {@code null} if this matching rule cannot * be used to perform equality matching. */ public String getEqualityMatchingRuleNameOrOID() { final String name = getEqualityMatchingRuleName(); if (name == null) { return getEqualityMatchingRuleOID(); } else { return name; } }
/** * Retrieves the name for this matching rule when used to perform ordering * matching if defined, or the OID if no name is available. * * @return The name or OID for this matching rule when used to perform * ordering matching, or {@code null} if this matching rule cannot * be used to perform equality matching. */ public String getOrderingMatchingRuleNameOrOID() { final String name = getOrderingMatchingRuleName(); if (name == null) { return getOrderingMatchingRuleOID(); } else { return name; } }
/** * Retrieves the name for this matching rule when used to perform substring * matching if defined, or the OID if no name is available. * * @return The name or OID for this matching rule when used to perform * substring matching, or {@code null} if this matching rule cannot * be used to perform equality matching. */ public String getSubstringMatchingRuleNameOrOID() { final String name = getSubstringMatchingRuleName(); if (name == null) { return getSubstringMatchingRuleOID(); } else { return name; } }
MatchingRule.selectEqualityMatchingRule(attrName, schema); for (final ASN1OctetString v : a.getRawValues()) if (matchingRule.valuesMatch(v, assertionValue)) MatchingRule.selectSubstringMatchingRule(attrName, schema); for (final ASN1OctetString v : a.getRawValues()) if (matchingRule.matchesSubstring(v, subInitial, subAny, subFinal)) MatchingRule.selectOrderingMatchingRule(attrName, schema); for (final ASN1OctetString v : a.getRawValues()) if (matchingRule.compareValues(v, assertionValue) >= 0) MatchingRule.selectOrderingMatchingRule(attrName, schema); for (final ASN1OctetString v : a.getRawValues()) if (matchingRule.compareValues(v, assertionValue) <= 0)
return selectSubstringMatchingRule(ruleID); return getDefaultSubstringMatchingRule(); if (attrType == null) return getDefaultSubstringMatchingRule(); if (mrName != null) return selectSubstringMatchingRule(mrName); if (syntaxOID != null) return selectMatchingRuleForSyntax(syntaxOID); return getDefaultSubstringMatchingRule();
return selectEqualityMatchingRule(ruleID); return getDefaultEqualityMatchingRule(); if (attrType == null) return getDefaultEqualityMatchingRule(); if (mrName != null) return selectEqualityMatchingRule(mrName); if (syntaxOID != null) return selectMatchingRuleForSyntax(syntaxOID); return getDefaultEqualityMatchingRule();
return getDefaultEqualityMatchingRule(); lowerName.equals("1.3.6.1.4.1.30221.2.4.12")) return getJSONObjectExactMatchingRule(); return getDefaultEqualityMatchingRule();
final MatchingRule matchingRule = MatchingRule.selectOrderingMatchingRule( attrName, k.getMatchingRuleID(), schema); if (k.reverseOrder()) if (matchingRule.compareValues(s, v1) > 0) if (matchingRule.compareValues(s, v2) > 0) final int value = matchingRule.compareValues(v2, v1); if (value != 0) if (matchingRule.compareValues(s, v1) < 0) if (matchingRule.compareValues(s, v2) < 0) final int value = matchingRule.compareValues(v1, v2); if (value != 0)
return getDefaultOrderingMatchingRule(); return getDefaultOrderingMatchingRule();
return getDefaultSubstringMatchingRule(); return getDefaultSubstringMatchingRule();
MatchingRule.selectEqualityMatchingRule(attrName, schema); for (final ASN1OctetString v : a.getRawValues()) if (matchingRule.valuesMatch(v, assertionValue)) MatchingRule.selectSubstringMatchingRule(attrName, schema); for (final ASN1OctetString v : a.getRawValues()) if (matchingRule.matchesSubstring(v, subInitial, subAny, subFinal)) MatchingRule.selectOrderingMatchingRule(attrName, schema); for (final ASN1OctetString v : a.getRawValues()) if (matchingRule.compareValues(v, assertionValue) >= 0) MatchingRule.selectOrderingMatchingRule(attrName, schema); for (final ASN1OctetString v : a.getRawValues()) if (matchingRule.compareValues(v, assertionValue) <= 0)
return selectSubstringMatchingRule(ruleID); return getDefaultSubstringMatchingRule(); if (attrType == null) return getDefaultSubstringMatchingRule(); if (mrName != null) return selectSubstringMatchingRule(mrName); if (syntaxOID != null) return selectMatchingRuleForSyntax(syntaxOID); return getDefaultSubstringMatchingRule();
return selectEqualityMatchingRule(ruleID); return getDefaultEqualityMatchingRule(); if (attrType == null) return getDefaultEqualityMatchingRule(); if (mrName != null) return selectEqualityMatchingRule(mrName); if (syntaxOID != null) return selectMatchingRuleForSyntax(syntaxOID); return getDefaultEqualityMatchingRule();
/** * Retrieves the name for this matching rule when used to perform substring * matching if defined, or the OID if no name is available. * * @return The name or OID for this matching rule when used to perform * substring matching, or {@code null} if this matching rule cannot * be used to perform equality matching. */ public String getSubstringMatchingRuleNameOrOID() { final String name = getSubstringMatchingRuleName(); if (name == null) { return getSubstringMatchingRuleOID(); } else { return name; } }
return getDefaultEqualityMatchingRule(); lowerName.equals("1.3.6.1.4.1.30221.2.4.12")) return getJSONObjectExactMatchingRule(); return getDefaultEqualityMatchingRule();
return getDefaultOrderingMatchingRule(); return getDefaultOrderingMatchingRule();