|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.syndication.common.ObjectBean
com.sun.syndication.feed.synd.SyndFeed
Bean for all types of feeds.
It handles all RSS versions and Atom 0.3, it normalizes all info, it may lose information.
| Constructor Summary | |
SyndFeed()
Default constructor. |
|
SyndFeed(AbstractFeed feed)
Creates a SyndFeed an populates all its properties out of the given RSS Channel or Atom Feed properties. |
|
| Method Summary | |
AbstractFeed |
createRealFeed(java.lang.String type)
Creates a real feed of the given type containing the information of the SyndFeed. |
java.lang.String |
getAuthor()
Returns the feed author. |
java.util.List |
getCategories()
Returns the feed categories. |
java.lang.String |
getCopyright()
Returns the feed copyright. |
java.lang.String |
getDescription()
Returns the feed description. |
java.util.List |
getEntries()
Returns the feed entries. |
SyndImageI |
getImage()
Returns the feed image. |
java.lang.String |
getLanguage()
Returns the feed language. |
java.lang.String |
getLink()
Returns the feed link. |
java.util.List |
getModules()
Returns the feed modules. |
java.util.Date |
getPublishedDate()
Returns the feed published date. |
java.util.List |
getSupportedFeedTypes()
Returns the real feed types the SyndFeed supports when converting from and to. |
java.lang.String |
getTitle()
Returns the feed title. |
void |
setAuthor(java.lang.String author)
Sets the feed author. |
void |
setCategories(java.util.List categories)
Sets the feed categories. |
void |
setCopyright(java.lang.String copyright)
Sets the feed copyright. |
void |
setDescription(java.lang.String description)
Sets the feed description. |
void |
setEntries(java.util.List entries)
Sets the feed entries. |
void |
setImage(SyndImageI image)
Sets the feed image. |
void |
setLanguage(java.lang.String language)
Sets the feed language. |
void |
setLink(java.lang.String link)
Sets the feed link. |
void |
setModules(java.util.List modules)
Sets the feed modules. |
void |
setPublishedDate(java.util.Date publishedDate)
Sets the feed published date. |
void |
setTitle(java.lang.String title)
Sets the feed title. |
| Methods inherited from class com.sun.syndication.common.ObjectBean |
clone, equals, hashCode, toString, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.syndication.feed.synd.SyndFeedI |
clone |
| Methods inherited from interface com.sun.syndication.common.ToString |
toString |
| Constructor Detail |
public SyndFeed()
public SyndFeed(AbstractFeed feed)
feed - the RSS Channel or the Atom Feed to populate the properties from.| Method Detail |
public java.util.List getSupportedFeedTypes()
getSupportedFeedTypes in interface SyndFeedIpublic AbstractFeed createRealFeed(java.lang.String type)
createRealFeed in interface SyndFeedItype - type of the real feed to create.
public java.lang.String getTitle()
getTitle in interface SyndFeedIpublic void setTitle(java.lang.String title)
setTitle in interface SyndFeedItitle - the feed title to set, null if none.public java.lang.String getLink()
getLink in interface SyndFeedIpublic void setLink(java.lang.String link)
setLink in interface SyndFeedIlink - the feed link to set, null if none.public java.lang.String getDescription()
getDescription in interface SyndFeedIpublic void setDescription(java.lang.String description)
setDescription in interface SyndFeedIdescription - the feed description to set, null if none.public java.util.Date getPublishedDate()
This method is a convenience method, it maps to the Dublin Core module date.
getPublishedDate in interface SyndFeedIpublic void setPublishedDate(java.util.Date publishedDate)
This method is a convenience method, it maps to the Dublin Core module date.
setPublishedDate in interface SyndFeedIpublishedDate - the feed published date to set, null if none.public java.lang.String getAuthor()
This method is a convenience method, it maps to the Dublin Core module creator.
getAuthor in interface SyndFeedIpublic void setAuthor(java.lang.String author)
This method is a convenience method, it maps to the Dublin Core module creator.
setAuthor in interface SyndFeedIauthor - the feed author to set, null if none.public java.lang.String getCopyright()
This method is a convenience method, it maps to the Dublin Core module rights.
getCopyright in interface SyndFeedIpublic void setCopyright(java.lang.String copyright)
This method is a convenience method, it maps to the Dublin Core module rights.
setCopyright in interface SyndFeedIcopyright - the feed copyright to set, null if none.public SyndImageI getImage()
getImage in interface SyndFeedIpublic void setImage(SyndImageI image)
setImage in interface SyndFeedIimage - the feed image to set, null if none.public java.util.List getCategories()
This method is a convenience method, it maps to the Dublin Core module subjects.
getCategories in interface SyndFeedIpublic void setCategories(java.util.List categories)
This method is a convenience method, it maps to the Dublin Core module subjects.
setCategories in interface SyndFeedIcategories - the list of SyndCategory elements with the feed categories to set,
an empty list or null if none.public java.util.List getEntries()
getEntries in interface SyndFeedIpublic void setEntries(java.util.List entries)
setEntries in interface SyndFeedIentries - the list of SyndEntry elements with the feed entries to set,
an empty list or null if none.public java.lang.String getLanguage()
This method is a convenience method, it maps to the Dublin Core module language.
getLanguage in interface SyndFeedIpublic void setLanguage(java.lang.String language)
This method is a convenience method, it maps to the Dublin Core module language.
setLanguage in interface SyndFeedIlanguage - the feed language to set, null if none.public java.util.List getModules()
getModules in interface SyndFeedIpublic void setModules(java.util.List modules)
setModules in interface SyndFeedImodules - the list of Module elements with the feed modules to set,
an empty list or null if none.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||