com.sun.syndication.feed.rss
クラス Channel

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

public class Channel
extends WireFeed

Bean for RSS feeds.

It handles all RSS versions (0.9, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) without losing information.

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

フィールドの概要
static java.lang.String FRIDAY
           
static java.lang.String MONDAY
           
static java.lang.String SATURDAY
           
static java.lang.String SUNDAY
           
static java.lang.String THURSDAY
           
static java.lang.String TUESDAY
           
static java.lang.String WEDNESDAY
           
 
コンストラクタの概要
Channel()
          Default constructor, for bean cloning purposes only.
Channel(java.lang.String type)
          Channel Constructor.
 
メソッドの概要
 java.util.List getCategories()
          Returns the channel categories.
 Cloud getCloud()
          Returns the channel cloud.
 java.lang.String getCopyright()
          Returns the channel copyright.
 java.lang.String getDescription()
          Returns the channel description.
 java.lang.String getDocs()
          Returns the channel docs.
 java.lang.String getGenerator()
          Returns the channel generator.
 Image getImage()
          Returns the channel image.
 java.util.List getItems()
          Returns the channel items.
 java.lang.String getLanguage()
          Returns the channel language.
 java.util.Date getLastBuildDate()
          Returns the channel last build date.
 java.lang.String getLink()
          Returns the channel link.
 java.lang.String getManagingEditor()
          Returns the channel managing editor.
 Module getModule(java.lang.String uri)
          Returns the module identified by a given URI.
 java.util.List getModules()
          Returns the channel modules.
 java.util.Date getPubDate()
          Returns the channel publishing date.
 java.lang.String getRating()
          Returns the channel rating.
 java.util.List getSkipDays()
          Returns the channel skip days.
 java.util.List getSkipHours()
          Returns the channel skip hours.
 TextInput getTextInput()
          Returns the channel text input.
 java.lang.String getTitle()
          Returns the channel title.
 int getTtl()
          Returns the channel time to live.
 java.lang.String getUri()
          Returns the channel uri.
 java.lang.String getWebMaster()
          Returns the channel web master.
 void setCategories(java.util.List categories)
          Sets the channel categories.
 void setCloud(Cloud cloud)
          Sets the channel cloud.
 void setCopyright(java.lang.String copyright)
          Sets the channel copyright.
 void setDescription(java.lang.String description)
          Sets the channel description.
 void setDocs(java.lang.String docs)
          Sets the channel docs.
 void setGenerator(java.lang.String generator)
          Sets the channel generator.
 void setImage(Image image)
          Sets the channel image.
 void setItems(java.util.List items)
          Sets the channel items.
 void setLanguage(java.lang.String language)
          Sets the channel language.
 void setLastBuildDate(java.util.Date lastBuildDate)
          Sets the channel last build date.
 void setLink(java.lang.String link)
          Sets the channel link.
 void setManagingEditor(java.lang.String managingEditor)
          Sets the channel managing editor.
 void setModules(java.util.List modules)
          Sets the channel modules.
 void setPubDate(java.util.Date pubDate)
          Sets the channel publishing date.
 void setRating(java.lang.String rating)
          Sets the channel rating.
 void setSkipDays(java.util.List skipDays)
          Sets the channel skip days.
 void setSkipHours(java.util.List skipHours)
          Sets the channel skip hours.
 void setTextInput(TextInput textInput)
          Sets the channel text input.
 void setTitle(java.lang.String title)
          Sets the channel title.
 void setTtl(int ttl)
          Sets the channel time to live.
 void setUri(java.lang.String uri)
          Sets the channel uri.
 void setWebMaster(java.lang.String webMaster)
          Sets the channel web master.
 
クラス 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
 

フィールドの詳細

SUNDAY

public static final java.lang.String SUNDAY
関連項目:
定数フィールド値

MONDAY

public static final java.lang.String MONDAY
関連項目:
定数フィールド値

TUESDAY

public static final java.lang.String TUESDAY
関連項目:
定数フィールド値

WEDNESDAY

public static final java.lang.String WEDNESDAY
関連項目:
定数フィールド値

THURSDAY

public static final java.lang.String THURSDAY
関連項目:
定数フィールド値

FRIDAY

public static final java.lang.String FRIDAY
関連項目:
定数フィールド値

SATURDAY

public static final java.lang.String SATURDAY
関連項目:
定数フィールド値
コンストラクタの詳細

Channel

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


Channel

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

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

getTitle

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

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

setTitle

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

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

getDescription

public java.lang.String getDescription()
Returns the channel description.

戻り値:
the channel description, null if none.

setDescription

public void setDescription(java.lang.String description)
Sets the channel description.

パラメータ:
description - the channel description to set, null if none.

getLink

public java.lang.String getLink()
Returns the channel link.

戻り値:
the channel link, null if none.

setLink

public void setLink(java.lang.String link)
Sets the channel link.

パラメータ:
link - the channel link to set, null if none.

