/** * Gets the comparator for equality matching. * * @param attributeType the attributeType * @return the comparator for equality matching * @throws LdapException if there is a failure */ private LdapComparator<? super Object> getComparator( AttributeType attributeType ) throws LdapException { MatchingRule mrule = getMatchingRule( attributeType, EQUALITY_MATCH ); return mrule.getLdapComparator(); }
/** * Gets the normalizer for equality matching. * * @param attributeType the attributeType * @return the normalizer for equality matching * @throws LdapException if there is a failure */ private Normalizer getNormalizer( AttributeType attributeType ) throws LdapException { MatchingRule mrule = getMatchingRule( attributeType, EQUALITY_MATCH ); return mrule.getNormalizer(); }