@Override public void visit(OWLAnnotation a) { a.getValue().asAnonymousIndividual().ifPresent(this::checkAppearanceAsObject); a.annotations().forEach(a1 -> a1.accept(this)); }
@Override public void visit(OWLAnnotation a) { a.getValue().asAnonymousIndividual().ifPresent(this::checkAppearanceAsObject); a.annotations().forEach(a1 -> a1.accept(this)); }
@Override public void visit(OWLAnnotation node) { sb.append("Annotation("); node.annotations().forEach(a -> { a.accept(this); sb.append(' '); }); node.getProperty().accept(this); sb.append(' '); node.getValue().accept(this); sb.append(')'); }
@Override public void visit(OWLAnnotation node) { sb.append("Annotation("); node.annotations().forEach(a -> { a.accept(this); sb.append(' '); }); node.getProperty().accept(this); sb.append(' '); node.getValue().accept(this); sb.append(')'); }
@Override public void visit(OWLAnnotation node) { sb.append("Annotation("); node.annotations().forEach(a -> { a.accept(this); sb.append(' '); }); node.getProperty().accept(this); sb.append(' '); node.getValue().accept(this); sb.append(')'); }
@Override public OWLAnnotation visit(OWLAnnotation node) { return df.getOWLAnnotation(t(node.getProperty()), t(node.getValue()), node.annotations().map(this::t)); }
@Override public OWLAnnotation visit(OWLAnnotation node) { return df.getOWLAnnotation(t(node.getProperty()), t(node.getValue()), node.annotations().map(this::t)); }
@Override public OWLAnnotation visit(OWLAnnotation node) { return df.getOWLAnnotation(t(node.getProperty()), t(node.getValue()), node.annotations().map(this::t)); }
@Override public void visit(OWLAnnotation node) { writeAnnotations(node.annotations().iterator()); node.getProperty().accept(this); writeSpace(); node.getValue().accept(this); }
@Override public void visit(OWLAnnotation node) { writeAnnotations(node.annotations().iterator()); node.getProperty().accept(this); writeSpace(); node.getValue().accept(this); }
@Override public void visit(OWLAnnotation node) { writeAnnotations(node.annotations().iterator()); node.getProperty().accept(this); writeSpace(); node.getValue().accept(this); }
@Override public OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationSubject subject, OWLAnnotation annotation) { checkNotNull(annotation, ANNOTATION_CANNOT_BE_NULL); return getOWLAnnotationAssertionAxiom(annotation.getProperty(), subject, annotation.getValue(), asList(annotation.annotations())); }
@Override public OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationSubject subject, OWLAnnotation annotation) { checkNotNull(annotation, ANNOTATION_CANNOT_BE_NULL); return getOWLAnnotationAssertionAxiom(annotation.getProperty(), subject, annotation.getValue(), asList(annotation.annotations())); }
@Override public void visit(OWLAnnotation node) { write(ANNOTATION); writeOpenBracket(); node.annotations().forEach(this::acceptAndSpace); acceptAndSpace(node.getProperty()); node.getValue().accept(this); writeCloseBracket(); }
@Override public void visit(OWLAnnotation node) { write(ANNOTATION); writeOpenBracket(); node.annotations().forEach(this::acceptAndSpace); acceptAndSpace(node.getProperty()); node.getValue().accept(this); writeCloseBracket(); }
@Override public OWLAnnotationAssertionAxiom getOWLAnnotationAssertionAxiom(OWLAnnotationSubject subject, OWLAnnotation annotation) { checkNotNull(annotation, ANNOTATION_CANNOT_BE_NULL); return getOWLAnnotationAssertionAxiom(annotation.getProperty(), subject, annotation.getValue(), asList(annotation.annotations())); }
@Override public Object visit(OWLAnnotation node) { return visit(node, () -> df.getOWLAnnotation(t(node.getProperty()), t(node.getValue()), t(node .annotations()))); }
@Override public void visit(OWLAnnotation node) { writer.writeStartElement(ANNOTATION); render(node.annotations()); node.getProperty().accept(this); node.getValue().accept(this); writer.writeEndElement(); }
@Override public void visit(OWLAnnotation node) { writer.writeStartElement(ANNOTATION); render(node.annotations()); node.getProperty().accept(this); node.getValue().accept(this); writer.writeEndElement(); }
@Override public void visit(OWLAnnotation node) { writer.writeStartElement(ANNOTATION); render(node.annotations()); node.getProperty().accept(this); node.getValue().accept(this); writer.writeEndElement(); }