Package org.semanticweb.owlapi.model

Examples of org.semanticweb.owlapi.model.OWLOntologyLoaderListener


            @Override
            public void importMissing(MissingImportEvent arg0) {
                log.warn("Missing import {} ", arg0.getImportedOntologyURI());
            }
        });
        manager.addOntologyLoaderListener(new OWLOntologyLoaderListener() {

            @Override
            public void finishedLoadingOntology(LoadingFinishedEvent arg0) {
                log.info("Finished loading {} (imported: {})", arg0.getOntologyID(), arg0.isImported());
            }
View Full Code Here


    @Test
    public void spacePreservesImports() throws Exception {
        InputStream content = getClass().getResourceAsStream("/ontologies/characters_all.owl");
        URL url = getClass().getResource("/ontologies/characters_all.owl");
        OWLOntologyManager mgr = OWLManager.createOWLOntologyManager();
        mgr.addOntologyLoaderListener(new OWLOntologyLoaderListener() {

            @Override
            public void startedLoadingOntology(LoadingStartedEvent arg0) {}

            @Override
View Full Code Here

            @Override
            public void importMissing(MissingImportEvent arg0) {
                log.warn("Missing import {} ", arg0.getImportedOntologyURI());
            }
        });
        manager.addOntologyLoaderListener(new OWLOntologyLoaderListener() {

            @Override
            public void finishedLoadingOntology(LoadingFinishedEvent arg0) {
                log.info("Finished loading {} (imported: {})", arg0.getOntologyID(), arg0.isImported());
            }
View Full Code Here

            @Override
            public void importMissing(MissingImportEvent arg0) {
                log.warn("Missing import {} ", arg0.getImportedOntologyURI());
            }
        });
        manager.addOntologyLoaderListener(new OWLOntologyLoaderListener(){

            @Override
            public void finishedLoadingOntology(LoadingFinishedEvent arg0) {
                log.info("Finished loading {} (imported: {})",arg0.getOntologyID(),arg0.isImported());
            }
View Full Code Here

            public void importMissing(MissingImportEvent arg0) {
                if (!getUnresolvedURIs().contains(arg0.getImportedOntologyURI())) getUnresolvedURIs().add(
                    arg0.getImportedOntologyURI().toURI());
            }
        });
        manager.addOntologyLoaderListener(new OWLOntologyLoaderListener() {

            @Override
            public void startedLoadingOntology(LoadingStartedEvent event) {
                // Nothing to do
            }
View Full Code Here

    @Test
    public void spacePreservesImports() throws Exception {
        InputStream content = getClass().getResourceAsStream("/ontologies/characters_all.owl");
        URL url = getClass().getResource("/ontologies/characters_all.owl");
        OWLOntologyManager mgr = OWLManager.createOWLOntologyManager();
        mgr.addOntologyLoaderListener(new OWLOntologyLoaderListener() {

            @Override
            public void startedLoadingOntology(LoadingStartedEvent arg0) {}

            @Override
View Full Code Here

            @Override
            public void importMissing(MissingImportEvent arg0) {
                log.warn("Missing import {} ", arg0.getImportedOntologyURI());
            }
        });
        manager.addOntologyLoaderListener(new OWLOntologyLoaderListener() {

            @Override
            public void finishedLoadingOntology(LoadingFinishedEvent arg0) {
                log.info("Finished loading {} (imported: {})", arg0.getOntologyID(), arg0.isImported());
            }
View Full Code Here

            @Override
            public void importMissing(MissingImportEvent arg0) {
                log.warn("Missing import {} ", arg0.getImportedOntologyURI());
            }
        });
        manager.addOntologyLoaderListener(new OWLOntologyLoaderListener(){

            @Override
            public void finishedLoadingOntology(LoadingFinishedEvent arg0) {
                log.info("Finished loading {} (imported: {})",arg0.getOntologyID(),arg0.isImported());
            }
View Full Code Here

            public void importMissing(MissingImportEvent arg0) {
                if (!getUnresolvedURIs().contains(arg0.getImportedOntologyURI())) getUnresolvedURIs().add(
                    arg0.getImportedOntologyURI());
            }
        });
        manager.addOntologyLoaderListener(new OWLOntologyLoaderListener() {

            @Override
            public void startedLoadingOntology(LoadingStartedEvent event) {
                // Nothing to do
            }
View Full Code Here

TOP

Related Classes of org.semanticweb.owlapi.model.OWLOntologyLoaderListener

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.