Android Open Source - RSSNewsReaderApp Rss Item






From Project

Back to project page RSSNewsReaderApp.

License

The source code is released under:

GNU General Public License

If you think the Android project RSSNewsReaderApp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.romanostrechlis.rssnews.content;
/* w  w w  .ja  v  a  2 s .  co m*/
/**
 * Represents a single item from the xml file.
 * 
 * <p>There is nothing interesting about this class, 
 * except that the {@link RssFeed.list} is consisted of 
 * RssItem(s).
 * 
 * <h3>Constructors</h3>
 * <ul>
 * <li>{@link RssItem()}</li>
 * <li>{@link RssItem(String, String, String, String, String)}</li>
 * </ul>
 * 
 * @author Romanos Trechlis
 */
public class RssItem {
  private String id;
  private String title;
  private String description;
  private String link;
  private String parent;

  /**
   * Constructors
   */
  public RssItem() {}

  public RssItem(String id, String title, String description, String link, String parent) {
    this.id = id;
    this.title = title;
    this.description = description;
    this.link = link;
    this.parent = parent;
  }
  
  public void setTitle(String title){ this.title = title; }
  public void setDescription(String description){ this.description = description; }
  public void setLink(String link){ this.link = link; }
  public void setId(String id) { this.id = id; }
  public void setParent(String parent) { this.parent = parent; }
    
  public String getTitle(){ return title; }
  public String getDescription(){ return description; }
  public String getLink(){ return link; }
  public String getId() { return id; }
  public String getParent() { return parent; }
}




Java Source Code List

com.romanostrechlis.rssnews.DetailActivity.java
com.romanostrechlis.rssnews.MainActivity.java
com.romanostrechlis.rssnews.auxiliary.DatabaseHandler.java
com.romanostrechlis.rssnews.auxiliary.ExpCustomListAdapter.java
com.romanostrechlis.rssnews.auxiliary.Helper.java
com.romanostrechlis.rssnews.auxiliary.ManageCustomArrayAdapter.java
com.romanostrechlis.rssnews.auxiliary.OnSwipeTouchListener.java
com.romanostrechlis.rssnews.auxiliary.RetrieveFeedTask.java
com.romanostrechlis.rssnews.auxiliary.UpdateService.java
com.romanostrechlis.rssnews.content.RssFeed.java
com.romanostrechlis.rssnews.content.RssItem.java
com.romanostrechlis.rssnews.legacy.MainCustomArrayAdapter.java
com.romanostrechlis.rssnews.legacy.NodeDetailActivity.java
com.romanostrechlis.rssnews.legacy.NodeDetailFragment.java
com.romanostrechlis.rssnews.legacy.NodeListActivity.java
com.romanostrechlis.rssnews.legacy.NodeListFragment.java
com.romanostrechlis.rssnews.managefeeds.EditRssFeedActivity.java
com.romanostrechlis.rssnews.managefeeds.ManageActivity.java
com.romanostrechlis.rssnews.managefeeds.NewFeedsActivity.java
com.romanostrechlis.rssnews.settings.SettingsActivity.java