|
|||||||||||
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.WireFeed
com.sun.syndication.feed.atom.Feed
Bean for Atom feeds.
It handles Atom feeds version 0.3 without loosing any feed information.
Constructor Summary | |
Feed()
Default constructor, for bean cloning purposes only. |
|
Feed(java.lang.String type)
Feed Constructor. |
Method Summary | |
java.util.List |
getAlternateLinks()
Returns the feed alternate links. |
Person |
getAuthor()
Returns the feed author. |
java.util.List |
getContributors()
Returns the feed contributors. |
java.lang.String |
getCopyright()
Returns the feed copyright. |
java.util.List |
getEntries()
Returns the feed entries. |
Generator |
getGenerator()
Returns the feed generator. |
java.lang.String |
getId()
Returns the feed ID. |
Content |
getInfo()
Returns the feed info. |
java.lang.String |
getLanguage()
Returns the feed language. |
java.util.Date |
getModified()
Returns the feed modified date. |
Module |
getModule(java.lang.String uri)
Returns the module identified by a given URI. |
java.util.List |
getModules()
Returns the feed modules. |
java.util.List |
getOtherLinks()
Returns the feed other links (non-alternate ones). |
Content |
getTagline()
Returns the feed tag line. |
java.lang.String |
getTitle()
Returns the feed title. |
void |
setAlternateLinks(java.util.List alternateLinks)
Sets the feed alternate links. |
void |
setAuthor(Person author)
Sets the feed author. |
void |
setContributors(java.util.List contributors)
Sets the feed contributors. |
void |
setCopyright(java.lang.String copyright)
Sets the feed copyright. |
void |
setEntries(java.util.List entries)
Sets the feed entries. |
void |
setGenerator(Generator generator)
Sets the feed generator. |
void |
setId(java.lang.String id)
Sets the feed ID. |
void |
setInfo(Content info)
Sets the feed info. |
void |
setLanguage(java.lang.String language)
Sets the feed language. |
void |
setModified(java.util.Date modified)
Sets the feed modified date. |
void |
setModules(java.util.List modules)
Sets the feed moduless. |
void |
setOtherLinks(java.util.List otherLinks)
Sets the feed other links (non-alternate ones). |
void |
setTagline(Content tagline)
Sets the feed tagline. |
void |
setTitle(java.lang.String title)
Sets the feed title. |
Methods inherited from class com.sun.syndication.feed.WireFeed |
getEncoding, getFeedType, setEncoding, setFeedType |
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 |
Constructor Detail |
public Feed()
public Feed(java.lang.String type)
type
- the type of the Atom feed.Method Detail |
public java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language
- the feed language 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.util.List getAlternateLinks()
public void setAlternateLinks(java.util.List alternateLinks)
alternateLinks
- the list of Link elements with the feed alternate links to set,
an empty list or null if none.public java.util.List getOtherLinks()
public void setOtherLinks(java.util.List otherLinks)
otherLinks
- the list of Link elements with the feed other links (non-alternate ones) to set,
an empty list or null if none.public Person getAuthor()
public void setAuthor(Person author)
author
- the feed author to set, null if none.public java.util.List getContributors()
public void setContributors(java.util.List contributors)
contributors
- the list of Person elements with the feed contributors to set,
an empty list or null if none.public Content getTagline()
public void setTagline(Content tagline)
tagline
- the feed tagline to set, null if none.public java.lang.String getId()
public void setId(java.lang.String id)
id
- the feed ID to set, null if none.public Generator getGenerator()
public void setGenerator(Generator generator)
generator
- the feed generator to set, null if none.public java.lang.String getCopyright()
public void setCopyright(java.lang.String copyright)
copyright
- the feed copyright to set, null if none.public Content getInfo()
public void setInfo(Content info)
info
- the feed info to set, null if none.public java.util.Date getModified()
public void setModified(java.util.Date modified)
modified
- the feed modified date to set, null if none.public java.util.List getEntries()
public void setEntries(java.util.List entries)
entries
- the list of Entry elements with the feed entries to set,
an empty list or null if none.public java.util.List getModules()
getModules
in class WireFeed
public void setModules(java.util.List modules)
setModules
in class WireFeed
modules
- the list of ModuleImpl elements with the feed moduless to set,
an empty list or null if none.public Module getModule(java.lang.String uri)
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 |