net.rim.device.api.io.parser.rss.model
Class RSSChannel

java.lang.Object
  extended by net.rim.device.api.io.parser.rss.model.RSSChannel

public class RSSChannel
extends Object

Model class for an RSS channel.

Since:
BlackBerry API 6.0.0

Constructor Summary
RSSChannel()
          Constructs a RSSChannel.
 
Method Summary
 String getDescription()
          Returns the description of this RSSChannel.
 String getLink()
          Gets the hyperlink for this RSSChannel.
 Date getPubDate()
          Returns the last publication date for this RSSChannel.
 RSSChannelImage getRSSChannelImage()
          Returns the image associated with this RSSChannel.
 Vector getRSSItems()
          Returns the list of items that this RSSChannel contains.
 String getTitle()
          Returns the title of this RSSChannel.
 void setDescription(String description)
          Sets the title of this RSSChannel.
 void setLink(String link)
          Sets the hyperlink for this RSSChannel.
 void setPubDate(Date pubDate)
          Sets the publication date for this RSSChannel.
 void setRSSChannelImage(RSSChannelImage rssChannelImage)
          Sets the image associated with this RSSChannel.
 void setRSSItems(Vector rssItems)
          Sets the list of items that this RSSChannel contains.
 void setTitle(String title)
          Sets the title of this RSSChannel.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

RSSChannel

public RSSChannel()
Constructs a RSSChannel.

Since:
BlackBerry API 6.0.0


Method Detail

getTitle

public String getTitle()
Returns the title of this RSSChannel.

Returns:
Title of this RSSChannel.
Since:
BlackBerry API 6.0.0

setTitle

public void setTitle(String title)
Sets the title of this RSSChannel.

Parameters:
title - Title of this RSSChannel.
Since:
BlackBerry API 6.0.0

getDescription

public String getDescription()
Returns the description of this RSSChannel.

Returns:
Description of this RSSChannel.
Since:
BlackBerry API 6.0.0

setDescription

public void setDescription(String description)
Sets the title of this RSSChannel.

Parameters:
description - Description of this RSSChannel.
Since:
BlackBerry API 6.0.0

getRSSChannelImage

public RSSChannelImage getRSSChannelImage()
Returns the image associated with this RSSChannel.

Returns:
Image for this RSSChannel.
Since:
BlackBerry API 6.0.0

setRSSChannelImage

public void setRSSChannelImage(RSSChannelImage rssChannelImage)
Sets the image associated with this RSSChannel.

Parameters:
rssChannelImage - Image for this RSSChannel.
Since:
BlackBerry API 6.0.0

getLink

public String getLink()
Gets the hyperlink for this RSSChannel.

Returns:
Hyperlink for this RSSChannel.
Since:
BlackBerry API 6.0.0

setLink

public void setLink(String link)
Sets the hyperlink for this RSSChannel.

Parameters:
link - Hyperlink for this RSSChannel.
Since:
BlackBerry API 6.0.0

getPubDate

public Date getPubDate()
Returns the last publication date for this RSSChannel.

Returns:
Last publication date for the content of the feed.
Since:
BlackBerry API 6.0.0

setPubDate

public void setPubDate(Date pubDate)
Sets the publication date for this RSSChannel.

Parameters:
pubDate - Last publication date for the content of the feed.
Since:
BlackBerry API 6.0.0

getRSSItems

public Vector getRSSItems()
Returns the list of items that this RSSChannel contains.

Returns:
List of items.
Since:
BlackBerry API 6.0.0

setRSSItems

public void setRSSItems(Vector rssItems)
Sets the list of items that this RSSChannel contains.

Parameters:
rssItems - List of items.
Since:
BlackBerry API 6.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.