Package org.semanticweb.owlapi.util

Examples of org.semanticweb.owlapi.util.NonMappingOntologyIRIMapper


    public void setUp() {
        manager = new OWLOntologyManagerImpl(new OWLDataFactoryImpl());
        OWLOntologyBuilderImpl builder = new OWLOntologyBuilderImpl();
        manager.getOntologyFactories().add(
                new EmptyInMemOWLOntologyFactory(builder));
        manager.getIRIMappers().add(new NonMappingOntologyIRIMapper());
    }
View Full Code Here


    }

    protected final void installDefaultURIMappers() {
        // By defaut install the default mapper that simply maps
        // ontology URIs to themselves.
        documentMappers.add(new NonMappingOntologyIRIMapper());
    }
View Full Code Here


    private void installDefaultURIMappers() {
        // By defaut install the default mapper that simply maps
        // ontology URIs to themselves.
        addIRIMapper(new NonMappingOntologyIRIMapper());
    }
View Full Code Here

        ontologyManager.addOntologyStorer(new OBOFlatFileOntologyStorer());
        ontologyManager.addOntologyStorer(new KRSS2OWLSyntaxOntologyStorer());
        ontologyManager.addOntologyStorer(new TurtleOntologyStorer());
        ontologyManager.addOntologyStorer(new LatexOntologyStorer());

        ontologyManager.addIRIMapper(new NonMappingOntologyIRIMapper());

        ontologyManager.addOntologyFactory(new EmptyInMemOWLOntologyFactory());
        ontologyManager.addOntologyFactory(new ParsableOWLOntologyFactory());

        return ontologyManager;
View Full Code Here


    private void installDefaultURIMappers() {
        // By defaut install the default mapper that simply maps
        // ontology URIs to themselves.
        addIRIMapper(new NonMappingOntologyIRIMapper());
    }
View Full Code Here

        ontologyManager.addOntologyStorer(new OBOFlatFileOntologyStorer());
        ontologyManager.addOntologyStorer(new KRSS2OWLSyntaxOntologyStorer());
        ontologyManager.addOntologyStorer(new TurtleOntologyStorer());
        ontologyManager.addOntologyStorer(new LatexOntologyStorer());

        ontologyManager.addIRIMapper(new NonMappingOntologyIRIMapper());

        ontologyManager.addOntologyFactory(new EmptyInMemOWLOntologyFactory());
        ontologyManager.addOntologyFactory(new ParsableOWLOntologyFactory());

        return ontologyManager;
View Full Code Here

        delegateManager.addOntologyStorer(new RDFXMLOntologyStorer());
        delegateManager.addOntologyStorer(new OWLXMLOntologyStorer());
        delegateManager.addOntologyStorer(new OWLFunctionalSyntaxOntologyStorer());
        delegateManager.addOntologyStorer(new ManchesterOWLSyntaxOntologyStorer());
        // Pass through mapping
        delegateManager.addIRIMapper(new NonMappingOntologyIRIMapper());

        // The wrapper manager
        manager = new OWLAPIProjectOWLOntologyManager();

        // We have to do some twiddling of the factories so that the delegate manager creates ontologies which point
View Full Code Here

        manager.addIRIMapper(iriMapper);
        manager.setSilentMissingImportsHandling(true);       
      }
      else
      {
        manager.addIRIMapper(new NonMappingOntologyIRIMapper());
        manager.setSilentMissingImportsHandling(false);
      }

      if(inputFiles.size() > 1)
        for(String inputFile: inputFiles)
View Full Code Here

      manager.clearIRIMappers();
      manager.addIRIMapper( iriMapper );
    }
    else {
      manager.clearIRIMappers();
      manager.addIRIMapper( new NonMappingOntologyIRIMapper() );
    }
  }
View Full Code Here

      manager.clearIRIMappers();
      manager.addIRIMapper( iriMapper );
    }
    else {
      manager.clearIRIMappers();
      manager.addIRIMapper( new NonMappingOntologyIRIMapper() );
    }
  }
View Full Code Here

TOP

Related Classes of org.semanticweb.owlapi.util.NonMappingOntologyIRIMapper

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.