|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Bean interface for all types of feeds.
It handles all RSS versions and Atom 0.3, it normalizes all info, it may lose information.
Method Summary | |
java.lang.Object |
clone()
Creates a deep clone of the object. |
WireFeed |
createWireFeed()
Creates a rea feed containing the information of the SyndFeed. |
WireFeed |
createWireFeed(java.lang.String feedType)
Creates a real feed 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. |
java.lang.String |
getFeedType()
Returns the wire feed type the feed had/will-have when coverted from/to a WireFeed. |
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 |
setFeedType(java.lang.String feedType)
Sets the wire feed type the feed will-have when coverted to a WireFeed. |
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 interface com.sun.syndication.common.ToString |
toString |
Method Detail |
public java.util.List getSupportedFeedTypes()
public WireFeed createWireFeed()
The feed type of the created WireFeed is taken from the SyndFeed feedType property.
public WireFeed createWireFeed(java.lang.String feedType)
feedType
- the feed type for the WireFeed to be created.
public java.lang.String getFeedType()
public void setFeedType(java.lang.String feedType)
feedType
- the feed type to set, null if none.public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the feed title to set, null if none.public java.lang.String getLink()
public void setLink(java.lang.String link)
link
- the feed link to set, null if none.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- 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.
public void setPublishedDate(java.util.Date publishedDate)
This method is a convenience method, it maps to the Dublin Core module date.
publishedDate
- 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.
public void setAuthor(java.lang.String author)
This method is a convenience method, it maps to the Dublin Core module creator.
author
- 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.
public void setCopyright(java.lang.String copyright)
This method is a convenience method, it maps to the Dublin Core module rights.
copyright
- the feed copyright to set, null if none.public SyndImageI getImage()
public void setImage(SyndImageI image)
image
- 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.
public void setCategories(java.util.List categories)
This method is a convenience method, it maps to the Dublin Core module subjects.
categories
- the list of SyndCategory elements with the feed categories to set,
an empty list or null if none.public java.util.List getEntries()
public void setEntries(java.util.List entries)
entries
- 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.
public void setLanguage(java.lang.String language)
This method is a convenience method, it maps to the Dublin Core module language.
language
- the feed language to set, null if none.public java.util.List getModules()
public void setModules(java.util.List modules)
modules
- the list of Module elements with the feed modules to set,
an empty list or null if none.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- thrown if an element of the object cannot be cloned.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |