Examples of SchemaLoader


Examples of com.github.fge.jsonschema.core.load.SchemaLoader

    {
        reportProvider = builder.reportProvider;
        loadingCfg = builder.loadingCfg;
        validationCfg = builder.validationCfg;

        loader = new SchemaLoader(loadingCfg);
        final Processor<SchemaContext, ValidatorList> processor
            = buildProcessor();
        validator = new JsonValidator(loader,
            new ValidationProcessor(validationCfg, processor), reportProvider);
        syntaxValidator = new SyntaxValidator(validationCfg);
View Full Code Here

Examples of hu.sztaki.ilab.longneck.bootstrap.SchemaLoader

        documentBuilderFactory.setNamespaceAware(true);
       
        // Create schema and assign to real document builder
        DocumentBuilder schemaDocBuilder = documentBuilderFactory.newDocumentBuilder();

        schemaLoader = new SchemaLoader();
        List<URL> urlList = new ArrayList<URL>(2);
        urlList.add(resourceLoader.getResource("classpath:META-INF/longneck/schema/longneck.xsd").getURL());
        schemaLoader.setSchemaUrls(urlList);
        Schema schema = schemaLoader.getSchema(
                resourceLoader.getResource("classpath:META-INF/longneck/schema/longneck-process.xsd").getURL());
View Full Code Here

Examples of org.apache.directory.api.ldap.model.schema.registries.SchemaLoader

            SchemaConstants.SCHEMA_MODIFICATIONS_DN );

        computeSuperiors();

        // Initialize the schema manager
        SchemaLoader loader = directoryService.getSchemaManager().getLoader();
        schemaSubEntryManager = new SchemaSubentryManager( schemaManager, loader, dnFactory );

        if ( IS_DEBUG )
        {
            LOG.debug( "SchemaInterceptor Initialized !" );
View Full Code Here

Examples of org.apache.directory.api.ldap.model.schema.registries.SchemaLoader

        catch ( IOException ioe )
        {
            // The schema has already been extracted, bypass
        }

        SchemaLoader loader = new LdifSchemaLoader( schemaRepository );
        SchemaManager schemaManager = new DefaultSchemaManager( loader );

        // We have to load the schema now, otherwise we won't be able
        // to initialize the Partitions, as we won't be able to parse
        // and normalize their suffix Dn
View Full Code Here

Examples of org.apache.directory.api.ldap.model.schema.registries.SchemaLoader

        {
            SchemaLdifExtractor extractor = new DefaultSchemaLdifExtractor( new File( workingDirectory ) );
            extractor.extractOrCopy();
        }

        SchemaLoader loader = new LdifSchemaLoader( schemaRepository );
        SchemaManager schemaManager = new DefaultSchemaManager( loader );
        directoryService.setSchemaManager( schemaManager );

        // Init the LdifPartition
        LdifPartition ldifPartition = new LdifPartition( schemaManager, directoryService.getDnFactory() );
View Full Code Here

Examples of org.apache.directory.api.ldap.model.schema.registries.SchemaLoader

        }

        SchemaLdifExtractor extractor = new DefaultSchemaLdifExtractor( new File( workingDirectory ) );
        extractor.extractOrCopy();

        SchemaLoader loader = new LdifSchemaLoader( schemaRepository );
        schemaManager = new DefaultSchemaManager( loader );

        // We have to load the schema now, otherwise we won't be able
        // to initialize the Partitions, as we won't be able to parse
        // and normalize their suffix Dn
View Full Code Here

Examples of org.apache.directory.api.ldap.model.schema.registries.SchemaLoader

        }

        SchemaLdifExtractor extractor = new DefaultSchemaLdifExtractor( new File( workingDirectory ) );
        extractor.extractOrCopy();

        SchemaLoader loader = new LdifSchemaLoader( schemaRepository );
        schemaManager = new DefaultSchemaManager( loader );

        // We have to load the schema now, otherwise we won't be able
        // to initialize the Partitions, as we won't be able to parse
        // and normalize their suffix Dn
View Full Code Here

Examples of org.apache.directory.api.ldap.model.schema.registries.SchemaLoader

        }

        SchemaLdifExtractor extractor = new DefaultSchemaLdifExtractor( new File( workingDirectory ) );
        extractor.extractOrCopy();

        SchemaLoader loader = new LdifSchemaLoader( schemaRepository );
        schemaManager = new DefaultSchemaManager( loader );

        // We have to load the schema now, otherwise we won't be able
        // to initialize the Partitions, as we won't be able to parse
        // and normalize their suffix Dn
View Full Code Here

Examples of org.apache.directory.api.ldap.model.schema.registries.SchemaLoader

        }

        SchemaLdifExtractor extractor = new DefaultSchemaLdifExtractor( new File( workingDirectory ) );
        extractor.extractOrCopy();

        SchemaLoader loader = new LdifSchemaLoader( schemaRepository );
        schemaManager = new DefaultSchemaManager( loader );

        // We have to load the schema now, otherwise we won't be able
        // to initialize the Partitions, as we won't be able to parse
        // and normalize their suffix Dn
View Full Code Here

Examples of org.apache.directory.api.ldap.model.schema.registries.SchemaLoader

        }

        SchemaLdifExtractor extractor = new DefaultSchemaLdifExtractor( new File( workingDirectory ) );
        extractor.extractOrCopy();

        SchemaLoader loader = new LdifSchemaLoader( schemaRepository );
        schemaManager = new DefaultSchemaManager( loader );

        // We have to load the schema now, otherwise we won't be able
        // to initialize the Partitions, as we won't be able to parse
        // and normalize their suffix Dn
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.