public class FeedItem extends com.sun.syndication.feed.synd.SyndEntryImpl implements Comparable<FeedItem>
Constructor and Description |
---|
FeedItem() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FeedItem fi) |
void |
setAuthor(String author) |
void |
setContributors(List contributors) |
void |
setDescription(String description)
Set the description.
|
void |
setLink(String link) |
void |
setPublishedDate(Date publishedDate) |
void |
setTitle(String title) |
void |
setTitle(String title,
String type)
Deprecated.
Unused
|
void |
setUpdatedDate(Date updatedDate) |
clone, copyFrom, equals, getAuthor, getAuthors, getCategories, getContents, getContributors, getDescription, getEnclosures, getForeignMarkup, getInterface, getLink, getLinks, getModule, getModules, getPublishedDate, getSource, getTitle, getTitleEx, getUpdatedDate, getUri, getWireEntry, hashCode, setAuthors, setCategories, setContents, setDescription, setEnclosures, setForeignMarkup, setLinks, setModules, setSource, setTitleEx, setUri, setWireEntry, toString
public void setDescription(String description)
This overloads SyndEntryImpl.setDescription(com.sun.syndication.feed.synd.SyndContent)
in order to avoid a
NPE when description is null.
public void setAuthor(String author)
setAuthor
in interface com.sun.syndication.feed.synd.SyndEntry
setAuthor
in class com.sun.syndication.feed.synd.SyndEntryImpl
public void setContributors(List contributors)
setContributors
in interface com.sun.syndication.feed.synd.SyndEntry
setContributors
in class com.sun.syndication.feed.synd.SyndEntryImpl
public void setTitle(String title)
setTitle
in interface com.sun.syndication.feed.synd.SyndEntry
setTitle
in class com.sun.syndication.feed.synd.SyndEntryImpl
@Deprecated public void setTitle(String title, String type)
public void setLink(String link)
setLink
in interface com.sun.syndication.feed.synd.SyndEntry
setLink
in class com.sun.syndication.feed.synd.SyndEntryImpl
public void setPublishedDate(Date publishedDate)
setPublishedDate
in interface com.sun.syndication.feed.synd.SyndEntry
setPublishedDate
in class com.sun.syndication.feed.synd.SyndEntryImpl
public void setUpdatedDate(Date updatedDate)
setUpdatedDate
in interface com.sun.syndication.feed.synd.SyndEntry
setUpdatedDate
in class com.sun.syndication.feed.synd.SyndEntryImpl
public int compareTo(FeedItem fi)
compareTo
in interface Comparable<FeedItem>
Copyright © 2012 Nuxeo SA. All Rights Reserved.