RSSFeed.java :  » UnTagged » simonsavoca » fr » savoca » xmlparser » Android Open Source

Android Open Source » UnTagged » simonsavoca 
simonsavoca » fr » savoca » xmlparser » RSSFeed.java
package fr.savoca.xmlparser;

import java.util.List;
import java.util.Vector;

public class RSSFeed {
  private String name = null;
  private String version = null;
  private String file = null;
  private List<RSSItem> itemList;
  RSSFeed(){ itemList = new Vector<RSSItem>(0); }
  void addItem(RSSItem item){ itemList.add(item); }

  RSSItem getItem(int location){ return itemList.get(location); }

  List<RSSItem> getList(){ return itemList; }

  void setName(String value) { name = value; }
  void setVersion(String value) { version = value; }
  void setFile(String value) { file = value; }

  String getName() { return name; }
  String getVersion() { return version; }
  String getFile() { return file; }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.