|
|||||||||
| Home >> All >> com >> sun >> syndication >> feed >> [ rss overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.sun.syndication.feed.rss
Class Channel

java.lang.Objectcom.sun.syndication.feed.WireFeed
com.sun.syndication.feed.rss.Channel
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class Channel
- extends com.sun.syndication.feed.WireFeed
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 loosing information.
| Field Summary | |
private java.util.List |
_categories
|
private Cloud |
_cloud
|
private java.lang.String |
_copyright
|
private java.lang.String |
_description
|
private java.lang.String |
_docs
|
private java.lang.String |
_generator
|
private Image |
_image
|
private java.util.List |
_items
|
private java.lang.String |
_language
|
private java.util.Date |
_lastBuildDate
|
private java.lang.String |
_link
|
private java.lang.String |
_managingEditor
|
private java.util.List |
_modules
|
private java.util.Date |
_pubDate
|
private java.lang.String |
_rating
|
private java.util.List |
_skipDays
|
private java.util.List |
_skipHours
|
private TextInput |
_textInput
|
private java.lang.String |
_title
|
private int |
_ttl
|
private java.lang.String |
_uri
|
private java.lang.String |
_webMaster
|
private static java.util.Set |
DAYS
|
static java.lang.String |
FRIDAY
|
static java.lang.String |
MONDAY
|
static java.lang.String |
SATURDAY
|
static java.lang.String |
SUNDAY
|
static java.lang.String |
THURSDAY
|
static java.lang.String |
TUESDAY
|
static java.lang.String |
WEDNESDAY
|
| Fields inherited from class com.sun.syndication.feed.WireFeed |
|
| Constructor Summary | |
Channel()
Default constructor, for bean cloning purposes only. |
|
Channel(java.lang.String type)
Channel Constructor. |
|
| Method Summary | |
java.util.List |
getCategories()
Returns the channel categories. |
Cloud |
getCloud()
Returns the channel cloud. |
java.lang.String |
getCopyright()
Returns the channel copyright. |
java.lang.String |
getDescription()
Returns the channel description. |
java.lang.String |
getDocs()
Returns the channel docs. |
java.lang.String |
getGenerator()
Returns the channel generator. |
Image |
getImage()
Returns the channel image. |
java.util.List |
getItems()
Returns the channel items. |
java.lang.String |
getLanguage()
Returns the channel language. |
java.util.Date |
getLastBuildDate()
Returns the channel last build date. |
java.lang.String |
getLink()
Returns the channel link. |
java.lang.String |
getManagingEditor()
Returns the channel managing editor. |
com.sun.syndication.feed.module.Module |
getModule(java.lang.String uri)
Returns the module identified by a given URI. |
java.util.List |
getModules()
Returns the channel modules. |
java.util.Date |
getPubDate()
Returns the channel publishing date. |
java.lang.String |
getRating()
Returns the channel rating. |
java.util.List |
getSkipDays()
Returns the channel skip days. |
java.util.List |
getSkipHours()
Returns the channel skip hours. |
TextInput |
getTextInput()
Returns the channel text input. |
java.lang.String |
getTitle()
Returns the channel title. |
int |
getTtl()
Returns the channel time to live. |
java.lang.String |
getUri()
Returns the channel uri. |
java.lang.String |
getWebMaster()
Returns the channel web master. |
void |
setCategories(java.util.List categories)
Sets the channel categories. |
void |
setCloud(Cloud cloud)
Sets the channel cloud. |
void |
setCopyright(java.lang.String copyright)
Sets the channel copyright. |
void |
setDescription(java.lang.String description)
Sets the channel description. |
void |
setDocs(java.lang.String docs)
Sets the channel docs. |
void |
setGenerator(java.lang.String generator)
Sets the channel generator. |
void |
setImage(Image image)
Sets the channel image. |
void |
setItems(java.util.List items)
Sets the channel items. |
void |
setLanguage(java.lang.String language)
Sets the channel language. |
void |
setLastBuildDate(java.util.Date lastBuildDate)
Sets the channel last build date. |
void |
setLink(java.lang.String link)
Sets the channel link. |
void |
setManagingEditor(java.lang.String managingEditor)
Sets the channel managing editor. |
void |
setModules(java.util.List modules)
Sets the channel modules. |
void |
setPubDate(java.util.Date pubDate)
Sets the channel publishing date. |
void |
setRating(java.lang.String rating)
Sets the channel rating. |
void |
setSkipDays(java.util.List skipDays)
Sets the channel skip days. |
void |
setSkipHours(java.util.List skipHours)
Sets the channel skip hours. |
void |
setTextInput(TextInput textInput)
Sets the channel text input. |
void |
setTitle(java.lang.String title)
Sets the channel title. |
void |
setTtl(int ttl)
Sets the channel time to live. |
void |
setUri(java.lang.String uri)
Sets the channel uri. |
void |
setWebMaster(java.lang.String webMaster)
Sets the channel web master. |
| Methods inherited from class com.sun.syndication.feed.WireFeed |
clone, equals, getEncoding, getFeedType, hashCode, setEncoding, setFeedType, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
SUNDAY
public static final java.lang.String SUNDAY
- See Also:
- Constant Field Values
MONDAY
public static final java.lang.String MONDAY
- See Also:
- Constant Field Values
TUESDAY
public static final java.lang.String TUESDAY
- See Also:
- Constant Field Values
WEDNESDAY
public static final java.lang.String WEDNESDAY
- See Also:
- Constant Field Values
THURSDAY
public static final java.lang.String THURSDAY
- See Also:
- Constant Field Values
FRIDAY
public static final java.lang.String FRIDAY
- See Also:
- Constant Field Values
SATURDAY
public static final java.lang.String SATURDAY
- See Also:
- Constant Field Values
DAYS
private static final java.util.Set DAYS
_title
private java.lang.String _title
_description
private java.lang.String _description
_link
private java.lang.String _link
_uri
private java.lang.String _uri
_image
private Image _image
_items
private java.util.List _items
_textInput
private TextInput _textInput
_language
private java.lang.String _language
_rating
private java.lang.String _rating
_copyright
private java.lang.String _copyright
_pubDate
private java.util.Date _pubDate
_lastBuildDate
private java.util.Date _lastBuildDate
_docs
private java.lang.String _docs
_managingEditor
private java.lang.String _managingEditor
_webMaster
private java.lang.String _webMaster
_skipHours
private java.util.List _skipHours
_skipDays
private java.util.List _skipDays
_cloud
private Cloud _cloud
_categories
private java.util.List _categories
_generator
private java.lang.String _generator
_ttl
private int _ttl
_modules
private java.util.List _modules
| Constructor Detail |
Channel
public Channel()
- Default constructor, for bean cloning purposes only.
Channel
public Channel(java.lang.String type)
- Channel Constructor. All properties, except the type, are set to null.
| Method Detail |
getTitle
public java.lang.String getTitle()
- Returns the channel title.
setTitle
public void setTitle(java.lang.String title)
- Sets the channel title.
getDescription
public java.lang.String getDescription()
- Returns the channel description.
setDescription
public void setDescription(java.lang.String description)
- Sets the channel description.
getLink
public java.lang.String getLink()
- Returns the channel link.
setLink
public void setLink(java.lang.String link)
- Sets the channel link.
getUri
public java.lang.String getUri()
- Returns the channel uri.
setUri
public void setUri(java.lang.String uri)
- Sets the channel uri.
getImage
public Image getImage()
- Returns the channel image.
setImage
public void setImage(Image image)
- Sets the channel image.
getItems
public java.util.List getItems()
- Returns the channel items.
setItems
public void setItems(java.util.List items)
- Sets the channel items.
getTextInput
public TextInput getTextInput()
- Returns the channel text input.
setTextInput
public void setTextInput(TextInput textInput)
- Sets the channel text input.
getLanguage
public java.lang.String getLanguage()
- Returns the channel language.
setLanguage
public void setLanguage(java.lang.String language)
- Sets the channel language.
getRating
public java.lang.String getRating()
- Returns the channel rating.
setRating
public void setRating(java.lang.String rating)
- Sets the channel rating.
getCopyright
public java.lang.String getCopyright()
- Returns the channel copyright.
setCopyright
public void setCopyright(java.lang.String copyright)
- Sets the channel copyright.
getPubDate
public java.util.Date getPubDate()
- Returns the channel publishing date.
setPubDate
public void setPubDate(java.util.Date pubDate)
- Sets the channel publishing date.
getLastBuildDate
public java.util.Date getLastBuildDate()
- Returns the channel last build date.
setLastBuildDate
public void setLastBuildDate(java.util.Date lastBuildDate)
- Sets the channel last build date.
getDocs
public java.lang.String getDocs()
- Returns the channel docs.
setDocs
public void setDocs(java.lang.String docs)
- Sets the channel docs.
getManagingEditor
public java.lang.String getManagingEditor()
- Returns the channel managing editor.
setManagingEditor
public void setManagingEditor(java.lang.String managingEditor)
- Sets the channel managing editor.
getWebMaster
public java.lang.String getWebMaster()
- Returns the channel web master.
setWebMaster
public void setWebMaster(java.lang.String webMaster)
- Sets the channel web master.
getSkipHours
public java.util.List getSkipHours()
- Returns the channel skip hours.
setSkipHours
public void setSkipHours(java.util.List skipHours)
- Sets the channel skip hours.
getSkipDays
public java.util.List getSkipDays()
- Returns the channel skip days.
setSkipDays
public void setSkipDays(java.util.List skipDays)
- Sets the channel skip days.
getCloud
public Cloud getCloud()
- Returns the channel cloud.
setCloud
public void setCloud(Cloud cloud)
- Sets the channel cloud.
getCategories
public java.util.List getCategories()
- Returns the channel categories.
setCategories
public void setCategories(java.util.List categories)
- Sets the channel categories.
getGenerator
public java.lang.String getGenerator()
- Returns the channel generator.
setGenerator
public void setGenerator(java.lang.String generator)
- Sets the channel generator.
getTtl
public int getTtl()
- Returns the channel time to live.
setTtl
public void setTtl(int ttl)
- Sets the channel time to live.
getModules
public java.util.List getModules()
- Returns the channel modules.
setModules
public void setModules(java.util.List modules)
- Sets the channel modules.
getModule
public com.sun.syndication.feed.module.Module getModule(java.lang.String uri)
- Returns the module identified by a given URI.
|
|||||||||
| Home >> All >> com >> sun >> syndication >> feed >> [ rss overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC