Examples of DitContentRule


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

        int pos = 0;

        for ( Value<?> value : attr )
        {
            DITContentRule ditContentRule = null;

            try
            {
                ditContentRule = ditContentRuleParser.parseDITContentRuleDescription( value.getString() );
                ditContentRule.setSpecification( value.getString() );
            }
            catch ( ParseException e )
            {
                LdapInvalidAttributeValueException iave = new LdapInvalidAttributeValueException( ResultCodeEnum.INVALID_ATTRIBUTE_SYNTAX, I18n.err( I18n.ERR_427,
                        value.getString() ) );
View Full Code Here

Examples of org.apache.ldap.common.schema.DITContentRule

    {
        id = oidRegistry.getOid( id );

        if ( byOid.containsKey( id ) )
        {
            DITContentRule dITContentRule = ( DITContentRule ) byOid.get( id );
            monitor.lookedUp( dITContentRule );
            return dITContentRule;
        }

        if ( bootstrap.hasDITContentRule( id ) )
        {
            DITContentRule dITContentRule = bootstrap.lookup( id );
            monitor.lookedUp( dITContentRule );
            return dITContentRule;
        }

        NamingException e = new NamingException( "dITContentRule w/ OID "
View Full Code Here

Examples of org.apache.ldap.common.schema.DITContentRule

                + id + " not registered!" );
            monitor.lookupFailed( id, e );
            throw e;
        }

        DITContentRule dITContentRule = ( DITContentRule ) byOid.get( id );
        monitor.lookedUp( dITContentRule );
        return dITContentRule;
    }
View Full Code Here

Examples of org.apache.ldap.common.schema.DITContentRule

                + id + " not registered!" );
            monitor.lookupFailed( id, e );
            throw e;
        }

        DITContentRule dITContentRule = ( DITContentRule ) byOid.get( id );
        monitor.lookedUp( dITContentRule );
        return dITContentRule;
    }
View Full Code Here

Examples of org.apache.ldap.common.schema.DITContentRule

    {
        id = oidRegistry.getOid( id );

        if ( byOid.containsKey( id ) )
        {
            DITContentRule dITContentRule = ( DITContentRule ) byOid.get( id );
            monitor.lookedUp( dITContentRule );
            return dITContentRule;
        }

        if ( bootstrap.hasDITContentRule( id ) )
        {
            DITContentRule dITContentRule = bootstrap.lookup( id );
            monitor.lookedUp( dITContentRule );
            return dITContentRule;
        }

        NamingException e = new NamingException( "dITContentRule w/ OID "
View Full Code Here

Examples of org.apache.ldap.common.schema.DITContentRule

                MatchingRuleUseRegistry matchingRuleUseRegistry;
                matchingRuleUseRegistry = registries.getMatchingRuleUseRegistry();
                matchingRuleUseRegistry.register( schema.getSchemaName(), matchingRuleUse );
                break;
            case( ProducerTypeEnum.DIT_CONTENT_RULE_PRODUCER_VAL ):
                DITContentRule ditContentRule = ( DITContentRule ) schemaObject;
                DITContentRuleRegistry ditContentRuleRegistry;
                ditContentRuleRegistry = registries.getDitContentRuleRegistry();
                ditContentRuleRegistry.register( schema.getSchemaName(), ditContentRule );
                break;
            case( ProducerTypeEnum.NAME_FORM_PRODUCER_VAL ):
View Full Code Here

Examples of org.apache.ldap.common.schema.DITContentRule

        {
            attr = new LockableAttributeImpl( attrs, "dITContentRules" );
            Iterator list = globalRegistries.getDitContentRuleRegistry().list();
            while ( list.hasNext() )
            {
                DITContentRule dcr = ( DITContentRule ) list.next();
                attr.add( SchemaUtils.render( dcr ).toString() );
            }
            attrs.put( attr );
        }
View Full Code Here

Examples of org.apache.ldap.common.schema.DITContentRule

                + id + " not registered!" );
            monitor.lookupFailed( id, e );
            throw e;
        }

        DITContentRule dITContentRule = ( DITContentRule ) byOid.get( id );
        monitor.lookedUp( dITContentRule );
        return dITContentRule;
    }
View Full Code Here

Examples of org.apache.ldap.common.schema.DITContentRule

                MatchingRuleUseRegistry matchingRuleUseRegistry;
                matchingRuleUseRegistry = registries.getMatchingRuleUseRegistry();
                matchingRuleUseRegistry.register( schema.getSchemaName(), matchingRuleUse );
                break;
            case( ProducerTypeEnum.DIT_CONTENT_RULE_PRODUCER_VAL ):
                DITContentRule ditContentRule = ( DITContentRule ) schemaObject;
                DITContentRuleRegistry ditContentRuleRegistry;
                ditContentRuleRegistry = registries.getDitContentRuleRegistry();
                ditContentRuleRegistry.register( schema.getSchemaName(), ditContentRule );
                break;
            case( ProducerTypeEnum.NAME_FORM_PRODUCER_VAL ):
View Full Code Here

Examples of org.apache.ldap.common.schema.DITContentRule

    {
        id = oidRegistry.getOid( id );

        if ( byOid.containsKey( id ) )
        {
            DITContentRule dITContentRule = ( DITContentRule ) byOid.get( id );
            monitor.lookedUp( dITContentRule );
            return dITContentRule;
        }

        if ( bootstrap.hasDITContentRule( id ) )
        {
            DITContentRule dITContentRule = bootstrap.lookup( id );
            monitor.lookedUp( dITContentRule );
            return dITContentRule;
        }

        NamingException e = new NamingException( "dITContentRule w/ OID "
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.