if (null != itemMetaData) {
int i = 0;
S3MetaDataEntry[] metaEntries = new S3MetaDataEntry[itemMetaData.size()];
ListIterator<SMetaVO> it = itemMetaData.listIterator();
while (it.hasNext()) {
SMetaVO oneTag = it.next();
S3MetaDataEntry oneEntry = new S3MetaDataEntry();
oneEntry.setName(oneTag.getName());
oneEntry.setValue(oneTag.getValue());
metaEntries[i++] = oneEntry;
}
response.setMetaEntries(metaEntries);
}