uk.ac.manchester.cs.owl
Class OWLOntologyURIMapperImpl
java.lang.Object
uk.ac.manchester.cs.owl.OWLOntologyURIMapperImpl
- All Implemented Interfaces:
- OWLOntologyURIMapper
public class OWLOntologyURIMapperImpl
- extends java.lang.Object
- implements OWLOntologyURIMapper
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 14-Nov-2006
Method Summary |
void |
addMapping(java.net.URI ontologyURI,
java.net.URI physicalURI)
|
java.net.URI |
getPhysicalURI(java.net.URI ontologyURI)
Gets the physical URI of an ontology given an ontology URI. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OWLOntologyURIMapperImpl
public OWLOntologyURIMapperImpl()
getPhysicalURI
public java.net.URI getPhysicalURI(java.net.URI ontologyURI)
- Gets the physical URI of an ontology given an ontology URI. If no mapping
is found, then the ontology URI is returned.
- Specified by:
getPhysicalURI
in interface OWLOntologyURIMapper
- Parameters:
ontologyURI
-
- Returns:
- The physical URI of the ontology, or
null
if the mapper doesn't have mapping for the specified ontology URI.
addMapping
public void addMapping(java.net.URI ontologyURI,
java.net.URI physicalURI)