@Path("title") @Text(required = false) private String title;//The title of the item. Venice Film Festival Tries to Quit Sinking @Path("link") @Text(required = false) private String link;//The URL of the item. http://www.nytimes.com/2002/09/07/movies/07FEST.html @Path("description") @Text(required = false) private String description;//The item synopsis. Some of the most heated chatter at the Venice Film Festival this week was about the way that the arrival of the stars at the Palazzo del Cinema was being staged. @Path("author") @Text(required = false) private String author;//Email address of the author of the item. More. oprah@oxygen.net @Path("category") @Text(required = false) private String category;//Includes the item in one or more categories. More. Simpsons Characters @Path("comments") @Text(required = false) private String comments;//URL of a page for comments relating to the item. More. http://www.myblog.org/cgi-local/mt/mt-comments.cgi?entry_id=290 @Path("enclosure") @Text(required = false) private String enclosure;// Describes a media object that is attached to the item. More. <enclosure url="http://live.curry.com/mp3/celebritySCms.mp3" length="1069871" type="audio/mpeg"/> @Path("guid") @Text(required = false) private String guid;//A string that uniquely identifies the item. More. <guid isPermaLink="true">http://inessential.com/2002/09/01.php#a2</guid> @Path("pubDate") @Text(required = false) private String pubDate;// Indicates when the item was published. More. Sun, 19 May 2002 15:21:36 GMT @Path("source") @Text(required = false)
@Root class TestSuite { @ElementList(inline=true, type=TestCase.class, required=false) private List<TestCase> testCases; @Path("./properties") @ElementMap(required = false, entry = "property", key = "name", value = "value", attribute = true, inline = true) private Map<String, String> properties; public List<TestCase> getTestCase() { return testCases; } public Map<String, String> getProperties() { return properties; } }
/** * Created by qoomon on 26/11/2016. */ @Root public class Configuration { @ElementList(type = VersionFormatDescription.class) public List<VersionFormatDescription> branches = new LinkedList<>(); @ElementList(type = VersionFormatDescription.class) public List<VersionFormatDescription> tags = new LinkedList<>(); @Path("commit") @Element(name = "versionFormat") public String commitVersionFormat; }
private String uri; @Path("Transforms") @ElementList(entry = "Transform", inline = true, required = false) private List<CTeTransform> transform;
private String uri; @Path("Transforms") @ElementList(entry = "Transform", inline = true, required = false) private List<NFTransform> transform;
private String uri; @Path("Transforms") @ElementList(entry = "Transform", inline = true, required = false) private List<NFTransform> transform;
public String updated; @Path("author") @Element(name = "name") public String author;
public String updated; @Path("author") @Element(name = "name") public String author;