public void visit(OWLStringLiteral literal) {}
public void visit(OWLAnnotation annotation) {
if (annotation instanceof OWLAnnotationImpl) {
OWLAnnotationImpl owlAnnotation = (OWLAnnotationImpl) annotation;
if (owlAnnotation.isLabel()) {
OWLAnnotationValue value = owlAnnotation.getValue();
if (value instanceof OWLLiteral) {
this.setLabel(((OWLLiteral) value).getLiteral());
}
}
if (owlAnnotation.isComment()) {
OWLAnnotationValue value = owlAnnotation.getValue();
if (value instanceof OWLLiteral) {
this.setComment(((OWLLiteral) value).getLiteral());
}
}
}