122123124125126127128129130131132
if (hasItems(annotations)) { // Defer to AnnotationConverter AnnotationConverter aConverter = new AnnotationConverter(); for (final Annotation a : annotations) { XBELAnnotation xa = aConverter.convert(a); list.add(xa); } } if (citation != null) {
118119120121122123124125126127128
AnnotationDefinition definition = source.getDefinition(); String refID = definition.getId(); String value = source.getValue(); XBELAnnotation xa = new XBELAnnotation(); xa.setRefID(refID); xa.setValue(value); return xa; }