|
|||||||||
| Home >> All >> com >> sun >> syndication >> feed >> [ rss overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.sun.syndication.feed.rss
Class Item

java.lang.Objectcom.sun.syndication.feed.rss.Item
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class Item
- extends java.lang.Object
- implements java.lang.Cloneable, java.io.Serializable
- extends java.lang.Object
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.
| Field Summary | |
private java.lang.String |
_author
|
private java.util.List |
_categories
|
private java.lang.String |
_comments
|
private Description |
_description
|
private java.util.List |
_enclosures
|
private java.util.Date |
_expirationDate
|
private Guid |
_guid
|
private java.lang.String |
_link
|
private java.util.List |
_modules
|
private com.sun.syndication.feed.impl.ObjectBean |
_objBean
|
private java.util.Date |
_pubDate
|
private Source |
_source
|
private java.lang.String |
_title
|
private java.lang.String |
_uri
|
| Constructor Summary | |
Item()
Default constructor. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates a deep 'bean' clone of the object. |
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. |
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. |
com.sun.syndication.feed.module.Module |
getModule(java.lang.String uri)
Returns the module identified by a given URI. |
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. |
java.lang.String |
getUri()
Returns the item uri. |
int |
hashCode()
Returns a hashcode value for the object. |
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. |
void |
setUri(java.lang.String uri)
Sets the item uri. |
java.lang.String |
toString()
Returns the String representation for the object. |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
_objBean
private com.sun.syndication.feed.impl.ObjectBean _objBean
_title
private java.lang.String _title
_link
private java.lang.String _link
_uri
private java.lang.String _uri
_description
private Description _description
_source
private Source _source
_enclosures
private java.util.List _enclosures
_categories
private java.util.List _categories
_guid
private Guid _guid
_comments
private java.lang.String _comments
_author
private java.lang.String _author
_pubDate
private java.util.Date _pubDate
_expirationDate
private java.util.Date _expirationDate
_modules
private java.util.List _modules
| Constructor Detail |
Item
public Item()
- Default constructor. All properties are set to null.
| Method Detail |
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
- Creates a deep 'bean' clone of the object.
equals
public boolean equals(java.lang.Object other)
- Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
hashCode
public int hashCode()
- Returns a hashcode value for the object.
It follows the contract defined by the Object hashCode() method.
toString
public java.lang.String toString()
- Returns the String representation for the object.
getTitle
public java.lang.String getTitle()
- Returns the item title.
setTitle
public void setTitle(java.lang.String title)
- Sets the item title.
getLink
public java.lang.String getLink()
- Returns the item link.
setLink
public void setLink(java.lang.String link)
- Sets the item link.
getUri
public java.lang.String getUri()
- Returns the item uri.
setUri
public void setUri(java.lang.String uri)
- Sets the item uri.
getDescription
public Description getDescription()
- Returns the item description.
setDescription
public void setDescription(Description description)
- Sets the item description.
getSource
public Source getSource()
- Returns the item source.
setSource
public void setSource(Source source)
- Sets the item source.
getEnclosures
public java.util.List getEnclosures()
- Returns the item enclosures.
setEnclosures
public void setEnclosures(java.util.List enclosures)
- Sets the item enclosures.
getCategories
public java.util.List getCategories()
- Returns the item categories.
setCategories
public void setCategories(java.util.List categories)
- Sets the item categories.
getGuid
public Guid getGuid()
- Returns the item GUID.
setGuid
public void setGuid(Guid guid)
- Sets the item GUID.
getComments
public java.lang.String getComments()
- Returns the item comments.
setComments
public void setComments(java.lang.String comments)
- Sets the item comments.
getAuthor
public java.lang.String getAuthor()
- Returns the item author.
setAuthor
public void setAuthor(java.lang.String author)
- Sets the item author.
getModules
public java.util.List getModules()
- Returns the item modules.
setModules
public void setModules(java.util.List modules)
- Sets the item modules.
getModule
public com.sun.syndication.feed.module.Module getModule(java.lang.String uri)
- Returns the module identified by a given URI.
getPubDate
public java.util.Date getPubDate()
- Returns the item publishing date.
setPubDate
public void setPubDate(java.util.Date pubDate)
- Sets the item publishing date.
getExpirationDate
public java.util.Date getExpirationDate()
- Returns the item expiration date.
setExpirationDate
public void setExpirationDate(java.util.Date expirationDate)
- Sets the item expiration date.
|
|||||||||
| Home >> All >> com >> sun >> syndication >> feed >> [ rss overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.sun.syndication.feed.rss.Item