Class OWLOntologyURIChanger

  extended by org.semanticweb.owl.util.OWLOntologyURIChanger

public class OWLOntologyURIChanger
extends java.lang.Object

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 25-May-2007

Changes the URI of an ontology and ensures that ontologies which import the ontology have their imports statements updated

Constructor Summary
OWLOntologyURIChanger(OWLOntologyManager owlOntologyManager)
Method Summary
 java.util.List<OWLOntologyChange> getChanges(OWLOntology ontology, newURI)
          Changes the URI of the specified ontology to the new URI.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public OWLOntologyURIChanger(OWLOntologyManager owlOntologyManager)
Method Detail


public java.util.List<OWLOntologyChange> getChanges(OWLOntology ontology,
Changes the URI of the specified ontology to the new URI.

ontology - The ontology whose URI is to be changed.
newURI - The new URI for the ontology
A list of changes, which when applied will change the URI of the specified ontology, and also update the imports declarations in any ontologies which import the specified ontology.