com.macromedia.rssu
Class Channel

java.lang.Object
  extended bycom.macromedia.rssu.RssType
      extended bycom.macromedia.rssu.Channel

public class Channel
extends RssType

This object represents a Channel in an RSS document. A channel is the top level entity that we are interested in. Each RSS document has exactly one channel.


Constructor Summary
Channel()
           
 
Method Summary
 void addItem(Item item)
          item is a list of Item objects.
 java.lang.String getAbout()
          Access the property "about" on this instance of Channel.
 Category getCategory()
          Access the property "category" on this instance of Channel.
 Cloud getCloud()
          Access the property "cloud" on this instance of Channel.
 java.lang.String getCopyright()
          Access the property "copyright" on this instance of Channel.
 java.lang.String getCreator()
          Access the property "creator" on this instance of Channel.
 java.lang.String getDescription()
          Access the property "description" on this instance of Channel.
 java.lang.String getDocs()
          Access the property "docs" on this instance of Channel.
 java.lang.String getGenerator()
          Access the property "generator" on this instance of Channel.
 Image getImage()
          Access the property "image" on this instance of Channel.
 java.util.ArrayList getItems()
           
 java.lang.String getLanguage()
          Access the property "language" on this instance of Channel.
 java.util.Date getLastBuildDate()
          Access the property "lastBuildDate" on this instance of Channel.
 java.lang.String getLink()
          Access the property "link" on this instance of Channel.
 java.lang.String getManagingEditor()
          Access the property "managingEditor" on this instance of Channel.
 java.util.Date getPubDate()
          Access the property "pubDate" on this instance of Channel.
 java.lang.String getSubject()
          Access the property "subject" on this instance of Channel.
 TextInput getTextInput()
          Access the property "textInput" on this instance of Channel.
 java.lang.String getTitle()
          Access the property "title" on this instance of Channel.
 int getTtl()
          Access the property "ttl" on this instance of Channel.
 java.lang.String getWebMaster()
          Access the property "webMaster" on this instance of Channel.
 void setAbout(java.lang.String about)
          Set the property "about" on this instance of Channel.
 void setCategory(Category category)
          Set the property "category" on this instance of Channel.
 void setCloud(Cloud cloud)
          Set the property "cloud" on this instance of Channel.
 void setCopyright(java.lang.String copyright)
          Set the property "copyright" on this instance of Channel.
 void setCreator(java.lang.String creator)
          Set the property "creator" on this instance of Channel.
 void setDescription(java.lang.String description)
          Set the property "description" on this instance of Channel.
 void setDocs(java.lang.String docs)
          Set the property "docs" on this instance of Channel.
 void setGenerator(java.lang.String generator)
          Set the property "generator" on this instance of Channel.
 void setImage(Image image)
          Set the property "image" on this instance of Channel.
 void setLanguage(java.lang.String language)
          Set the property "language" on this instance of Channel.
 void setLastBuildDate(java.util.Date lastBuildDate)
          Set the property "lastBuildDate" on this instance of Channel.
 void setLink(java.lang.String link)
          Set the property "link" on this instance of Channel.
 void setManagingEditor(java.lang.String managingEditor)
          Set the property "managingEditor" on this instance of Channel.
 void setPubDate(java.util.Date pubDate)
          Set the property "pubDate" on this instance of Channel.
 void setSubject(java.lang.String subject)
          Set the property "subject" on this instance of Channel.
 void setTextInput(TextInput textInput)
          Set the property "textInput" on this instance of Channel.
 void setTitle(java.lang.String title)
          Set the property "title" on this instance of Channel.
 void setTtl(int ttl)
          Set the property "ttl" on this instance of Channel.
 void setWebMaster(java.lang.String webMaster)
          Set the property "webMaster" on this instance of Channel.
 
Methods inherited from class com.macromedia.rssu.RssType
getProperty, setProperty, setProperty, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Channel

public Channel()
Method Detail

setTitle

public void setTitle(java.lang.String title)
Set the property "title" on this instance of Channel.

Parameters:
title - is the value of title to use

getTitle

public java.lang.String getTitle()
Access the property "title" on this instance of Channel.

Returns:
our current value of title

setLink

public void setLink(java.lang.String link)
Set the property "link" on this instance of Channel.

Parameters:
link - is the value of link to use

getLink

public java.lang.String getLink()
Access the property "link" on this instance of Channel.

Returns:
our current value of link

setDescription

public void setDescription(java.lang.String description)
Set the property "description" on this instance of Channel.

Parameters:
description - is the value of description to use

getDescription

public java.lang.String getDescription()
Access the property "description" on this instance of Channel.

Returns:
our current value of description

setLanguage

