k = 0;
for ( @SuppressWarnings("unchecked")
Iterator<Element> i = fileElement.elementIterator(); i.hasNext(); ) {
Element thumbElement = i.next();
//log.info("createListObjectLibraryByFileDocumentThumbs"+thumbElement);
LibraryPresentationThumb singleThumb = new LibraryPresentationThumb();
singleThumb.setName(thumbElement.getName());
singleThumb.setFilename(thumbElement.getText());
singleThumb.setLastmod(thumbElement.attribute("lastmod").getText());
singleThumb.setSize(Long.valueOf(thumbElement.attribute("size").getText()).longValue());
thumbMap.getThumbs()[k] = singleThumb;
k++;
}