| |
|
| java.lang.Object net.jforum.util.rss.RSSItem
RSSItem | public class RSSItem (Code) | | Represents a single RSS piece of content.
author: Rafael Steil version: $Id: RSSItem.java,v 1.9 2006/08/23 02:13:38 rafaelsteil Exp $ |
Constructor Summary | |
public | RSSItem() |
addCategory | public void addCategory(String category)(Code) | | Associated a new category to this item.
It is possible to assiciate multiple categories to
each item
Parameters: category - The category name |
getAuthor | public String getAuthor()(Code) | | Gets the item's author
|
getCategories | public List getCategories()(Code) | | Gets the categories for this item
|
getContentType | public String getContentType()(Code) | | Gets the document's description content-type
The content-type, generally represented by text/html or text/plain |
getDescription | public String getDescription()(Code) | | Gets the document's description
|
getLink | public String getLink()(Code) | | Getst the document's link
|
getPublishDate | public String getPublishDate()(Code) | | Gets the document publication date
|
getTitle | public String getTitle()(Code) | | Gets the document's title
|
setAuthor | public void setAuthor(String author)(Code) | | Sets the item's author
Parameters: author - |
setContentType | public void setContentType(String contentType)(Code) | | Sets the document's description content-type
Parameters: contentType - text/html or text/plain |
setDescription | public void setDescription(String description)(Code) | | Sets the document description
Parameters: description - |
setLink | public void setLink(String link)(Code) | | Sets the document's link
Parameters: link - |
setPublishDate | public void setPublishDate(String date)(Code) | | Sets the content publication date and time
Parameters: date - |
setTitle | public void setTitle(String title)(Code) | | Sets the document's the title
Parameters: title - |
|
|
|