getUri

public java.lang.String getUri()
Returns the channel uri.

戻り値:
the channel uri, null if none.

setUri

public void setUri(java.lang.String uri)
Sets the channel uri.

パラメータ:
uri - the channel uri, null if none.

getImage

public Image getImage()
Returns the channel image.

戻り値:
the channel image, null if none.

setImage

public void setImage(Image image)
Sets the channel image.

パラメータ:
image - the channel image to set, null if none.

getItems

public java.util.List getItems()
Returns the channel items.

戻り値:
a list of Item elements with the channel items, an empty list if none.

setItems

public void setItems(java.util.List items)
Sets the channel items.

パラメータ:
items - the list of Item elements with the channel items to set, an empty list or null if none.

getTextInput

public TextInput getTextInput()
Returns the channel text input.

戻り値:
the channel text input, null if none.

setTextInput

public void setTextInput(TextInput textInput)
Sets the channel text input.

パラメータ:
textInput - the channel text input to set, null if none.

getLanguage

public java.lang.String getLanguage()
Returns the channel language.

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

setLanguage

public void setLanguage(java.lang.String language)
Sets the channel language.

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

getRating

public java.lang.String getRating()
Returns the channel rating.

戻り値:
the channel rating, null if none.

setRating

public void setRating(java.lang.String rating)
Sets the channel rating.

パラメータ:
rating - the channel rating to set, null if none.

getCopyright

public java.lang.String getCopyright()
Returns the channel copyright.

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

setCopyright

public void setCopyright(java.lang.String copyright)
Sets the channel copyright.

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

getPubDate

public java.util.Date getPubDate()
Returns the channel publishing date.

戻り値:
the channel publishing date, null if none.

setPubDate

public void setPubDate(java.util.Date pubDate)
Sets the channel publishing date.

パラメータ:
pubDate - the channel publishing date to set, null if none.

getLastBuildDate

public java.util.Date getLastBuildDate()
Returns the channel last build date.

戻り値:
the channel last build date, null if none.

setLastBuildDate

public void setLastBuildDate(java.util.Date lastBuildDate)
Sets the channel last build date.

パラメータ:
lastBuildDate - the channel last build date to set, null if none.

getDocs

public java.lang.String getDocs()
Returns the channel docs.

戻り値:
the channel docs, null if none.

setDocs

public void setDocs(java.lang.String docs)
Sets the channel docs.

パラメータ:
docs - the channel docs to set, null if none.

getManagingEditor

public java.lang.String getManagingEditor()
Returns the channel managing editor.

戻り値:
the channel managing editor, null if none.

setManagingEditor

public void setManagingEditor(java.lang.String managingEditor)
Sets the channel managing editor.

パラメータ:
managingEditor - the channel managing editor to set, null if none.

getWebMaster

public java.lang.String getWebMaster()
Returns the channel web master.

戻り値:
the channel web master, null if none.

setWebMaster

public void setWebMaster(java.lang.String webMaster)
Sets the channel web master.

パラメータ:
webMaster - the channel web master to set, null if none.

getSkipHours

public java.util.List getSkipHours()
Returns the channel skip hours.

戻り値:
a list of Integer elements with the channel skip hours, an empty list if none.

setSkipHours

public void setSkipHours(java.util.List skipHours)
Sets the channel skip hours.

パラメータ:
skipHours - the list of Integer elements with the channel skip hours to set, an empty list or null if none.

getSkipDays

public java.util.List getSkipDays()
Returns the channel skip days.

戻り値:
a list of Day elements with the channel skip days, an empty list if none.

setSkipDays

public void setSkipDays(java.util.List skipDays)
Sets the channel skip days.

パラメータ:
skipDays - the list of Day elements with the channel skip days to set, an empty list or null if none.

getCloud

public Cloud getCloud()
Returns the channel cloud.

戻り値:
the channel cloud, null if none.

setCloud

public void setCloud(Cloud cloud)
Sets the channel cloud.

パラメータ:
cloud - the channel cloud to set, null if none.

getCategories

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

戻り値:
a list of Category elements with the channel categories, an empty list if none.

setCategories

public void setCategories(java.util.List categories)
Sets the channel categories.

パラメータ:
categories - the list of Category elements with the channel categories to set, an empty list or null if none.

getGenerator

public java.lang.String getGenerator()
Returns the channel generator.

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

setGenerator

public void setGenerator(java.lang.String generator)
Sets the channel generator.

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

getTtl

public int getTtl()
Returns the channel time to live.

戻り値:
the channel time to live, null if none.

setTtl

public void setTtl(int ttl)
Sets the channel time to live.

パラメータ:
ttl - the channel time to live to set, null if none.

getModules

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

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

setModules

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

定義:
インタフェース Extendable 内の setModules
オーバーライド:
クラス WireFeed 内の setModules
パラメータ:
modules - the list of ModuleImpl elements with the channel modules 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.