Java 类org.semanticweb.owlapi.model.OWLAnnotationValueVisitor 实例源码

项目:minerva    文件:CoreMolecularModelManager.java   
private static void extractEvidenceIRIValues(OWLAnnotation annotation, final Set<IRI> iriSet) {
    if (annotation != null) {
        OWLAnnotationProperty property = annotation.getProperty();
        if (HAS_EVIDENCE_IRI.equals(property.getIRI()) || HAS_EVIDENCE_IRI_OLD.equals(property.getIRI())){
            annotation.getValue().accept(new OWLAnnotationValueVisitor() {

                @Override
                public void visit(OWLLiteral literal) {
                    // ignore
                }

                @Override
                public void visit(OWLAnonymousIndividual individual) {
                    // ignore
                }

                @Override
                public void visit(IRI iri) {
                    iriSet.add(iri);
                }
            });
        }
    }
}
项目:owlapi-gwt    文件:OWLLiteralImpl.java   
@Override
public void accept(OWLAnnotationValueVisitor visitor) {
    visitor.visit(this);
}
项目:owlapi-gwt    文件:OWLLiteralImplPlain.java   
@Override
public void accept(OWLAnnotationValueVisitor visitor) {
    visitor.visit(this);
}
项目:owlapi-gwt    文件:OWLLiteralImplString.java   
@Override
public void accept(OWLAnnotationValueVisitor visitor) {
    visitor.visit(this);
}