public class ManchesterOWLSyntaxOntologyParser extends AbstractOWLParser
| Constructor and Description |
|---|
ManchesterOWLSyntaxOntologyParser() |
| Modifier and Type | Method and Description |
|---|---|
OWLOntologyFormat |
parse(OWLOntologyDocumentSource documentSource,
OWLOntology ontology)
Parses the ontology with a concrete representation in
documentSource and adds its axioms to ontology. |
OWLOntologyFormat |
parse(OWLOntologyDocumentSource documentSource,
OWLOntology ontology,
OWLOntologyLoaderConfiguration configuration)
Parses the ontology with a concrete representation in
documentSource and adds its axioms to ontology. |
getInputSource, getInputStream, getOWLOntologyManager, getRequestTypes, parse, setOWLOntologyManagerpublic OWLOntologyFormat parse(OWLOntologyDocumentSource documentSource, OWLOntology ontology, OWLOntologyLoaderConfiguration configuration) throws OWLParserException, IOException, OWLOntologyChangeException, UnloadableImportException
OWLParserdocumentSource and adds its axioms to ontology.
Implementors of this method should load imported ontologies through
makeLoadImportRequest().documentSource - the source of a concrete representation of the document to parseontology - the ontology to which the parsed axioms are addedconfiguration - parsing options for the parsernullOWLParserException - if there was a parsing problem parsing the ontology.IOException - if there was an IO problem during parsing.OWLOntologyChangeException - if there was a problem updating ontology. Typically this
depends on the document being parsed containing an ontology with
an ontology IRI clashing with one already loaded.UnloadableImportException - if one or more imports could not be loaded.public OWLOntologyFormat parse(OWLOntologyDocumentSource documentSource, OWLOntology ontology) throws OWLParserException, IOException, UnloadableImportException
OWLParserdocumentSource and adds its axioms to ontology.
Implementors of this method should load imported ontologies through
makeLoadImportRequest().documentSource - the source of a concrete representation of the document to parse.ontology - the ontology to which the parsed axioms are addednullOWLParserException - 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 © 2014 The University of Manchester. All Rights Reserved.