org.semanticweb.owlapi.util
Class SimpleIRIMapper

java.lang.Object
  extended by org.semanticweb.owlapi.util.SimpleIRIMapper
All Implemented Interfaces:
OWLOntologyIRIMapper

public class SimpleIRIMapper
extends java.lang.Object
implements OWLOntologyIRIMapper

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 12-Dec-2006


Constructor Summary
SimpleIRIMapper(IRI ontologyIRI, IRI documentIRI)
           
SimpleIRIMapper(java.net.URI ontologyURI, IRI documentIRI)
           
 
Method Summary
 IRI getDocumentIRI(IRI ontologyIRI)
          Given an ontology IRI, this method maps the ontology IRI to a document IRI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleIRIMapper

public SimpleIRIMapper(IRI ontologyIRI,
                       IRI documentIRI)

SimpleIRIMapper

public SimpleIRIMapper(java.net.URI ontologyURI,
                       IRI documentIRI)
Method Detail

getDocumentIRI

public IRI getDocumentIRI(IRI ontologyIRI)
Description copied from interface: OWLOntologyIRIMapper
Given an ontology IRI, this method maps the ontology IRI to a document IRI.

Specified by:
getDocumentIRI in interface OWLOntologyIRIMapper
Parameters:
ontologyIRI - The ontology IRI to be mapped.
Returns:
The document IRI of the ontology, or null if the mapper doesn't have mapping for the specified ontology IRI.