com.sun.syndication.feed.atom
クラス Feed

java.lang.Object
  上位を拡張 com.sun.syndication.feed.WireFeed
      上位を拡張 com.sun.syndication.feed.atom.Feed
すべての実装されたインタフェース:
Extendable, java.io.Serializable, java.lang.Cloneable

public class Feed
extends WireFeed

Bean for Atom feeds.

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

関連項目:
直列化された形式

コンストラクタの概要
Feed()
          Default constructor, for bean cloning purposes only.
Feed(java.lang.String type)
          Feed Constructor.
 
メソッドの概要
 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()).
 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()).
 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()).
 java.lang.String getTitle()
          Returns the feed title.
 Content getTitleEx()
          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()).
 void setTitle(java.lang.String title)
          Sets the feed title.
 void setTitleEx(Content title)
          Sets the feed title.
 void setUpdated(java.util.Date updated)
          Set the updated
 void setXmlBase(java.lang.String xmlBase)
          Set the xmlBase
 
クラス com.sun.syndication.feed.WireFeed から継承されたメソッド
clone, equals, getEncoding, getFeedType, getForeignMarkup, hashCode, setEncoding, setFeedType, setForeignMarkup, toString
 
クラス java.lang.Object から継承されたメソッド
finalize, getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

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.

パラメータ:
type - the type of the Atom feed.
メソッドの詳細

getLanguage

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

戻り値:
the feed language, null if none.

setLanguage

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

パラメータ:
language - the feed language to set, null if none.

getTitle

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

戻り値:
the feed title, null if none.

setTitle

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

パラメータ:
title - the feed title to set, null if none.

getTitleEx

public Content getTitleEx()
Returns the feed title.

戻り値:
the feed title, null if none.

setTitleEx

public void setTitleEx(Content title)
Sets the feed title.

パラメータ:
title - the feed title to set, null if none.

getAlternateLinks

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

戻り値:
a list of Link elements with the feed alternate links, an empty list if none.

setAlternateLinks

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

パラメータ:
alternateLinks - the list of Link elements with the feed alternate links to set, an empty list or null if none.

getOtherLinks

public java.util.List getOtherLinks()
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.

setOtherLinks

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

パラメータ:
otherLinks - the list of Link elements with the feed other links (non-alternate ones) to set, an empty list or null if none.

getAuthors

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

戻り値:
the feed author, null if none.

setAuthors

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

パラメータ:
author - the feed author to set, null if none.

getContributors

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

戻り値:
a list of Person elements with the feed contributors, an empty list if none.

setContributors

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

パラメータ:
contributors - the list of Person elements with the feed contributors to set, an empty list or null if none.

getTagline

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

戻り値:
the feed tag line, null if none.

setTagline

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

パラメータ:
tagline - the feed tagline to set, null if none.

getId

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

戻り値:
the feed ID, null if none.

setId

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

パラメータ:
id - the feed ID to set, null if none.

getGenerator

public Generator getGenerator()
Returns the feed generator.

戻り値:
the feed generator, null if none.

setGenerator

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

パラメータ:
generator - the feed generator to set, null if none.

getCopyright

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

戻り値:
the feed copyright, null if none.

setCopyright

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

パラメータ:
copyright - the feed copyright to set, null if none.

getInfo

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

戻り値:
the feed info, null if none.

setInfo

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

パラメータ:
info - the feed info to set, null if none.

getModified

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

戻り値:
the feed modified date, null if none.

setModified

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

パラメータ:
modified - the feed modified date to set, null if none.

getEntries

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

戻り値:
a list of Entry elements with the feed entries, an empty list if none.

setEntries

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

パラメータ:
entries - the list of Entry elements with the feed entries to set, an empty list or null if none.

getModules

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

定義:
インタフェース Extendable 内の getModules
オーバーライド:
クラス WireFeed 内の getModules
戻り値:
a list of ModuleImpl elements with the feed modules, an empty list if none.

setModules

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

定義:
インタフェース Extendable 内の setModules
オーバーライド:
クラス WireFeed 内の setModules
パラメータ:
modules - the list of ModuleImpl elements with the feed moduless to set, an empty list or null if none.

getModule

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

定義:
インタフェース Extendable 内の getModule
オーバーライド:
クラス WireFeed 内の getModule
パラメータ:
uri - the URI of the ModuleImpl.
戻り値:
The module with the given URI, null if none.

getCategories

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

戻り値:
Returns the categories.
導入されたバージョン:
Atom 1.0

setCategories

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

パラメータ:
categories - The categories to set.
導入されたバージョン:
Atom 1.0

getIcon

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

戻り値:
Returns the icon.
導入されたバージョン:
Atom 1.0

setIcon

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

パラメータ:
icon - The icon to set.
導入されたバージョン:
Atom 1.0

getLogo

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

戻り値:
Returns the logo.
導入されたバージョン:
Atom 1.0

setLogo

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

パラメータ:
logo - The logo to set.
導入されたバージョン:
Atom 1.0

getRights

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

戻り値:
Returns the rights.
導入されたバージョン:
Atom 1.0

setRights

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

パラメータ:
rights - The rights to set.
導入されたバージョン:
Atom 1.0

getSubtitle

public Content getSubtitle()
Returns the subtitle

戻り値:
Returns the subtitle.
導入されたバージョン:
Atom 1.0

setSubtitle

public void setSubtitle(Content subtitle)
Set the subtitle

パラメータ:
subtitle - The subtitle to set.
導入されたバージョン:
Atom 1.0

getUpdated

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

戻り値:
Returns the updated.
導入されたバージョン:
Atom 1.0

setUpdated

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

パラメータ:
updated - The updated to set.
導入されたバージョン:
Atom 1.0

getXmlBase

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

戻り値:
Returns the xmlBase.
導入されたバージョン:
Atom 1.0

setXmlBase

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

パラメータ:
xmlBase - The xmlBase to set.
導入されたバージョン:
Atom 1.0