final List<Fieldlanguagesvalues> flvList = getBean(FieldLanguagesValuesDao.class).getMixedFieldValuesList(language.getLanguage_id());
FieldLanguage fl = getBean(FieldLanguageDao.class).getFieldLanguageById(language.getLanguage_id());
if (fl != null && flvList != null) {
download.setFileName(fl.getName() + ".xml");
download.setResourceStream(new AbstractResourceStream() {
private static final long serialVersionUID = 1L;
private StringWriter sw;
private InputStream is;
public InputStream getInputStream() throws ResourceStreamNotFoundException {