owltools.mooncat
Class OntologyMetaDataTools
java.lang.Object
owltools.mooncat.OntologyMetaDataTools
public class OntologyMetaDataTools
- extends Object
Tools for checking and managing ontology data.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_HANDLER
public static final OntologyMetaDataTools.AnnotationCardinalityConfictHandler DEFAULT_HANDLER
OntologyMetaDataTools
public OntologyMetaDataTools()
checkAnnotationCardinality
public static void checkAnnotationCardinality(org.semanticweb.owlapi.model.OWLOntology ontology,
OntologyMetaDataTools.AnnotationCardinalityConfictHandler handler)
throws OntologyMetaDataTools.AnnotationCardinalityException
- Check the annotations for cardinality violations.
Try to resolve conflicts with the given handler.
- Parameters:
ontology
- the target ontologyhandler
- the conflict handler
- Throws:
OntologyMetaDataTools.AnnotationCardinalityException
- throws exception in case a conflict cannot be resolved by the handler
checkAnnotationCardinality
public static void checkAnnotationCardinality(org.semanticweb.owlapi.model.OWLOntology ontology)
throws OntologyMetaDataTools.AnnotationCardinalityException
- Check the annotations for cardinality violations.
Try to resolve conflicts with the default handler.
- Parameters:
ontology
- the target ontology
- Throws:
OntologyMetaDataTools.AnnotationCardinalityException
- throws exception in case a conflict cannot be resolved by the handler- See Also:
DEFAULT_HANDLER
Copyright © 2010-2012. All Rights Reserved.