|
SageTV Platform V7.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsage.media.rss.RSSObject
sage.media.rss.RSSChannel
public class RSSChannel
RSSChannel's definitions class.
This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY.
| Field Summary |
|---|
| Fields inherited from class sage.media.rss.RSSObject |
|---|
about, dc, dc_container, description, link, pdate, title |
| Constructor Summary | |
|---|---|
RSSChannel()
|
|
| Method Summary | |
|---|---|
void |
addItem(RSSItem itm)
Add an RSSItem to a channel object |
void |
addRSSSequence(RSSSequence s)
Set the channel's item's sequece |
java.lang.String |
getCopyright()
Get the chyannel's copyright |
java.lang.String |
getDocs()
Get the docs url about Rss specifications |
java.lang.String |
getGenerator()
Get the generator program's channel |
java.util.LinkedList |
getItems()
Get a linkedList wich contains the Channel's RSSItem |
RSSSequence |
getItemsSequence()
Get the sequnce from the channel This element should be always present |
java.lang.String |
getLanguage()
Get the language of channell |
java.lang.String |
getLastBuildDate()
Get channel's lastBuildDate |
RSSImage |
getRSSImage()
Get a RSSImage from the channel |
RSSSyndicationModule |
getRSSSyndicationModule()
Get the syndication module object from the RSS object |
RSSTextInput |
getRSSTextInput()
Get a RSSTextInput object from the channel |
java.lang.String |
getTTL()
Return the TTL's channel |
java.lang.String |
getWebMaster()
Get the webmaster email |
void |
setCopyright(java.lang.String copyright)
Set channel's copyright |
void |
setDocs(java.lang.String docs)
Set the documentator |
void |
setGenerator(java.lang.String generator)
Set the gerator |
void |
setLanguage(java.lang.String language)
Set the language of channel |
void |
setLastBuildDate(java.lang.String lastBuildDate)
Set the lastBuildDate |
void |
setManagingEditor(java.lang.String managingEditor)
Set the managingEditor |
void |
setRSSImage(RSSImage im)
Set a RSSImage object associated to the channel |
void |
setRSSTextInput(RSSTextInput in)
Set a RSSTextInput object to a channel |
void |
setSyndicationModule(RSSSyndicationModule s)
Set syndication module for channel's |
void |
setTTL(java.lang.String ttl)
Set the TTL time |
void |
setWebMaster(java.lang.String webMaster)
Set the webMaster |
java.lang.String |
toDebugString()
Useful for debug |
| Methods inherited from class sage.media.rss.RSSObject |
|---|
addDoublinCoreElement, getAboutAttribute, getDescription, getDoublinCoreElements, getLink, getPubDate, getRSSDoublinCoreModule, getTitle, setAboutAttribute, setDescription, setLink, setPubDate, setRSSDoublinCoreModule, setTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RSSChannel()
| Method Detail |
|---|
public void setLanguage(java.lang.String language)
language - The language the channel is written inpublic void setCopyright(java.lang.String copyright)
copyright - Copyright notice for content in the channelpublic void setLastBuildDate(java.lang.String lastBuildDate)
lastBuildDate - The last time the content of the channel changedpublic void setManagingEditor(java.lang.String managingEditor)
managingEditor - Email address for person responsible for editorial contentpublic void setWebMaster(java.lang.String webMaster)
webMaster - Email address for person responsible for technical issues relating to channel.public void setGenerator(java.lang.String generator)
generator - A string indicating the program used to generate the channelpublic void setTTL(java.lang.String ttl)
ttl - the time to livepublic void setDocs(java.lang.String docs)
docs - thw documentatorpublic void setRSSImage(RSSImage im)
im - Specifies a GIF, JPEG or PNG image that can be displayed with the channel.public void setRSSTextInput(RSSTextInput in)
in - Specifies a text input box that can be displayed with the channelpublic java.lang.String getLastBuildDate()
public java.lang.String getCopyright()
public java.lang.String getGenerator()
public java.lang.String getTTL()
public java.lang.String getDocs()
public java.lang.String getLanguage()
public java.lang.String getWebMaster()
public RSSTextInput getRSSTextInput()
public void addItem(RSSItem itm)
itm - the RSSItem itempublic void addRSSSequence(RSSSequence s)
s - The RSSSequencepublic RSSImage getRSSImage()
public java.util.LinkedList getItems()
public RSSSequence getItemsSequence()
public void setSyndicationModule(RSSSyndicationModule s)
s - syndication namespaces modulepublic RSSSyndicationModule getRSSSyndicationModule()
public java.lang.String toDebugString()
toDebugString in class RSSObject
|
SageTV Platform V7.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||