| java.lang.Object com.sun.syndication.feed.WireFeed com.sun.syndication.feed.rss.Channel
Channel | public class Channel extends WireFeed (Code) | | Bean for RSS feeds.
It handles all RSS versions (0.9, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0)
without losing information.
author: Alejandro Abdelnur |
Constructor Summary | |
public | Channel() Default constructor, for bean cloning purposes only. | public | Channel(String type) Channel Constructor. |
Channel | public Channel()(Code) | | Default constructor, for bean cloning purposes only.
|
Channel | public Channel(String type)(Code) | | Channel Constructor. All properties, except the type, are set to null.
Parameters: type - the type of the RSS feed. |
getCategories | public List getCategories()(Code) | | Returns the channel categories.
a list of Category elements with the channel categories,an empty list if none. |
getCloud | public Cloud getCloud()(Code) | | Returns the channel cloud.
the channel cloud, null if none. |
getCopyright | public String getCopyright()(Code) | | Returns the channel copyright.
the channel copyright, null if none. |
getDescription | public String getDescription()(Code) | | Returns the channel description.
the channel description, null if none. |
getDocs | public String getDocs()(Code) | | Returns the channel docs.
the channel docs, null if none. |
getGenerator | public String getGenerator()(Code) | | Returns the channel generator.
the channel generator, null if none. |
getImage | public Image getImage()(Code) | | Returns the channel image.
the channel image, null if none. |
getItems | public List getItems()(Code) | | Returns the channel items.
a list of Item elements with the channel items,an empty list if none. |
getLanguage | public String getLanguage()(Code) | | Returns the channel language.
the channel language, null if none. |
getLastBuildDate | public Date getLastBuildDate()(Code) | | Returns the channel last build date.
the channel last build date, null if none. |
getLink | public String getLink()(Code) | | Returns the channel link.
the channel link, null if none. |
getManagingEditor | public String getManagingEditor()(Code) | | Returns the channel managing editor.
the channel managing editor, null if none. |
getModule | public Module getModule(String uri)(Code) | | Returns the module identified by a given URI.
Parameters: uri - the URI of the ModuleImpl. The module with the given URI, null if none. |
getModules | public List getModules()(Code) | | Returns the channel modules.
a list of ModuleImpl elements with the channel modules,an empty list if none. |
getPubDate | public Date getPubDate()(Code) | | Returns the channel publishing date.
the channel publishing date, null if none. |
getRating | public String getRating()(Code) | | Returns the channel rating.
the channel rating, null if none. |
getSkipDays | public List getSkipDays()(Code) | | Returns the channel skip days.
a list of Day elements with the channel skip days,an empty list if none. |
getSkipHours | public List getSkipHours()(Code) | | Returns the channel skip hours.
a list of Integer elements with the channel skip hours,an empty list if none. |
getTextInput | public TextInput getTextInput()(Code) | | Returns the channel text input.
the channel text input, null if none. |
getTitle | public String getTitle()(Code) | | Returns the channel title.
the channel title, null if none. |
getTtl | public int getTtl()(Code) | | Returns the channel time to live.
the channel time to live, null if none. |
getUri | public String getUri()(Code) | | Returns the channel uri.
the channel uri, null if none. |
getWebMaster | public String getWebMaster()(Code) | | Returns the channel web master.
the channel web master, null if none. |
setCategories | public void setCategories(List categories)(Code) | | Sets the channel categories.
Parameters: categories - the list of Category elements with the channel categories to set,an empty list or null if none. |
setCloud | public void setCloud(Cloud cloud)(Code) | | Sets the channel cloud.
Parameters: cloud - the channel cloud to set, null if none. |
setCopyright | public void setCopyright(String copyright)(Code) | | Sets the channel copyright.
Parameters: copyright - the channel copyright to set, null if none. |
setDescription | public void setDescription(String description)(Code) | | Sets the channel description.
Parameters: description - the channel description to set, null if none. |
setDocs | public void setDocs(String docs)(Code) | | Sets the channel docs.
Parameters: docs - the channel docs to set, null if none. |
setGenerator | public void setGenerator(String generator)(Code) | | Sets the channel generator.
Parameters: generator - the channel generator to set, null if none. |
setImage | public void setImage(Image image)(Code) | | Sets the channel image.
Parameters: image - the channel image to set, null if none. |
setItems | public void setItems(List items)(Code) | | Sets the channel items.
Parameters: items - the list of Item elements with the channel items to set,an empty list or null if none. |
setLanguage | public void setLanguage(String language)(Code) | | Sets the channel language.
Parameters: language - the channel language to set, null if none. |
setLastBuildDate | public void setLastBuildDate(Date lastBuildDate)(Code) | | Sets the channel last build date.
Parameters: lastBuildDate - the channel last build date to set, null if none. |
setLink | public void setLink(String link)(Code) | | Sets the channel link.
Parameters: link - the channel link to set, null if none. |
setManagingEditor | public void setManagingEditor(String managingEditor)(Code) | | Sets the channel managing editor.
Parameters: managingEditor - the channel managing editor to set, null if none. |
setModules | public void setModules(List modules)(Code) | | Sets the channel modules.
Parameters: modules - the list of ModuleImpl elements with the channel modules to set,an empty list or null if none. |
setPubDate | public void setPubDate(Date pubDate)(Code) | | Sets the channel publishing date.
Parameters: pubDate - the channel publishing date to set, null if none. |
setRating | public void setRating(String rating)(Code) | | Sets the channel rating.
Parameters: rating - the channel rating to set, null if none. |
setSkipDays | public void setSkipDays(List skipDays)(Code) | | Sets the channel skip days.
Parameters: skipDays - the list of Day elements with the channel skip days to set,an empty list or null if none. |
setSkipHours | public void setSkipHours(List skipHours)(Code) | | Sets the channel skip hours.
Parameters: skipHours - the list of Integer elements with the channel skip hours to set,an empty list or null if none. |
setTextInput | public void setTextInput(TextInput textInput)(Code) | | Sets the channel text input.
Parameters: textInput - the channel text input to set, null if none. |
setTitle | public void setTitle(String title)(Code) | | Sets the channel title.
Parameters: title - the channel title to set, null if none. |
setTtl | public void setTtl(int ttl)(Code) | | Sets the channel time to live.
Parameters: ttl - the channel time to live to set, null if none. |
setUri | public void setUri(String uri)(Code) | | Sets the channel uri.
Parameters: uri - the channel uri, null if none. |
setWebMaster | public void setWebMaster(String webMaster)(Code) | | Sets the channel web master.
Parameters: webMaster - the channel web master to set, null if none. |
|
|