|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ecf.provider.rss.channel.RssItem
public class RssItem
Represents an item in a RSS feed.
Constructor Summary | |
---|---|
RssItem(RssFeed feed,
java.lang.String title,
java.lang.String description,
java.lang.String link)
Constructs an item with the specified owner feed, title, link and description. |
|
RssItem(java.lang.String title,
java.lang.String description,
java.lang.String link)
Constructs an item with the specified title, link and description. |
Method Summary | |
---|---|
void |
addExtension(org.w3c.dom.Element newElement)
Adds a new extension element. |
int |
compareTo(RssItem anotherItem)
Compares two items. |
RssItem |
delete()
Deletes this item. |
boolean |
equals(java.lang.Object obj)
|
java.util.List |
getConflicts()
Gets the conflict list within this item. |
java.lang.String |
getDescription()
Gets the item synopsis. |
java.util.List |
getExtensions()
Gets the rss extensions. |
RssFeed |
getFeed()
Gets the owner feed of the item. |
SseHistory |
getHistory()
Gets the history element. |
java.net.URL |
getLink()
Gets the URL of the item. |
java.util.Date |
getPubDate()
Gets the Date indicates when the item was published. |
java.lang.String |
getSubject()
Gets the subject of the item. |
SseSync |
getSync()
Gets the sync element. |
java.lang.String |
getTitle()
Gets the title of the item. |
java.lang.Integer |
getVersion()
Gets the item version. |
RssItem |
processConflict(RssItem loserItem)
Performs any necessary conflict processing. |
void |
setDescription(java.lang.String description)
Sets the item synopsis. |
void |
setExtensions(java.util.List extensions)
Sets the rss extensions. |
void |
setFeed(RssFeed feed)
Sets the owner feed of the item. |
void |
setLink(java.lang.String link)
Sets the URL of the item. |
void |
setLink(java.net.URL link)
Sets the URL of the item. |
void |
setPubDate(java.util.Date pubDate)
Sets the Date indicates when the item was published. |
void |
setPubDate(java.lang.String pubDate)
Sets the Date indicates when the item was published. |
void |
setSubject(java.lang.String subject)
Sets the subject of the item. |
void |
setSync(SseSync sync)
Sets the sync element. |
void |
setTitle(java.lang.String title)
Sets the title of the item. |
RssItem |
update(RssItem newItem)
Updates this item with the specified one. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RssItem(java.lang.String title, java.lang.String description, java.lang.String link)
title
- - the title to usedescription
- - the descriptionlink
- - the linkpublic RssItem(RssFeed feed, java.lang.String title, java.lang.String description, java.lang.String link)
feed
- - the owner feed objecttitle
- - the title to usedescription
- - the descriptionlink
- - the linkMethod Detail |
---|
public java.lang.String getDescription()
public java.net.URL getLink()
public java.lang.String getTitle()
public RssFeed getFeed()
public java.lang.String getSubject()
public java.util.Date getPubDate()
public SseSync getSync()
public void setDescription(java.lang.String description)
description
- - the String containing the description representation.public void setTitle(java.lang.String title)
title
- - the String containing the title representation.public void setLink(java.net.URL link)
link
- - the URL object containing the link.public void setLink(java.lang.String link)
link
- - the String containing the link representation.public void setFeed(RssFeed feed)
feed
- - the RssFeed object.public void setSubject(java.lang.String subject)
subject
- - the String containing the subject representation.public void setPubDate(java.util.Date pubDate)
pubDate
- - the Date.public void setPubDate(java.lang.String pubDate)
pubDate
- - the String containing the publish Date representation.public void setSync(SseSync sync)
sync
- - the SseSync object.public int compareTo(RssItem anotherItem)
anotherItem
- - the RssItem to be compared.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public RssItem processConflict(RssItem loserItem)
loserItem
- - the RssItem to be compared.
public RssItem update(RssItem newItem)
newItem
- - the RssItem for update.
public RssItem delete()
public java.lang.Integer getVersion()
public SseHistory getHistory()
public java.util.List getConflicts()
public void addExtension(org.w3c.dom.Element newElement)
newElement
- The element to add.public java.util.List getExtensions()
public void setExtensions(java.util.List extensions)
extensions
- The rss extensions to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |