/** * Check the annotations for cardinality violations. Try to resolve * conflicts with the default handler. * * @param ontology the target ontology * @throws AnnotationCardinalityException throws exception in case a conflict cannot be resolved * by the handler * @see #DEFAULT_HANDLER */ public static void checkAnnotationCardinality(OWLOntology ontology) { checkAnnotationCardinality(ontology, null, DEFAULT_HANDLER); }
/** * Check the annotations for cardinality violations. Try to resolve * conflicts with the default handler. * * @param ontology the target ontology * @throws AnnotationCardinalityException throws exception in case a conflict cannot be resolved * by the handler * @see #DEFAULT_HANDLER */ public static void checkAnnotationCardinality(OWLOntology ontology) { checkAnnotationCardinality(ontology, null, DEFAULT_HANDLER); }
/** * Check the annotations for cardinality violations. Try to resolve * conflicts with the default handler. * * @param ontology the target ontology * @throws AnnotationCardinalityException throws exception in case a conflict cannot be resolved * by the handler * @see #DEFAULT_HANDLER */ public static void checkAnnotationCardinality(OWLOntology ontology) { checkAnnotationCardinality(ontology, null, DEFAULT_HANDLER); }
/** * Check the annotations for cardinality violations. Try to resolve * conflicts with the default handler. * * @param ontology the target ontology * @throws AnnotationCardinalityException throws exception in case a conflict cannot be resolved * by the handler * @see #DEFAULT_HANDLER */ public static void checkAnnotationCardinality(OWLOntology ontology) { checkAnnotationCardinality(ontology, null, DEFAULT_HANDLER); }
/** * Check the annotations for cardinality violations. * Try to resolve conflicts with the default handler. * * @param ontology the target ontology * @throws AnnotationCardinalityException throws exception in case a conflict cannot be resolved by the handler * @see #DEFAULT_HANDLER */ public static void checkAnnotationCardinality(OWLOntology ontology) throws AnnotationCardinalityException { checkAnnotationCardinality(ontology, null, DEFAULT_HANDLER); }
/** * Check the annotations for cardinality violations. Only report violations * via the given reporter * * @param ontology the target ontology * @param reporter used to report violations */ public static void checkAnnotationCardinality(OWLOntology ontology, AnnotationCardinalityReporter reporter) { try { checkAnnotationCardinality(ontology, reporter, null); } catch (AnnotationCardinalityException e) { // this will not happen as no handler is registered LOGGER.error("Cardinality exception during report: This isn't supposed to happen.", e); } }
/** * Check the annotations for cardinality violations. Only report violations * via the given reporter * * @param ontology the target ontology * @param reporter used to report violations */ public static void checkAnnotationCardinality(OWLOntology ontology, AnnotationCardinalityReporter reporter) { try { checkAnnotationCardinality(ontology, reporter, null); } catch (AnnotationCardinalityException e) { // this will not happen as no handler is registered LOGGER.error("Cardinality exception during report: This isn't supposed to happen.", e); } }
/** * Check the annotations for cardinality violations. Only report violations * via the given reporter * * @param ontology the target ontology * @param reporter used to report violations */ public static void checkAnnotationCardinality(OWLOntology ontology, AnnotationCardinalityReporter reporter) { try { checkAnnotationCardinality(ontology, reporter, null); } catch (AnnotationCardinalityException e) { // this will not happen as no handler is registered LOGGER.error("Cardinality exception during report: This isn't supposed to happen.", e); } }
/** * Check the annotations for cardinality violations. Only report violations * via the given reporter * * @param ontology the target ontology * @param reporter used to report violations */ public static void checkAnnotationCardinality(OWLOntology ontology, AnnotationCardinalityReporter reporter) { try { checkAnnotationCardinality(ontology, reporter, null); } catch (AnnotationCardinalityException e) { // this will not happen as no handler is registered LOGGER.error("Cardinality exception during report: This isn't supposed to happen.", e); } }
/** * Check the annotations for cardinality violations. * Only report violations via the given reporter * * @param ontology the target ontology * @param reporter used to report violations */ public static void checkAnnotationCardinality(OWLOntology ontology, AnnotationCardinalityReporter reporter) { try { checkAnnotationCardinality(ontology, reporter, null); } catch (AnnotationCardinalityException e) { // this will not happen as no handler is registered LOGGER.log( Level.SEVERE, "Cardinality exception during report: This isn't supposed to happen.", e); } }