org.coode.xml
Class OWLOntologyNamespaceManager

java.lang.Object
  extended by org.coode.xml.XMLWriterNamespaceManager
      extended by org.coode.xml.OWLOntologyNamespaceManager

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
protected  java.util.Set<java.net.URI> getAnnotationURIsThatRequireNamespaces()
           
protected  java.util.Set<OWLEntity> getEntitiesThatRequireNamespaces()
           
protected  OWLOntology getOntology()
           
 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
clone, equals, finalize, 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

getOntology

protected OWLOntology getOntology()

getEntitiesThatRequireNamespaces

protected java.util.Set<OWLEntity> getEntitiesThatRequireNamespaces()

getAnnotationURIsThatRequireNamespaces

protected java.util.Set<java.net.URI> getAnnotationURIsThatRequireNamespaces()

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.