org.semanticweb.kaon2.api
Interface OntologyResolver

All Known Implementing Classes:
DefaultOntologyResolver

public interface OntologyResolver

The resolver for ontology parameters. An instance of this class is registered to the KAON2Connection and is called whenever a new ontology is being opened or created.


Method Summary
 java.lang.String resolveOntologyAccess(java.lang.String ontologyURI, java.util.Map<java.lang.String,java.lang.Object> parameters, java.util.Map<java.lang.String,java.lang.Object> templateParameters)
          Called to resolve ontology parameters.
 

Method Detail

resolveOntologyAccess

java.lang.String resolveOntologyAccess(java.lang.String ontologyURI,
                                       java.util.Map<java.lang.String,java.lang.Object> parameters,
                                       java.util.Map<java.lang.String,java.lang.Object> templateParameters)
Called to resolve ontology parameters. The resolver can locate the physical URI for the ontology URI. Furthermore, it can adjust the * parameters that will be used to open the ontology.

Parameters:
ontologyURI - the ontology URI
parameters - the parameters that will be used to access the ontology
templateParameters - the template parameters (e.g. of a parent ontology)
Returns:
the physical URI to access the ontology