| |
|
| java.lang.Object org.gnu.stealthp.rsslib.RSSObject org.gnu.stealthp.rsslib.RSSChannel
RSSChannel | public class RSSChannel extends RSSObject (Code) | | RSSChannel's definitions class.
This module, both source code and documentation, is in the
Public Domain, and comes with NO WARRANTY.
since: RSSLIB4J 0.1 author: Francesco aka 'Stealthp' stealthp[@]stealthp.org version: 0.2 |
RSSChannel | public RSSChannel()(Code) | | |
addItem | public void addItem(RSSItem itm)(Code) | | Add an RSSItem to a channel object
Parameters: itm - the RSSItem item |
addRSSSequence | public void addRSSSequence(RSSSequence s)(Code) | | Set the channel's item's sequece
Parameters: s - The RSSSequence |
getCopyright | public String getCopyright()(Code) | | Get the chyannel's copyright
copyright (optional) |
getDocs | public String getDocs()(Code) | | Get the docs url about Rss specifications
the url (optional) |
getGenerator | public String getGenerator()(Code) | | Get the generator program's channel
generator (optional) |
getItems | public LinkedList getItems()(Code) | | Get a linkedList wich contains the Channel's RSSItem
the RSSItems's list |
getItemsSequence | public RSSSequence getItemsSequence()(Code) | | Get the sequnce from the channel
This element should be always present
the RSSSequence |
getLanguage | public String getLanguage()(Code) | | Get the language of channell
language (optional) |
getLastBuildDate | public String getLastBuildDate()(Code) | | Get channel's lastBuildDate
lastBuildDate |
getRSSImage | public RSSImage getRSSImage()(Code) | | Get a RSSImage from the channel
RSSImage if exists (optional) |
getRSSSyndicationModule | public RSSSyndicationModule getRSSSyndicationModule()(Code) | | Get the syndication module object from the RSS object
The object or null |
getRSSTextInput | public RSSTextInput getRSSTextInput()(Code) | | Get a RSSTextInput object from the channel
the RSSTextInput or null |
getTTL | public String getTTL()(Code) | | Return the TTL's channel
TTL (optional) |
getWebMaster | public String getWebMaster()(Code) | | Get the webmaster email
email of webmaster (optional) |
setCopyright | public void setCopyright(String copyright)(Code) | | Set channel's copyright
Parameters: copyright - Copyright notice for content in the channel |
setDocs | public void setDocs(String docs)(Code) | | Set the documentator
Parameters: docs - thw documentator |
setGenerator | public void setGenerator(String generator)(Code) | | Set the gerator
Parameters: generator - A string indicating the program used to generate the channel |
setLanguage | public void setLanguage(String language)(Code) | | Set the language of channel
Parameters: language - The language the channel is written in |
setLastBuildDate | public void setLastBuildDate(String lastBuildDate)(Code) | | Set the lastBuildDate
Parameters: lastBuildDate - The last time the content of the channel changed |
setManagingEditor | public void setManagingEditor(String managingEditor)(Code) | | Set the managingEditor
Parameters: managingEditor - Email address for person responsible for editorial content |
setRSSImage | public void setRSSImage(RSSImage im)(Code) | | Set a RSSImage object associated to the channel
Parameters: im - Specifies a GIF, JPEG or PNG image that can be displayed with the channel. |
setRSSTextInput | public void setRSSTextInput(RSSTextInput in)(Code) | | Set a RSSTextInput object to a channel
Parameters: in - Specifies a text input box that can be displayed with the channel |
setSyndicationModule | public void setSyndicationModule(RSSSyndicationModule s)(Code) | | Set syndication module for channel's
Parameters: s - syndication namespaces module |
setTTL | public void setTTL(String ttl)(Code) | | Set the TTL time
Parameters: ttl - the time to live |
setWebMaster | public void setWebMaster(String webMaster)(Code) | | Set the webMaster
Parameters: webMaster - Email address for person responsible for technical issues relating to channel. |
toString | public String toString()(Code) | | Useful for debug
An info string about channel |
|
|
|