public String getImageAnnotationRef(int imageIndex, int annotationRefIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; String result = retrieve.getImageAnnotationRef(imageIndex, annotationRefIndex); if (result != null) return result; } } return null; }
for (int q=0; q<annotationRefCount; q++) { try { String annotationRef = src.getImageAnnotationRef(i, q); dest.setImageAnnotationRef(annotationRef, i, q);
public String getImageAnnotationRef(int imageIndex, int annotationRefIndex) { for (Iterator iter = delegates.iterator(); iter.hasNext();) { Object o = iter.next(); if (o instanceof MetadataRetrieve) { MetadataRetrieve retrieve = (MetadataRetrieve) o; String result = retrieve.getImageAnnotationRef(imageIndex, annotationRefIndex); if (result != null) return result; } } return null; }