OWLOntologyManagerthat should be associated with the parser.
|Modifier and Type||Method and Description|
Parser implementors should obtain ontology managers from the ontology that gets supplied in the parse method.
Parses the ontology with a concrete representation available at
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@Deprecated public void setOWLOntologyManager(OWLOntologyManager owlOntologyManager)
OWLOntologyManagerwhich should be used to load imports etc.
@Deprecated public OWLOntologyManager getOWLOntologyManager()
public OWLOntologyFormat parse(IRI documentIRI, OWLOntology ontology) throws OWLParserException, IOException, UnloadableImportException
documentIRIand adds its axioms to
ontology. Implementors of this method should load imported ontologies through
documentIRI- the IRI of the document to parse
ontology- the ontology to which the parsed axioms are added
OWLParserException- if there was a parsing problem parsing the ontology.
IOException- if there was an IO problem during parsing.
UnloadableImportException- if one or more imports could not be loaded.
Copyright © 2017 The University of Manchester. All Rights Reserved.