org.coode.xml
Class OWLOntologyNamespaceManager

java.lang.Object
  extended by org.coode.xml.XMLWriterNamespaceManager
      extended by org.coode.xml.OWLOntologyNamespaceManager
Direct Known Subclasses:
RDFXMLNamespaceManager

public class OWLOntologyNamespaceManager
extends XMLWriterNamespaceManager

Author: Matthew Horridge
The University Of Manchester
Medical Informatics Group
Date: 30-May-2006

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm

Developed as part of the CO-ODE project http://www.co-ode.org


Constructor Summary
OWLOntologyNamespaceManager(OWLOntologyManager man, OWLOntology ontology)
           
OWLOntologyNamespaceManager(OWLOntologyManager man, OWLOntology ontology, OWLOntologyFormat format)
           
 
Method Summary
 java.lang.String getQName(java.lang.String name)
          Gets a QName for a full URI.
 
Methods inherited from class org.coode.xml.XMLWriterNamespaceManager
createPrefixForNamespace, getDefaultNamespace, getNamespaceForPrefix, getNamespaces, getPrefixes, getPrefixForNamespace, setDefaultNamespace, setPrefix
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLOntologyNamespaceManager

public OWLOntologyNamespaceManager(OWLOntologyManager man,
                                   OWLOntology ontology)

OWLOntologyNamespaceManager

public OWLOntologyNamespaceManager(OWLOntologyManager man,
                                   OWLOntology ontology,
                                   OWLOntologyFormat format)
Method Detail

getQName

public java.lang.String getQName(java.lang.String name)
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 null if a QName could not be generated.