/** * @param b if illegal punnings should be repaired * @return A {@code OWLOntologyLoaderConfiguration} with the repair flag set to the new value. */ public OWLOntologyLoaderConfiguration setRepairIllegalPunnings(boolean b) { if (shouldRepairIllegalPunnings() == b) { return this; } OWLOntologyLoaderConfiguration configuration = copyConfiguration(); configuration.overrides.put(REPAIR_ILLEGAL_PUNNINGS, Boolean.valueOf(b)); return configuration; }
/** * @param b if illegal punnings should be repaired * @return A {@code OWLOntologyLoaderConfiguration} with the repair flag set to the new value. */ public OWLOntologyLoaderConfiguration setRepairIllegalPunnings(boolean b) { if (shouldRepairIllegalPunnings() == b) { return this; } OWLOntologyLoaderConfiguration configuration = copyConfiguration(); configuration.overrides.put(REPAIR_ILLEGAL_PUNNINGS, Boolean.valueOf(b)); return configuration; }
/** * @param b if illegal punnings should be repaired * @return A {@code OWLOntologyLoaderConfiguration} with the repair flag set to the new value. */ public OWLOntologyLoaderConfiguration setRepairIllegalPunnings(boolean b) { if (shouldRepairIllegalPunnings() == b) { return this; } OWLOntologyLoaderConfiguration configuration = copyConfiguration(); configuration.overrides.put(REPAIR_ILLEGAL_PUNNINGS, Boolean.valueOf(b)); return configuration; }
OWLOntology ontology = factory.loadOWLOntology(this, documentSource, this, configuration); if (configuration.shouldRepairIllegalPunnings()) { fixIllegalPunnings(ontology);
OWLOntology ontology = factory.loadOWLOntology(this, documentSource, this, configuration); if (configuration.shouldRepairIllegalPunnings()) { fixIllegalPunnings(ontology);
OWLOntology ontology = factory.loadOWLOntology(this, documentSource, this, configuration); if (configuration.shouldRepairIllegalPunnings()) { fixIllegalPunnings(ontology);
OWLOntology ontology = factory.loadOWLOntology(this, documentSource, this, configuration); if (configuration.shouldRepairIllegalPunnings()) { fixIllegalPunnings(ontology);