Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.feed.atom
Class Feed  view Feed download Feed.java

java.lang.Object
  extended bycom.sun.syndication.feed.WireFeed
      extended bycom.sun.syndication.feed.atom.Feed
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class Feed
extends com.sun.syndication.feed.WireFeed

Bean for Atom feeds.

It handles Atom feeds version 0.3 without loosing any feed information.


Field Summary
private  java.util.List _alternateLinks
           
private  java.util.List _authors
           
private  java.util.List _categories
           
private  java.util.List _contributors
           
private  java.util.List _entries
           
private  Generator _generator
           
private  java.lang.String _icon
           
private  java.lang.String _id
           
private  Content _info
           
private  java.lang.String _language
           
private  java.lang.String _logo
           
private  java.util.List _modules
           
private  java.util.List _otherLinks
           
private  java.lang.String _rights
           
private  Content _subtitle
           
private  java.lang.String _title
           
private  java.util.Date _updated
           
private  java.lang.String _xmlBase
           
 
Fields inherited from class com.sun.syndication.feed.WireFeed
 
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.
 java.util.List getAuthors()
          Returns the feed author.
 java.util.List getCategories()
          Returns the categories
 java.util.List getContributors()
          Returns the feed contributors.
 java.lang.String getCopyright()
          Returns the feed copyright (Atom 0.3, maps to getRights() 55 ).
 java.util.List getEntries()
          Returns the feed entries.
 Generator getGenerator()
          Returns the feed generator.
 java.lang.String getIcon()
          Returns the icon
 java.lang.String getId()
          Returns the feed ID.
 Content getInfo()
          Returns the feed info (Atom 0.3 only)
 java.lang.String getLanguage()
          Returns the feed language (Atom 0.3 only)
 java.lang.String getLogo()
          Returns the logo
 java.util.Date getModified()
          Returns the feed modified date (Atom 0.3, maps to getUpdated() 55 ).
 com.sun.syndication.feed.module.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).
 java.lang.String getRights()
          Returns the rights
 Content getSubtitle()
          Returns the subtitle
 Content getTagline()
          Returns the feed tag line (Atom 0.3, maps to getSubtitle() 55 ).
 java.lang.String getTitle()
          Returns the feed title.
 java.util.Date getUpdated()
          Returns the updated
 java.lang.String getXmlBase()
          Returns the xmlBase
 void setAlternateLinks(java.util.List alternateLinks)
          Sets the feed alternate links.
 void setAuthors(java.util.List authors)
          Sets the feed author.
 void setCategories(java.util.List categories)
          Set the categories
 void setContributors(java.util.List contributors)
          Sets the feed contributors.
 void setCopyright(java.lang.String copyright)
          Sets the feed copyright (Atom 0.3, maps to setRights()).
 void setEntries(java.util.List entries)
          Sets the feed entries.
 void setGenerator(Generator generator)
          Sets the feed generator.
 void setIcon(java.lang.String icon)
          Set the icon
 void setId(java.lang.String id)
          Sets the feed ID.
 void setInfo(Content info)
          Sets the feed info (Atom 0.3 only)
 void setLanguage(java.lang.String language)
          Sets the feed language (Atom 0.3 only)
 void setLogo(java.lang.String logo)
          Set the logo
 void setModified(java.util.Date modified)
          Sets the feed modified date (Atom 0.3, maps to setUpdated()).
 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 setRights(java.lang.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() 55 ).
 void setTitle(java.lang.String title)
          Sets the feed title.
 void setUpdated(java.util.Date updated)
          Set the updated
 void setXmlBase(java.lang.String xmlBase)
          Set the xmlBase
 
Methods inherited from class com.sun.syndication.feed.WireFeed
clone, equals, getEncoding, getFeedType, hashCode, setEncoding, setFeedType, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_xmlBase

private java.lang.String _xmlBase

_categories

private java.util.List _categories

_authors

private java.util.List _authors

_contributors

private java.util.List _contributors

_generator

private Generator _generator

_icon

private java.lang.String _icon

_id

private java.lang.String _id

_logo

private java.lang.String _logo

_rights

private java.lang.String _rights

_subtitle

private Content _subtitle

_title

private java.lang.String _title

_updated

private java.util.Date _updated

_alternateLinks

private java.util.List _alternateLinks

_otherLinks

private java.util.List _otherLinks

_entries

private java.util.List _entries

_modules

