|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.common.ObjectBean
com.sun.syndication.feed.rss.Item
Bean for items of RSS feeds.
It handles all RSS versions without loosing information.
For RSS1.0 it supports Dublin Core and Syndication modules. Note that those modules currently support simple syntax format only.
Constructor Summary | |
Item()
Default constructor. |
Method Summary | |
java.lang.String |
getAuthor()
Returns the item author. |
java.util.List |
getCategories()
Returns the item categories. |
java.lang.String |
getComments()
Returns the item comments. |
Description |
getDescription()
Returns the item description. |
java.util.List |
getEnclosures()
Returns the item enclosures. |
java.util.Date |
getExpirationDate()
Returns the item expiration date. |
Guid |
getGuid()
Returns the item GUID. |
java.lang.String |
getLink()
Returns the item link. |
java.util.List |
getModules()
Returns the item modules. |
java.util.Date |
getPubDate()
Returns the item publishing date. |
Source |
getSource()
Returns the item source. |
java.lang.String |
getTitle()
Returns the item title. |
void |
setAuthor(java.lang.String author)
Sets the item author. |
void |
setCategories(java.util.List categories)
Sets the item categories. |
void |
setComments(java.lang.String comments)
Sets the item comments. |
void |
setDescription(Description description)
Sets the item description. |
void |
setEnclosures(java.util.List enclosures)
Sets the item enclosures. |
void |
setExpirationDate(java.util.Date expirationDate)
Sets the item expiration date. |
void |
setGuid(Guid guid)
Sets the item GUID. |
void |
setLink(java.lang.String link)
Sets the item link. |
void |
setModules(java.util.List modules)
Sets the item modules. |
void |
setPubDate(java.util.Date pubDate)
Sets the item publishing date. |
void |
setSource(Source source)
Sets the item source. |
void |
setTitle(java.lang.String title)
Sets the item title. |
Methods inherited from class com.sun.syndication.common.ObjectBean |
clone, equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Item()
Method Detail |
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the item title to set, null if none.public java.lang.String getLink()
public void setLink(java.lang.String link)
link
- the item link to set, null if none.public Description getDescription()
public void setDescription(Description description)
description
- the item description to set, null if none.public Source getSource()
public void setSource(Source source)
source
- the item source to set, null if none.public java.util.List getEnclosures()
public void setEnclosures(java.util.List enclosures)
enclosures
- the list of Enclosure elements with the item enclosures to set,
an empty list or null if none.public java.util.List getCategories()
public void setCategories(java.util.List categories)
categories
- the list of Categories elements with the item categories to set,
an empty list or null if none.public Guid getGuid()
public void setGuid(Guid guid)
guid
- the item GUID to set, null if none.public java.lang.String getComments()
public void setComments(java.lang.String comments)
comments
- the item comments to set, null if none.public java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
author
- the item author to set, null if none.public java.util.List getModules()
public void setModules(java.util.List modules)
modules
- the list of Module elements with the item modules to set,
an empty list or null if none.public java.util.Date getPubDate()
public void setPubDate(java.util.Date pubDate)
pubDate
- the item publishing date to set, null if none.public java.util.Date getExpirationDate()
public void setExpirationDate(java.util.Date expirationDate)
expirationDate
- the item expiration date to set, null if none.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |