| java.lang.Object com.sun.syndication.feed.WireFeed com.sun.syndication.feed.atom.Feed
Feed | public class Feed extends WireFeed (Code) | | Bean for Atom feeds.
It handles Atom feeds version 0.3 without loosing any feed information.
author: Alejandro Abdelnur author: Dave Johnson (updated for Atom 1.0) |
Constructor Summary | |
public | Feed() Default constructor, for bean cloning purposes only. | public | Feed(String type) Feed Constructor. |
Feed | public Feed()(Code) | | Default constructor, for bean cloning purposes only.
|
Feed | public Feed(String type)(Code) | | Feed Constructor. All properties, except the type, are set to null.
Parameters: type - the type of the Atom feed. |
getAlternateLinks | public List getAlternateLinks()(Code) | | Returns the feed alternate links.
a list of Link elements with the feed alternate links,an empty list if none. |
getAuthors | public List getAuthors()(Code) | | Returns the feed author.
the feed author, null if none. |
getCategories | public List getCategories()(Code) | | Returns the categories
Returns the categories. since: Atom 1.0 |
getContributors | public List getContributors()(Code) | | Returns the feed contributors.
a list of Person elements with the feed contributors,an empty list if none. |
getCopyright | public String getCopyright()(Code) | | Returns the feed copyright (Atom 0.3, maps to
getRights() ).
the feed copyright, null if none. |
getEntries | public List getEntries()(Code) | | Returns the feed entries.
a list of Entry elements with the feed entries,an empty list if none. |
getGenerator | public Generator getGenerator()(Code) | | Returns the feed generator.
the feed generator, null if none. |
getIcon | public String getIcon()(Code) | | Returns the icon
Returns the icon. since: Atom 1.0 |
getId | public String getId()(Code) | | Returns the feed ID.
the feed ID, null if none. |
getInfo | public Content getInfo()(Code) | | Returns the feed info (Atom 0.3 only)
the feed info, null if none. |
getLanguage | public String getLanguage()(Code) | | Returns the feed language (Atom 0.3 only)
the feed language, null if none. |
getLogo | public String getLogo()(Code) | | Returns the logo
Returns the logo. since: Atom 1.0 |
getModified | public Date getModified()(Code) | | Returns the feed modified date (Atom 0.3, maps to
getUpdated() ).
the feed modified date, null if none. |
getModule | public Module getModule(String uri)(Code) | | Returns the module identified by a given URI.
Parameters: uri - the URI of the ModuleImpl. The module with the given URI, null if none. |
getModules | public List getModules()(Code) | | Returns the feed modules.
a list of ModuleImpl elements with the feed modules,an empty list if none. |
getOtherLinks | public List getOtherLinks()(Code) | | Returns the feed other links (non-alternate ones).
a list of Link elements with the feed other links (non-alternate ones),an empty list if none. |
getRights | public String getRights()(Code) | | Returns the rights
Returns the rights. since: Atom 1.0 |
getSubtitle | public Content getSubtitle()(Code) | | Returns the subtitle
Returns the subtitle. since: Atom 1.0 |
getTagline | public Content getTagline()(Code) | | Returns the feed tag line (Atom 0.3, maps to
getSubtitle() ).
the feed tag line, null if none. |
getTitle | public String getTitle()(Code) | | Returns the feed title.
the feed title, null if none. |
getTitleEx | public Content getTitleEx()(Code) | | Returns the feed title.
the feed title, null if none. |
getUpdated | public Date getUpdated()(Code) | | Returns the updated
Returns the updated. since: Atom 1.0 |
getXmlBase | public String getXmlBase()(Code) | | Returns the xmlBase
Returns the xmlBase. since: Atom 1.0 |
setAlternateLinks | public void setAlternateLinks(List alternateLinks)(Code) | | Sets the feed alternate links.
Parameters: alternateLinks - the list of Link elements with the feed alternate links to set,an empty list or null if none. |
setAuthors | public void setAuthors(List authors)(Code) | | Sets the feed author.
Parameters: author - the feed author to set, null if none. |
setCategories | public void setCategories(List categories)(Code) | | Set the categories
Parameters: categories - The categories to set. since: Atom 1.0 |
setContributors | public void setContributors(List contributors)(Code) | | Sets the feed contributors.
Parameters: contributors - the list of Person elements with the feed contributors to set,an empty list or null if none. |
setCopyright | public void setCopyright(String copyright)(Code) | | Sets the feed copyright (Atom 0.3, maps to
setRights() ).
Parameters: copyright - the feed copyright to set, null if none. |
setEntries | public void setEntries(List entries)(Code) | | Sets the feed entries.
Parameters: entries - the list of Entry elements with the feed entries to set,an empty list or null if none. |
setGenerator | public void setGenerator(Generator generator)(Code) | | Sets the feed generator.
Parameters: generator - the feed generator to set, null if none. |
setIcon | public void setIcon(String icon)(Code) | | Set the icon
Parameters: icon - The icon to set. since: Atom 1.0 |
setId | public void setId(String id)(Code) | | Sets the feed ID.
Parameters: id - the feed ID to set, null if none. |
setInfo | public void setInfo(Content info)(Code) | | Sets the feed info (Atom 0.3 only)
Parameters: info - the feed info to set, null if none. |
setLanguage | public void setLanguage(String language)(Code) | | Sets the feed language (Atom 0.3 only)
Parameters: language - the feed language to set, null if none. |
setLogo | public void setLogo(String logo)(Code) | | Set the logo
Parameters: logo - The logo to set. since: Atom 1.0 |
setModified | public void setModified(Date modified)(Code) | | Sets the feed modified date (Atom 0.3, maps to
setUpdated() ).
Parameters: modified - the feed modified date to set, null if none. |
setModules | public void setModules(List modules)(Code) | | Sets the feed moduless.
Parameters: modules - the list of ModuleImpl elements with the feed moduless to set,an empty list or null if none. |
setOtherLinks | public void setOtherLinks(List otherLinks)(Code) | | Sets the feed other links (non-alternate ones).
Parameters: otherLinks - the list of Link elements with the feed other links (non-alternate ones) to set,an empty list or null if none. |
setRights | public void setRights(String rights)(Code) | | Set the rights
Parameters: rights - The rights to set. since: Atom 1.0 |
setSubtitle | public void setSubtitle(Content subtitle)(Code) | | Set the subtitle
Parameters: subtitle - The subtitle to set. since: Atom 1.0 |
setTagline | public void setTagline(Content tagline)(Code) | | Sets the feed tagline (Atom 0.3, maps to
getSubtitle() ).
Parameters: tagline - the feed tagline to set, null if none. |
setTitle | public void setTitle(String title)(Code) | | Sets the feed title.
Parameters: title - the feed title to set, null if none. |
setTitleEx | public void setTitleEx(Content title)(Code) | | Sets the feed title.
Parameters: title - the feed title to set, null if none. |
setUpdated | public void setUpdated(Date updated)(Code) | | Set the updated
Parameters: updated - The updated to set. since: Atom 1.0 |
setXmlBase | public void setXmlBase(String xmlBase)(Code) | | Set the xmlBase
Parameters: xmlBase - The xmlBase to set. since: Atom 1.0 |
|
|