@Override public void visit(OWLAnnotationAssertionAxiom axiom) { if (lastLangMatchIndex > 0 && axiom.getProperty().equals(prop)) { // a perfect match - no need to carry on search axiom.getValue().accept(this); } }
@Override public void visit(OWLAnnotation node) { stringBuilder.append("<span class=\"ms-annotation-prop\">"); node.getProperty().accept(this); stringBuilder.append("</span>"); renderSpace(); stringBuilder.append("<span class=\"ms-annotation-val\">"); node.getValue().accept(this); stringBuilder.append("<span>"); }
@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) { process(node); node.getProperty().accept(this); 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 void visit(OWLAnnotationAssertionAxiom axiom) { sb.append("AnnotationAssertion("); writeAnnotations(axiom); axiom.getProperty().accept(this); insertSpace(); axiom.getSubject().accept(this); insertSpace(); axiom.getValue().accept(this); sb.append(')'); }
@Override public void visit(OWLAnnotationAssertionAxiom axiom) { sb.append("AnnotationAssertion("); writeAnnotations(axiom); axiom.getProperty().accept(this); insertSpace(); axiom.getSubject().accept(this); insertSpace(); axiom.getValue().accept(this); sb.append(')'); }
@Override public void visit(OWLAnnotationAssertionAxiom axiom) { sb.append("AnnotationAssertion("); writeAnnotations(axiom); axiom.getProperty().accept(this); insertSpace(); axiom.getSubject().accept(this); insertSpace(); axiom.getValue().accept(this); sb.append(')'); }
@Override public void visit(OWLAnnotation node) { write("Annotation"); node.getProperty().getIRI().accept(this); node.getValue().accept(this); }
public void visit(OWLAnnotation annotation) { if (annotation.getProperty().getIRI().equals(adcManager.getURI())){ annotation.getValue().accept(this); } }
@Override public void visit(OWLAnnotation node) { write("Annotation"); node.getProperty().getIRI().accept(this); node.getValue().accept(this); }
@Override public void visit(OWLAnnotation node) { process(node); node.getProperty().accept(this); // only visit IRIs if (node.getValue().isIRI()) { node.getValue().accept(this); } }
@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(OWLAnnotationAssertionAxiom axiom) { writeAxiomStart(ANNOTATION_ASSERTION, axiom); acceptAndSpace(axiom.getProperty()); acceptAndSpace(axiom.getSubject()); axiom.getValue().accept(this); writeAxiomEnd(); }
@Override public void visit(OWLAnnotationAssertionAxiom axiom) { write("Annotation"); axiom.getSubject().accept(this); writeSpace(); axiom.getProperty().accept(this); writeSpace(); axiom.getValue().accept(this); }
@Override public void visit(OWLAnnotationAssertionAxiom axiom) { writer.writeStartElement(ANNOTATION_ASSERTION); writeAnnotations(axiom); axiom.getProperty().accept(this); axiom.getSubject().accept(this); axiom.getValue().accept(this); writer.writeEndElement(); }
@Override public void visit(OWLAnnotationAssertionAxiom axiom) { write("Annotation"); axiom.getSubject().accept(this); writeSpace(); axiom.getProperty().accept(this); writeSpace(); axiom.getValue().accept(this); }
@Override public void visit(OWLAnnotationAssertionAxiom axiom) { writer.writeStartElement(ANNOTATION_ASSERTION); writeAnnotations(axiom); axiom.getProperty().accept(this); axiom.getSubject().accept(this); axiom.getValue().accept(this); writer.writeEndElement(); }