Class OWLOntologyXMLNamespaceManager

java.lang.Object
org.semanticweb.owlapi.rdf.rdfxml.renderer.XMLWriterNamespaceManager
org.semanticweb.owlapi.rdf.rdfxml.renderer.OWLOntologyXMLNamespaceManager
Direct Known Subclasses:
RDFXMLNamespaceManager

public class OWLOntologyXMLNamespaceManager extends XMLWriterNamespaceManager
The OWLOntologyNamespaceManager wraps a NamespaceManager (OWLDocumentFormat). In the case where the appropriate prefixes and mappings don't exist in the NamespaceManager (OWLDocumentFormat) this manager will create them.
Since:
2.0.0
Author:
Matthew Horridge, The University Of Manchester, Medical Informatics Group
  • Constructor Details

    • OWLOntologyXMLNamespaceManager

      public OWLOntologyXMLNamespaceManager(OWLOntology ontology, OWLDocumentFormat format)
      Parameters:
      ontology - ontology
      format - format
  • Method Details

    • getQName

      @Nullable public String getQName(String name)
      Description copied from class: XMLWriterNamespaceManager
      Gets a QName for a full URI.
      Overrides:
      getQName in class XMLWriterNamespaceManager
      Parameters:
      name - The name which represents the full name.
      Returns:
      The QName representation or the input name if a QName could not be generated.