@Override public void handle(String currentId, String value, String qualifierBlock, String comment) { // Just register the namespace with the consumer and add it as an annotation to the ontology getConsumer().setDefaultNamespaceTagValue(value); // Add an annotation to the ontology OWLAnnotation annotation = getAnnotationForTagValuePair(OBOVocabulary.DEFAULT_NAMESPACE.getName(), value); applyChange(new AddOntologyAnnotation(getOntology(), annotation)); } }
public void handle(String currentId, String value, String qualifierBlock, String comment) { // Just register the namespace with the consumer and add it as an annotation to the ontology getConsumer().setDefaultNamespaceTagValue(value); // Add an annotation to the ontology OWLAnnotation annotation = getAnnotationForTagValuePair(OBOVocabulary.DEFAULT_NAMESPACE.getName(), value); applyChange(new AddOntologyAnnotation(getOntology(), annotation)); } }