1 43 package net.jforum.util.rss; 44 45 import java.util.ArrayList ; 46 import java.util.List ; 47 48 54 public class RSS 55 { 56 private List itens; 57 private String title; 58 private String description; 59 private String encoding; 60 private String link; 61 62 70 public RSS(String title, String description, String encoding, String link) 71 { 72 this.itens = new ArrayList (); 73 this.title = title; 74 this.description = description; 75 this.encoding = encoding; 76 this.link = link; 77 } 78 79 83 public String getLink() 84 { 85 return this.link; 86 } 87 88 92 public String getTitle() 93 { 94 return this.title; 95 } 96 97 101 public String getDescription() 102 { 103 return this.description; 104 } 105 106 110 public String getEncoding() 111 { 112 return this.encoding; 113 } 114 115 121 public List getItens() 122 { 123 return this.itens; 124 } 125 126 131 public void addItem(RSSItem item) 132 { 133 this.itens.add(item); 134 } 135 } 136 | Popular Tags |