Class OWLXMLParser

java.lang.Object
org.semanticweb.owlapi.io.AbstractOWLParser
org.semanticweb.owlapi.owlxml.parser.OWLXMLParser
All Implemented Interfaces:
Serializable, OWLParser

public class OWLXMLParser extends AbstractOWLParser
Since:
2.0.0
Author:
Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
See Also:
  • Constructor Details

    • OWLXMLParser

      public OWLXMLParser()
  • Method Details

    • getSupportedFormat

      public OWLDocumentFormatFactory 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 in documentSource and adds its axioms to ontology. Implementors of this method should load imported ontologies through makeLoadImportRequest().
      Parameters:
      documentSource - the source of a concrete representation of the document to parse
      ontology - the ontology to which the parsed axioms are added
      configuration - parsing options for the parser
      Returns:
      the format of the parsed ontology