1 17 package com.sun.syndication.feed.synd; 18 19 import com.sun.syndication.feed.CopyFrom; 20 import com.sun.syndication.feed.WireFeed; 21 import com.sun.syndication.feed.module.Module; 22 23 import java.util.Date ; 24 import java.util.List ; 25 26 34 public interface SyndFeed extends Cloneable ,CopyFrom { 35 36 41 List getSupportedFeedTypes(); 42 43 51 WireFeed createWireFeed(); 52 53 60 WireFeed createWireFeed(String feedType); 61 62 63 69 String getFeedType(); 70 71 77 void setFeedType(String feedType); 78 79 85 public String getEncoding(); 86 87 93 public void setEncoding(String encoding); 94 95 107 String getUri(); 108 109 119 void setUri(String uri); 120 121 127 String getTitle(); 128 129 135 void setTitle(String title); 136 137 143 String getLink(); 144 145 151 void setLink(String link); 152 153 159 String getDescription(); 160 161 167 void setDescription(String description); 168 169 177 Date getPublishedDate(); 178 179 187 void setPublishedDate(Date publishedDate); 188 189 197 String getAuthor(); 198 199 207 void setAuthor(String author); 208 209 217 String getCopyright(); 218 219 227 void setCopyright(String copyright); 228 229 235 SyndImage getImage(); 236 237 243 void setImage(SyndImage image); 244 245 254 List getCategories(); 255 256 265 void setCategories(List categories); 266 267 274 List getEntries(); 275 276 283 void setEntries(List entries); 284 285 293 String getLanguage(); 294 295 303 void setLanguage(String language); 304 305 311 public Module getModule(String uri); 312 313 320 List getModules(); 321 322 329 void setModules(List modules); 330 331 338 public Object clone() throws CloneNotSupportedException ; 339 340 } 341 | Popular Tags |