Package org.apache.directory.shared.ldap.schema

Examples of org.apache.directory.shared.ldap.schema.MatchingRule


     * @return a matchingRule or null if one cannot be found for the attributeType
     * @throws NamingException if resolution of schema entities fail
     */
    private MatchingRule getMatchingRule() throws NamingException
    {
        MatchingRule mr = attributeType.getEquality();

        if ( mr == null )
        {
            mr = attributeType.getOrdering();
        }
View Full Code Here


     * @return a normalizer associated with the attributeType or null if one cannot be found
     * @throws NamingException if resolution of schema entities fail
     */
    private Normalizer getNormalizer() throws NamingException
    {
        MatchingRule mr = getMatchingRule();

        if ( mr == null )
        {
            return null;
        }

        return mr.getNormalizer();
    }
View Full Code Here

     * @return a comparator associated with the attributeType or null if one cannot be found
     * @throws NamingException if resolution of schema entities fail
     */
    private Comparator getComparator() throws NamingException
    {
        MatchingRule mr = getMatchingRule();

        if ( mr == null )
        {
            return null;
        }

        return mr.getComparator();
    }
View Full Code Here

     * @return a matchingRule or null if one cannot be found for the attributeType
     * @throws NamingException if resolution of schema entities fail
     */
    private MatchingRule getMatchingRule() throws NamingException
    {
        MatchingRule mr = attributeType.getEquality();

        if ( mr == null )
        {
            mr = attributeType.getOrdering();
        }
View Full Code Here

     * @return a normalizer associated with the attributeType or null if one cannot be found
     * @throws NamingException if resolution of schema entities fail
     */
    private Normalizer getNormalizer() throws NamingException
    {
        MatchingRule mr = getMatchingRule();

        if ( mr == null )
        {
            return null;
        }

        return mr.getNormalizer();
    }
View Full Code Here

     * @return a comparator associated with the attributeType or null if one cannot be found
     * @throws NamingException if resolution of schema entities fail
     */
    private Comparator getComparator() throws NamingException
    {
        MatchingRule mr = getMatchingRule();

        if ( mr == null )
        {
            return null;
        }

        return mr.getComparator();
    }
View Full Code Here

        if ( at == null )
        {
            return null;
        }
       
        MatchingRule mr = at.getEquality();
       
        if ( mr == null )
        {
            return findEquality( at.getSuperior() );
        }
View Full Code Here

        if ( at == null )
        {
            return null;
        }
       
        MatchingRule mr = at.getOrdering();
        if ( mr == null )
        {
            return findOrdering( at.getSuperior() );
        }
        else
View Full Code Here

        if ( at == null )
        {
            return null;
        }
       
        MatchingRule mr = at.getSubstr();
        if ( mr == null )
        {
            return findSubstr( at.getSuperior() );
        }
        else
View Full Code Here

    {
        SerializableComparator<K> comp;

        try
        {
            MatchingRule mr = attribute.getEquality();
           
            comp = new SerializableComparator<K>( mr.getOid() );
        }
        catch ( NamingException e )
        {
            IOException ioe = new IOException( "Failed to find an equality matching rule for attribute type" );
            ioe.initCause( e );
View Full Code Here

TOP

Related Classes of org.apache.directory.shared.ldap.schema.MatchingRule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.