|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.semanticweb.owlapi.util.CommonBaseIRIMapper
public class CommonBaseIRIMapper
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 07-Feb-2007
Constructor Summary | |
---|---|
CommonBaseIRIMapper(IRI base)
Creates a mapper, which maps ontology URIs to URIs which share the specified base |
Method Summary | |
---|---|
void |
addMapping(IRI ontologyIRI,
java.lang.String localName)
Adds a mapping from an ontology IRI to an ontology document IRI which has a base of this mapper and a specified local name - in other words the document IRI will be determined by resolving the local name against the URI base of this mapper. |
IRI |
getDocumentIRI(IRI ontologyIRI)
Given an ontology IRI, this method maps the ontology IRI to a document IRI 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 CommonBaseIRIMapper(IRI base)
Method Detail |
---|
public void addMapping(IRI ontologyIRI, java.lang.String localName)
public IRI getDocumentIRI(IRI ontologyIRI)
getDocumentIRI
in interface OWLOntologyIRIMapper
ontologyIRI
- The ontology IRI to be mapped.
null
if the mapper doesn't have mapping for the specified ontology IRI.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |