All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fedy2.weather.data.Rss Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
/**
 * 
 */
package com.github.fedy2.weather.data;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;

/**
 * @author "Federico De Faveri [email protected]"
 *
 */
@XmlAccessorType(XmlAccessType.FIELD) 
@XmlRootElement(name="query")
@XmlSeeAlso({Channel.class})
public class Rss {
	
	@XmlElement
	private Wrapper results;
	
	public Rss()
	{}

	/**
	 * Returns the channel.
	 * @return the channel
	 */
	public List getChannels() {
		return results.getItems();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy