Skip to content

Package: DefaultOntologyIriMapper

DefaultOntologyIriMapper

nameinstructionbranchcomplexitylinemethod
DefaultOntologyIriMapper(MappingFileParser)
M: 7 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 3 C: 0
0%
M: 1 C: 0
0%
getDocumentIRI(IRI)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

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: }