public void setLanguage(java.lang.String language)
Set the property "language" on this instance of Channel.

Parameters:
language - is the value of language to use

getLanguage

public java.lang.String getLanguage()
Access the property "language" on this instance of Channel.

Returns:
our current value of language

setCopyright

public void setCopyright(java.lang.String copyright)
Set the property "copyright" on this instance of Channel.

Parameters:
copyright - is the value of copyright to use

getCopyright

public java.lang.String getCopyright()
Access the property "copyright" on this instance of Channel.

Returns:
our current value of copyright

setManagingEditor

public void setManagingEditor(java.lang.String managingEditor)
Set the property "managingEditor" on this instance of Channel.

Parameters:
managingEditor - is the value of managingEditor to use

getManagingEditor

public java.lang.String getManagingEditor()
Access the property "managingEditor" on this instance of Channel.

Returns:
our current value of managingEditor

setWebMaster

public void setWebMaster(java.lang.String webMaster)
Set the property "webMaster" on this instance of Channel.

Parameters:
webMaster - is the value of webMaster to use

getWebMaster

public java.lang.String getWebMaster()
Access the property "webMaster" on this instance of Channel.

Returns:
our current value of webMaster

setCreator

public void setCreator(java.lang.String creator)
Set the property "creator" on this instance of Channel.

Parameters:
creator - is the value of creator to use

getCreator

public java.lang.String getCreator()
Access the property "creator" on this instance of Channel.

Returns:
our current value of creator

setSubject

public void setSubject(java.lang.String subject)
Set the property "subject" on this instance of Channel.

Parameters:
subject - is the value of subject to use

getSubject

public java.lang.String getSubject()
Access the property "subject" on this instance of Channel.

Returns:
our current value of subject

setPubDate

public void setPubDate(java.util.Date pubDate)
Set the property "pubDate" on this instance of Channel.

Parameters:
pubDate - is the value of pubDate to use

getPubDate

public java.util.Date getPubDate()
Access the property "pubDate" on this instance of Channel.

Returns:
our current value of pubDate

setLastBuildDate

public void setLastBuildDate(java.util.Date lastBuildDate)
Set the property "lastBuildDate" on this instance of Channel.

Parameters:
lastBuildDate - is the value of lastBuildDate to use

getLastBuildDate

public java.util.Date getLastBuildDate()
Access the property "lastBuildDate" on this instance of Channel.

Returns:
our current value of lastBuildDate

setGenerator

public void setGenerator(java.lang.String generator)
Set the property "generator" on this instance of Channel.

Parameters:
generator - is the value of generator to use

getGenerator

public java.lang.String getGenerator()
Access the property "generator" on this instance of Channel.

Returns:
our current value of generator

setDocs

public void setDocs(java.lang.String docs)
Set the property "docs" on this instance of Channel.

Parameters:
docs - is the value of docs to use

getDocs

public java.lang.String getDocs()
Access the property "docs" on this instance of Channel.

Returns:
our current value of docs

setTtl

public void setTtl(int ttl)
Set the property "ttl" on this instance of Channel.

Parameters:
ttl - is the value of ttl to use

getTtl

public int getTtl()
Access the property "ttl" on this instance of Channel.

Returns:
our current value of ttl

setImage

public void setImage(Image image)
Set the property "image" on this instance of Channel.

Parameters:
image - is the value of image to use

getImage

public Image getImage()
Access the property "image" on this instance of Channel.

Returns:
our current value of image

setTextInput

public void setTextInput(TextInput textInput)
Set the property "textInput" on this instance of Channel.

Parameters:
textInput - is the value of textInput to use

getTextInput

public TextInput getTextInput()
Access the property "textInput" on this instance of Channel.

Returns:
our current value of textInput

setCloud

public void setCloud(Cloud cloud)
Set the property "cloud" on this instance of Channel.

Parameters:
cloud - is the value of cloud to use

getCloud

public Cloud getCloud()
Access the property "cloud" on this instance of Channel.

Returns:
our current value of cloud

setCategory

public void setCategory(Category category)
Set the property "category" on this instance of Channel.

Parameters:
category - is the value of category to use

getCategory

public Category getCategory()
Access the property "category" on this instance of Channel.

Returns:
our current value of category

setAbout

public void setAbout(java.lang.String about)
Set the property "about" on this instance of Channel.

Parameters:
about - is the value of about to use

getAbout

public java.lang.String getAbout()
Access the property "about" on this instance of Channel.

Returns:
our current value of about

addItem

public void addItem(Item item)
             throws RssException
item is a list of Item objects. The Channel can support having a list of these.

Throws:
RssException

getItems

public java.util.ArrayList getItems()
                             throws RssException
Throws:
RssException