package sagan.tools; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper; import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty; import java.util.List; public class Release { private String name; private String whatsnew; @JacksonXmlProperty(localName = "download") @JacksonXmlElementWrapper(useWrapping=false) private List<Download> downloads; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getWhatsnew() { return whatsnew; } public void setWhatsnew(String whatsnew) { this.whatsnew = whatsnew; } public List<Download> getDownloads() { return downloads; } public void setDownloads(List<Download> downloads) { this.downloads = downloads; } }