Package: DefaultOntologyIriMapper
DefaultOntologyIriMapper
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DefaultOntologyIriMapper(MappingFileParser) |
|
|
|
|
|
||||||||||||||||||||
getDocumentIRI(IRI) |
|
|
|
|
|
Coverage
1: package cz.cvut.kbss.ontodriver.owlapi.util;
2:
3: import org.semanticweb.owlapi.model.IRI;
4: import org.semanticweb.owlapi.model.OWLOntologyIRIMapper;
5:
6: import javax.annotation.Nonnull;
7: import javax.annotation.Nullable;
8: import java.net.URI;
9: import java.util.Map;
10:
11: public class DefaultOntologyIriMapper implements OWLOntologyIRIMapper {
12:
13: private final Map<URI, URI> mappings;
14:
15: public DefaultOntologyIriMapper(MappingFileParser parser) {
16: this.mappings = parser.getMappings();
17: }
18:
19: @Nullable
20: @Override
21: public IRI getDocumentIRI(@Nonnull IRI ontologyIRI) {
22: return null;
23: }
24: }