public class OBOFormatOWLAPIParser extends Object implements OWLParser, Serializable
| Constructor and Description |
|---|
OBOFormatOWLAPIParser() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
OWLDocumentFormatFactory |
getSupportedFormat() |
OWLDocumentFormat |
parse(IRI documentIRI,
OWLOntology ontology)
Parses the ontology with a concrete representation available at
documentIRI and adds its axioms to ontology. |
OWLDocumentFormat |
parse(OWLOntologyDocumentSource documentSource,
OWLOntology ontology,
OWLOntologyLoaderConfiguration configuration)
Parses the ontology with a concrete representation in
documentSource and adds its axioms to ontology. |
@Nonnull public OWLDocumentFormat parse(IRI documentIRI, @Nonnull OWLOntology ontology) throws IOException
OWLParserdocumentIRI and adds its axioms to ontology. Implementors
of this method should load imported ontologies through
makeLoadImportRequest().parse in interface OWLParserdocumentIRI - the IRI of the document to parseontology - the ontology to which the parsed axioms are addedIOException - if there was an IO problem during parsing.@Nonnull public OWLDocumentFormat parse(@Nonnull OWLOntologyDocumentSource documentSource, @Nonnull OWLOntology ontology, OWLOntologyLoaderConfiguration configuration) throws IOException
OWLParserdocumentSource and adds its axioms to ontology.
Implementors of this method should load imported ontologies through
makeLoadImportRequest().parse in interface OWLParserdocumentSource - the source of a concrete representation of the document to parseontology - the ontology to which the parsed axioms are addedconfiguration - parsing options for the parserIOException - if there was an IO problem during parsing.@Nonnull public OWLDocumentFormatFactory getSupportedFormat()
getSupportedFormat in interface OWLParserCopyright © 2016 The University of Manchester. All Rights Reserved.