public class OWLXMLParser extends AbstractOWLParser
Constructor and Description |
---|
OWLXMLParser() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
OWLDocumentFormatFactory |
getSupportedFormat() |
OWLDocumentFormat |
parse(OWLOntologyDocumentSource documentSource,
OWLOntology ontology,
OWLOntologyLoaderConfiguration configuration)
Parses the ontology with a concrete representation in
documentSource and adds its
axioms to ontology . |
parse
@Nonnull public String getName()
getName
in interface OWLParser
getName
in class AbstractOWLParser
public OWLDocumentFormatFactory getSupportedFormat()
public OWLDocumentFormat parse(OWLOntologyDocumentSource documentSource, OWLOntology ontology, OWLOntologyLoaderConfiguration configuration) throws IOException
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 parserIOException
- if there was an IO problem during parsing.Copyright © 2020 The University of Manchester. All rights reserved.