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

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

public class RSSItem
extends Object

Model class for an RSS item.

Since:
BlackBerry API 6.0.0

Constructor Summary
RSSItem()
          Constructs an RSSItem.
 
Method Summary
 String getContentEncoded()
          Returns the content encoded in this RSSItem.
 String getDescription()
          Returns the description of this RSSItem.
 Hashtable getMediaContents()
          Returns a Hashtable of media files that this RSSItem contains.
 Date getPubDate()
          Returns the last publication date of this RSSItem.
 String getTitle()
          Returns the title of this RSSItem.
 void setContentEncoded(String contentEncoded)
          Sets the content encoded in this RSSItem.
 void setDescription(String description)
          Sets the title of this RSSItem.
 void setMediaContents(Hashtable mediaContents)
          Sets a Hashtable of media files that this RSSItem contains.
 void setPubDate(Date pubDate)
          Sets the last publication date of this RSSItem.
 void setTitle(String title)
          Sets the title of this RSSItem.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Constructor Detail

RSSItem

public RSSItem()
Constructs an RSSItem.

Since:
BlackBerry API 6.0.0


Method Detail

getTitle

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

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

setTitle

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

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

getDescription

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

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

setDescription

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

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

getMediaContents

public Hashtable getMediaContents()
Returns a Hashtable of media files that this RSSItem contains.

Returns:
Hashtable of media files.
Since:
BlackBerry API 6.0.0

setMediaContents

public void setMediaContents(Hashtable mediaContents)
Sets a Hashtable of media files that this RSSItem contains.

Parameters:
mediaContents - Hashtable of media files
Since:
BlackBerry API 6.0.0

getPubDate

public Date getPubDate()
Returns the last publication date of this RSSItem.

Returns:
Last publication date of this RSSItem.
Since:
BlackBerry API 6.0.0

setPubDate

public void setPubDate(Date pubDate)
Sets the last publication date of this RSSItem.

Parameters:
pubDate - Last publication date of this RSSItem.
Since:
BlackBerry API 6.0.0

getContentEncoded

public String getContentEncoded()
Returns the content encoded in this RSSItem.

Returns:
Content encoded in this RSSItem.
Since:
BlackBerry API 6.0.0

setContentEncoded

public void setContentEncoded(String contentEncoded)
Sets the content encoded in this RSSItem.

Parameters:
contentEncoded - Content encoded of this RSSItem.
Since:
BlackBerry API 6.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal