|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.syndication.feed.WireFeed com.sun.syndication.feed.rss.Channel
public class Channel
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.
Field Summary | |
---|---|
static String |
FRIDAY
|
static String |
MONDAY
|
static String |
SATURDAY
|
static String |
SUNDAY
|
static String |
THURSDAY
|
static String |
TUESDAY
|
static String |
WEDNESDAY
|
Constructor Summary | |
---|---|
Channel()
Default constructor, for bean cloning purposes only. |
|
Channel(String type)
Channel Constructor. |
Method Summary | |
---|---|
List<Category> |
getCategories()
Returns the channel categories. |
Cloud |
getCloud()
Returns the channel cloud. |
String |
getCopyright()
Returns the channel copyright. |
String |
getDescription()
Returns the channel description. |
String |
getDocs()
Returns the channel docs. |
String |
getGenerator()
Returns the channel generator. |
Image |
getImage()
Returns the channel image. |
List<Item> |
getItems()
Returns the channel items. |
String |
getLanguage()
Returns the channel language. |
Date |
getLastBuildDate()
Returns the channel last build date. |
String |
getLink()
Returns the channel link. |
String |
getManagingEditor()
Returns the channel managing editor. |
Module |
getModule(String uri)
Returns the module identified by a given URI. |
List<Module> |
getModules()
Returns the channel modules. |
Date |
getPubDate()
Returns the channel publishing date. |
String |
getRating()
Returns the channel rating. |
List<String> |
getSkipDays()
Returns the channel skip days. |
List<Integer> |
getSkipHours()
Returns the channel skip hours. |
TextInput |
getTextInput()
Returns the channel text input. |
String |
getTitle()
Returns the channel title. |
int |
getTtl()
Returns the channel time to live. |
String |
getUri()
Returns the channel uri. |
String |
getWebMaster()
Returns the channel web master. |
void |
setCategories(List<Category> categories)
Sets the channel categories. |
void |
setCloud(Cloud cloud)
Sets the channel cloud. |
void |
setCopyright(String copyright)
Sets the channel copyright. |
void |
setDescription(String description)
Sets the channel description. |
void |
setDocs(String docs)
Sets the channel docs. |
void |
setGenerator(String generator)
Sets the channel generator. |
void |
setImage(Image image)
Sets the channel image. |
void |
setItems(List<Item> items)
Sets the channel items. |
void |
setLanguage(String language)
Sets the channel language. |
void |
setLastBuildDate(Date lastBuildDate)
Sets the channel last build date. |
void |
setLink(String link)
Sets the channel link. |
void |
setManagingEditor(String managingEditor)
Sets the channel managing editor. |
void |
setModules(List<Module> modules)
Sets the channel modules. |
void |
setPubDate(Date pubDate)
Sets the channel publishing date. |
void |
setRating(String rating)
Sets the channel rating. |
void |
setSkipDays(List<String> skipDays)
Sets the channel skip days. |
void |
setSkipHours(List<Integer> skipHours)
Sets the channel skip hours. |
void |
setTextInput(TextInput textInput)
Sets the channel text input. |
void |
setTitle(String title)
Sets the channel title. |
void |
setTtl(int ttl)
Sets the channel time to live. |
void |
setUri(String uri)
Sets the channel uri. |
void |
setWebMaster(String webMaster)
Sets the channel web master. |
Methods inherited from class com.sun.syndication.feed.WireFeed |
---|
clone, equals, getEncoding, getFeedType, getForeignMarkup, hashCode, setEncoding, setFeedType, setForeignMarkup, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String SUNDAY
public static final String MONDAY
public static final String TUESDAY
public static final String WEDNESDAY
public static final String THURSDAY
public static final String FRIDAY
public static final String SATURDAY
Constructor Detail |
---|
public Channel()
public Channel(String type)
type
- the type of the RSS feed.Method Detail |
---|
public String getTitle()
public void setTitle(String title)
title
- the channel title to set, null if none.public String getDescription()
public void setDescription(String description)
description
- the channel description to set, null if none.public String getLink()
public void setLink(String link)
link
- the channel link to set, null if none.public String getUri()
public void setUri(String uri)
uri
- the channel uri, null if none.public Image getImage()
public void setImage(Image image)
image
- the channel image to set, null if none.public List<Item> getItems()
public void setItems(List<Item> items)
items
- the list of Item elements with the channel items to set,
an empty list or null if none.public TextInput getTextInput()
public void setTextInput(TextInput textInput)
textInput
- the channel text input to set, null if none.public String getLanguage()
public void setLanguage(String language)
language
- the channel language to set, null if none.public String getRating()
public void setRating(String rating)
rating
- the channel rating to set, null if none.public String getCopyright()
public void setCopyright(String copyright)
copyright
- the channel copyright to set, null if none.public Date getPubDate()
public void setPubDate(Date pubDate)
pubDate
- the channel publishing date to set, null if none.public Date getLastBuildDate()
public void setLastBuildDate(Date lastBuildDate)
lastBuildDate
- the channel last build date to set, null if none.public String getDocs()
public void setDocs(String docs)
docs
- the channel docs to set, null if none.public String getManagingEditor()
public void setManagingEditor(String managingEditor)
managingEditor
- the channel managing editor to set, null if none.public String getWebMaster()
public void setWebMaster(String webMaster)
webMaster
- the channel web master to set, null if none.public List<Integer> getSkipHours()
public void setSkipHours(List<Integer> skipHours)
skipHours
- the list of Integer elements with the channel skip hours to set,
an empty list or null if none.public List<String> getSkipDays()
public void setSkipDays(List<String> skipDays)
skipDays
- the list of Day elements with the channel skip days to set,
an empty list or null if none.public Cloud getCloud()
public void setCloud(Cloud cloud)
cloud
- the channel cloud to set, null if none.public List<Category> getCategories()
public void setCategories(List<Category> categories)
categories
- the list of Category elements with the channel categories to set,
an empty list or null if none.public String getGenerator()
public void setGenerator(String generator)
generator
- the channel generator to set, null if none.public int getTtl()
public void setTtl(int ttl)
ttl
- the channel time to live to set, null if none.public List<Module> getModules()
getModules
in interface Extendable
getModules
in class WireFeed
public void setModules(List<Module> modules)
setModules
in interface Extendable
setModules
in class WireFeed
modules
- the list of ModuleImpl elements with the channel modules to set,
an empty list or null if none.public Module getModule(String uri)
getModule
in interface Extendable
getModule
in class WireFeed
uri
- the URI of the ModuleImpl.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |