|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.semanticweb.owl.util.CommonBaseURIMapper
public class CommonBaseURIMapper
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 07-Feb-2007
Constructor Summary | |
---|---|
CommonBaseURIMapper(java.net.URI base)
Creates a mapper, which maps ontology URIs to URIs which share the specified base |
Method Summary | |
---|---|
void |
addMapping(java.net.URI ontologyURI,
java.lang.String localName)
Adds a mapping from an ontology URI to a physical URI which has a base of this mapper and a specified local name - in other words the physical URI will be determined by resolving the local name against the URI base of this mapper. |
java.net.URI |
getPhysicalURI(java.net.URI ontologyURI)
Given an ontology URI, this method maps the ontology URI to a physical URI that points to some concrete representation of the ontology. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommonBaseURIMapper(java.net.URI base)
Method Detail |
---|
public void addMapping(java.net.URI ontologyURI, java.lang.String localName)
public java.net.URI getPhysicalURI(java.net.URI ontologyURI)
getPhysicalURI
in interface OWLOntologyURIMapper
ontologyURI
- The ontology URI to be mapped.
null
if the mapper doesn't have mapping for the specified ontology URI.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |