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