public OBOConsumer(OWLOntologyManager owlOntologyManager, OWLOntology ontology) { this.owlOntologyManager = owlOntologyManager; this.ontology = ontology; defaultNamespace = OBOVocabulary.ONTOLOGY_URI_BASE; intersectionOfOperands = new HashSet<OWLClassExpression>(); unionOfOperands = new HashSet<OWLClassExpression>(); uriCache = new HashMap<String, IRI>(); loadBuiltinURIs(); setupTagHandlers(); }
public OBOConsumer(OWLOntology ontology, OWLOntologyLoaderConfiguration configuration, IRI baseIRI) { this.configuration = configuration; owlOntologyManager = ontology.getOWLOntologyManager(); this.ontology = ontology; intersectionOfOperands = new HashSet<OWLClassExpression>(); unionOfOperands = new HashSet<OWLClassExpression>(); uriCache = new HashMap<String, IRI>(); for (OBOVocabulary v : OBOVocabulary.values()) { tagIRICache.put(v.getName(), v.getIRI()); } ontologyTagValue = getDefaultOntologyTagValue(baseIRI); loadBuiltinURIs(); setupTagHandlers(); }
@SuppressWarnings("deprecation") public OBOConsumer(OWLOntology ontology, OWLOntologyLoaderConfiguration configuration, IRI baseIRI) { this.configuration = configuration; this.owlOntologyManager = ontology.getOWLOntologyManager(); this.ontology = ontology; intersectionOfOperands = new HashSet<OWLClassExpression>(); unionOfOperands = new HashSet<OWLClassExpression>(); uriCache = new HashMap<String, IRI>(); for (OBOVocabulary v : OBOVocabulary.values()) { tagIRICache.put(v.getName(), v.getIRI()); } this.ontologyTagValue = getDefaultOntologyTagValue(baseIRI); loadBuiltinURIs(); setupTagHandlers(); }