Package org.apache.stanbol.ontologymanager.ontonet.impl.ontology

Examples of org.apache.stanbol.ontologymanager.ontonet.impl.ontology.OntologyScopeFactoryImpl


    }

    @Test
    public void testScopesRendering() {
        ScopeRegistry reg = onManager.getScopeRegistry();
        OntologyScopeFactoryImpl scf = new OntologyScopeFactoryImpl(reg, onManager.getOntologyScopeFactory()
                .getNamespace(), onManager.getOntologySpaceFactory());
        OntologyScope scope = null, scope2 = null;
        try {
            scope = scf.createOntologyScope(scopeId1, src1, src2);
            scope2 = scf.createOntologyScope(scopeId2, src2);
            scope.setUp();
            reg.registerScope(scope);
            scope2.setUp();
            reg.registerScope(scope2);
        } catch (DuplicateIDException e) {
View Full Code Here


                scopeRegistry, (OntologyProvider<TcProvider>) ontologyProvider, offline,
                IRI.create(ns + scopeRegistryId + "/"));
        else ontologySpaceFactory = new org.apache.stanbol.ontologymanager.ontonet.impl.owlapi.OntologySpaceFactoryImpl(
                scopeRegistry, offline, ns);
        IRI iri = IRI.create(ns + scopeRegistryId + "/");
        ontologyScopeFactory = new OntologyScopeFactoryImpl(scopeRegistry, iri, ontologySpaceFactory);
    }
View Full Code Here

TOP

Related Classes of org.apache.stanbol.ontologymanager.ontonet.impl.ontology.OntologyScopeFactoryImpl

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.