}
if (prop.getTypo().getRendering() instanceof WidgetFile)
{
EmbeddedFile file = (EmbeddedFile) pe.getValue();
WidgetFile widget = (WidgetFile) (prop.getTypo()
.getRendering());
List<String> attributes = new LinkedList<String>();
List<String> valuesAttributes = new LinkedList<String>();
attributes.add(NAMEATTRIBUTE_VISIBILITY);
valuesAttributes.add(prop.getVisibility().toString());
attributes.add(NAMEATTRIBUTE_MIMETYPE);
valuesAttributes.add(file.getMimeFile());
attributes.add(NAMEATTRIBUTE_FILEEXTENSION);
valuesAttributes.add(file.getExtFile());
ExportUtils.createCustomValueWithCustomAttributes(
element,
shortName,
ConfigurationManager.getProperty("dspace.url") + "/"
+ widget.getServletPath() + "/"
+ file.getFolderFile() + "/?filename="
+ file.getValueFile() + "."
+ file.getExtFile(), attributes,
valuesAttributes);