public class OWLFunctionalSyntaxOWLParser extends AbstractOWLParser
Constructor and Description |
---|
OWLFunctionalSyntaxOWLParser() |
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 . |
getOWLOntologyManager, parse, setOWLOntologyManager
public OWLOntologyFormat parse(OWLOntologyDocumentSource documentSource, OWLOntology ontology) throws OWLParserException, IOException, UnloadableImportException
OWLParser
documentSource
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 addednull
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.public OWLOntologyFormat parse(OWLOntologyDocumentSource documentSource, OWLOntology ontology, OWLOntologyLoaderConfiguration configuration) throws OWLParserException, IOException, OWLOntologyChangeException, UnloadableImportException
OWLParser
documentSource
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 parsernull
OWLParserException
- 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.Copyright © 2017 The University of Manchester. All Rights Reserved.