public abstract class AbstractOWLParser extends Object implements OWLParser, Serializable
OWLOntologyManager that should be
associated with the parser. Note: all current parser implementations are
stateless.| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
OWLDocumentFormat |
parse(IRI documentIRI,
OWLOntology ontology)
Parses the ontology with a concrete representation available at
documentIRI and adds its axioms to ontology. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedFormat, parse@Nonnull public OWLDocumentFormat parse(IRI documentIRI, 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.Copyright © 2016 The University of Manchester. All Rights Reserved.