private java.util.List _modules

_info

private Content _info

_language

private java.lang.String _language
Constructor Detail

Feed

public Feed()
Default constructor, for bean cloning purposes only.


Feed

public Feed(java.lang.String type)
Feed Constructor. All properties, except the type, are set to null.

Method Detail

getLanguage

public java.lang.String getLanguage()
Returns the feed language (Atom 0.3 only)


setLanguage

public void setLanguage(java.lang.String language)
Sets the feed language (Atom 0.3 only)


getTitle

public java.lang.String getTitle()
Returns the feed title.


setTitle

public void setTitle(java.lang.String title)
Sets the feed title.


getAlternateLinks

public java.util.List getAlternateLinks()
Returns the feed alternate links.


setAlternateLinks

public void setAlternateLinks(java.util.List alternateLinks)
Sets the feed alternate links.


getOtherLinks

public java.util.List getOtherLinks()
Returns the feed other links (non-alternate ones).


setOtherLinks

public void setOtherLinks(java.util.List otherLinks)
Sets the feed other links (non-alternate ones).


getAuthors

public java.util.List getAuthors()
Returns the feed author.


setAuthors

public void setAuthors(java.util.List authors)
Sets the feed author.


getContributors

public java.util.List getContributors()
Returns the feed contributors.


setContributors

public void setContributors(java.util.List contributors)
Sets the feed contributors.


getTagline

public Content getTagline()
Returns the feed tag line (Atom 0.3, maps to getSubtitle() 55 ).


setTagline

public void setTagline(Content tagline)
Sets the feed tagline (Atom 0.3, maps to getSubtitle() 55 ).


getId

public java.lang.String getId()
Returns the feed ID.


setId

public void setId(java.lang.String id)
Sets the feed ID.


getGenerator

public Generator getGenerator()
Returns the feed generator.


setGenerator

public void setGenerator(Generator generator)
Sets the feed generator.


getCopyright

public java.lang.String getCopyright()
Returns the feed copyright (Atom 0.3, maps to getRights() 55 ).


setCopyright

public void setCopyright(java.lang.String copyright)
Sets the feed copyright (Atom 0.3, maps to setRights()).


getInfo

public Content getInfo()
Returns the feed info (Atom 0.3 only)


setInfo

public void setInfo(Content info)
Sets the feed info (Atom 0.3 only)


getModified

public java.util.Date getModified()
Returns the feed modified date (Atom 0.3, maps to getUpdated() 55 ).


setModified

public void setModified(java.util.Date modified)
Sets the feed modified date (Atom 0.3, maps to setUpdated()).


getEntries

public java.util.List getEntries()
Returns the feed entries.


setEntries

public void setEntries(java.util.List entries)
Sets the feed entries.


getModules

public java.util.List getModules()
Returns the feed modules.


setModules

public void setModules(java.util.List modules)
Sets the feed moduless.


getModule

public com.sun.syndication.feed.module.Module getModule(java.lang.String uri)
Returns the module identified by a given URI.


getCategories

public java.util.List getCategories()
Returns the categories

Since:
Atom 1.0

setCategories

public void setCategories(java.util.List categories)
Set the categories

Since:
Atom 1.0

getIcon

public java.lang.String getIcon()
Returns the icon

Since:
Atom 1.0

setIcon

public void setIcon(java.lang.String icon)
Set the icon

Since:
Atom 1.0

getLogo

public java.lang.String getLogo()
Returns the logo

Since:
Atom 1.0

setLogo

public void setLogo(java.lang.String logo)
Set the logo

Since:
Atom 1.0

getRights

public java.lang.String getRights()
Returns the rights

Since:
Atom 1.0

setRights

public void setRights(java.lang.String rights)
Set the rights

Since:
Atom 1.0

getSubtitle

public Content getSubtitle()
Returns the subtitle

Since:
Atom 1.0

setSubtitle

public void setSubtitle(Content subtitle)
Set the subtitle

Since:
Atom 1.0

getUpdated

public java.util.Date getUpdated()
Returns the updated

Since:
Atom 1.0

setUpdated

public void setUpdated(java.util.Date updated)
Set the updated

Since:
Atom 1.0

getXmlBase

public java.lang.String getXmlBase()
Returns the xmlBase

Since:
Atom 1.0

setXmlBase

public void setXmlBase(java.lang.String xmlBase)
Set the xmlBase

Since:
Atom 1.0