|
Copyright (c) 2000-2002 ChurchillObjects.com | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--churchillobjects.rss4j.RssChannel
Encapsulates the data and some minor logic regarding a channel in the RSS object model. The channel contains all of the elements including items, images, etc. that pertain to a single channel. There may be more than one channel in a document. A channel may also have one syndication.
Field Summary | |
private java.lang.String |
channelCopyright
The channel copyright. |
private java.lang.String |
channelDescription
The channel description. |
private java.lang.String |
channelDocs
The channels docs. |
private churchillobjects.rss4j.RssChannelImage |
channelImage
The channel's image. |
private java.lang.String |
channelLanguage
The channel language. |
private java.lang.String |
channelLastBuildDate
The channel's last build date. |
private java.lang.String |
channelLink
The channel link. |
private java.lang.String |
channelManagingEditor
The channel's managing editor. |
private java.lang.String |
channelPicsRating
The channel's PICS rating. |
private java.lang.String |
channelPubDate
The channel pub date. |
private churchillobjects.rss4j.RssSyndication |
channelSyndication
The channel's syndication information. |
private churchillobjects.rss4j.RssChannelTextInput |
channelTextInput
The channel's text input. |
private java.lang.String |
channelTitle
The channel title. |
private java.lang.String |
channelUri
The channel uri (where it came from). |
private java.lang.String |
channelWebmaster
The channel's webmaster. |
private churchillobjects.rss4j.RssDublinCore |
dublinCore
The channel's dublin core information. |
private java.util.Vector |
items
A list of the channel's items. |
private java.util.Vector |
skipDays
A list of the channel's skipdays. |
static java.lang.String[] |
SKIPDAYS
Permissible skipdays text items. |
private java.util.Vector |
skipHours
A list of the channel's skiphours. |
Constructor Summary | |
RssChannel()
|
Method Summary | |
void |
addItem(churchillobjects.rss4j.RssChannelItem item)
Adds the specified item object to the list of items for the channel. |
void |
addSkipDay(java.lang.String s)
Adds a skip day to the channel. |
void |
addSkipHour(int i)
Adds a skip hour to the channel's skip hours list. |
java.lang.Object |
clone()
Public clone method to allow cloning. |
boolean |
equals(java.lang.Object obj)
Canonical equals method. |
java.lang.String |
getChannelCopyright()
Returns the channel copyright. |
java.lang.String |
getChannelDescription()
Returns the channel description. |
java.lang.String |
getChannelDocs()
Returns the channel docs (RSS 0.91 only). |
churchillobjects.rss4j.RssChannelImage |
getChannelImage()
Returns the encapsulated channel image object. |
java.lang.String |
getChannelLanguage()
Returns the channel language. |
java.lang.String |
getChannelLastBuildDate()
Returns the channel last build date. |
java.lang.String |
getChannelLink()
Returns the channel link. |
java.lang.String |
getChannelManagingEditor()
Returns the channel managing editor. |
java.lang.String |
getChannelPicsRating()
Returns the channel PICS rating. |
java.lang.String |
getChannelPubDate()
Returns the channel publication date. |
churchillobjects.rss4j.RssSyndication |
getChannelSyndication()
Returns the channel's syndication object. |
churchillobjects.rss4j.RssChannelTextInput |
getChannelTextInput()
Returns the channel's text input object. |
java.lang.String |
getChannelTitle()
Returns the channel title. |
java.lang.String |
getChannelUri()
Returns the channel URI. |
java.lang.String |
getChannelWebmaster()
Returns the channel webmaster. |
churchillobjects.rss4j.RssDublinCore |
getDublinCore()
Returns the channel's dublin core object. |
int |
getItemCount()
Returns the size of the channel items list. |
int |
hashCode()
Computes the hashcode of this object based on the hashcodes of the objects it contains. |
java.util.Enumeration |
items()
Returns an enumeration of the channel's items. |
void |
setChannelCopyright(java.lang.String cr)
Sets the channel copyright. |
void |
setChannelDescription(java.lang.String cd)
Sets the channel description. |
void |
setChannelDocs(java.lang.String s)
Sets the channel docs (RSS 0.91 only). |
void |
setChannelImage(churchillobjects.rss4j.RssChannelImage image)
Sets the channel image to the specified object. |
void |
setChannelLanguage(java.lang.String cl)
Sets the channel language. |
void |
setChannelLastBuildDate(java.lang.String lbd)
Sets the channel last build date. |
void |
setChannelLink(java.lang.String cl)
Sets the channel link. |
void |
setChannelManagingEditor(java.lang.String me)
Sets the channel managing editor. |
void |
setChannelPicsRating(java.lang.String r)
Sets the channel PICS rating. |
void |
setChannelPubDate(java.lang.String pd)
Sets the channel publication date. |
void |
setChannelSyndication(churchillobjects.rss4j.RssSyndication syn)
Sets the channel's syndication object. |
void |
setChannelTextInput(churchillobjects.rss4j.RssChannelTextInput input)
Sets the channel's text input object. |
void |
setChannelTitle(java.lang.String ct)
Sets the channel title. |
void |
setChannelUri(java.lang.String uri)
Sets the channel URI. |
void |
setChannelWebmaster(java.lang.String s)
Sets the channel webmaster. |
void |
setDublinCore(churchillobjects.rss4j.RssDublinCore dc)
Sets the channel's dublin core object. |
java.util.Enumeration |
skipDays()
Returns an enumeration of the channel's skip days list. |
java.util.Enumeration |
skipHours()
Returns an enumeration of the channel's skip hours. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String[] SKIPDAYS
private java.lang.String channelTitle
private java.lang.String channelDescription
private java.lang.String channelLink
private java.lang.String channelUri
private java.lang.String channelLanguage
private java.lang.String channelCopyright
private java.lang.String channelPubDate
private java.lang.String channelLastBuildDate
private java.lang.String channelManagingEditor
private java.lang.String channelWebmaster
private java.lang.String channelPicsRating
private java.lang.String channelDocs
private churchillobjects.rss4j.RssSyndication channelSyndication
private churchillobjects.rss4j.RssDublinCore dublinCore
private java.util.Vector skipDays
private java.util.Vector skipHours
private churchillobjects.rss4j.RssChannelImage channelImage
private churchillobjects.rss4j.RssChannelTextInput channelTextInput
private java.util.Vector items
Constructor Detail |
public RssChannel()
Method Detail |
public final void setChannelDocs(java.lang.String s)
s
- public final java.lang.String getChannelDocs()
public final void setChannelTextInput(churchillobjects.rss4j.RssChannelTextInput input)
input
- public final churchillobjects.rss4j.RssChannelTextInput getChannelTextInput()
public final void setChannelImage(churchillobjects.rss4j.RssChannelImage image)
image
- public final churchillobjects.rss4j.RssChannelImage getChannelImage()
public final java.lang.String getChannelTitle()
public final void setChannelTitle(java.lang.String ct)
ct
- public final java.lang.String getChannelDescription()
public final void setChannelDescription(java.lang.String cd)
cd
- public final java.lang.String getChannelLink()
public final void setChannelLink(java.lang.String cl)
cl
- public final java.lang.String getChannelLanguage()
public final void setChannelLanguage(java.lang.String cl)
cl
- public final java.lang.String getChannelCopyright()
public final void setChannelCopyright(java.lang.String cr)
cr
- public final java.lang.String getChannelPubDate()
public final void setChannelPubDate(java.lang.String pd)
pd
- public final java.lang.String getChannelLastBuildDate()
public final void setChannelLastBuildDate(java.lang.String lbd)
lbd
- public final java.lang.String getChannelManagingEditor()
public final void setChannelManagingEditor(java.lang.String me)
me
- public final java.lang.String getChannelWebmaster()
public final void setChannelWebmaster(java.lang.String s)
s
- public final void setChannelPicsRating(java.lang.String r)
r
- public final java.lang.String getChannelPicsRating()
public final void addItem(churchillobjects.rss4j.RssChannelItem item)
item
- public final java.lang.String getChannelUri()
public final void setChannelUri(java.lang.String uri)
uri
- public final java.util.Enumeration items()
public final int getItemCount()
public final void addSkipDay(java.lang.String s)
s
- public final java.util.Enumeration skipDays()
public final void addSkipHour(int i)
i
- public final java.util.Enumeration skipHours()
public final void setChannelSyndication(churchillobjects.rss4j.RssSyndication syn)
setChannelSyndication
in interface IUsesSyndication
syn
- public final churchillobjects.rss4j.RssSyndication getChannelSyndication()
getChannelSyndication
in interface IUsesSyndication
public final void setDublinCore(churchillobjects.rss4j.RssDublinCore dc)
setDublinCore
in interface IUsesDublinCore
dc
- public final churchillobjects.rss4j.RssDublinCore getDublinCore()
getDublinCore
in interface IUsesDublinCore
public final java.lang.String toString()
toString
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The other object
public java.lang.Object clone()
clone
in class java.lang.Object
|
Copyright (c) 2000-2002 ChurchillObjects.com | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |