Class OWLXMLParser
java.lang.Object
org.semanticweb.owlapi.io.AbstractOWLParser
org.semanticweb.owlapi.owlxml.parser.OWLXMLParser
- All Implemented Interfaces:
Serializable
,OWLParser
- Since:
- 2.0.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse
(OWLOntologyDocumentSource documentSource, OWLOntology ontology, OWLOntologyLoaderConfiguration configuration) Parses the ontology with a concrete representation indocumentSource
and adds its axioms toontology
.
-
Constructor Details
-
OWLXMLParser
public OWLXMLParser()
-
-
Method Details
-
getSupportedFormat
- Returns:
- The supported format for this parser.
-
parse
public OWLDocumentFormat parse(OWLOntologyDocumentSource documentSource, OWLOntology ontology, OWLOntologyLoaderConfiguration configuration) Description copied from interface:OWLParser
Parses the ontology with a concrete representation indocumentSource
and adds its axioms toontology
. Implementors of this method should load imported ontologies throughmakeLoadImportRequest()
.- Parameters:
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 parser- Returns:
- the format of the parsed ontology
-