Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.syndication
Class FeedItem

java.lang.Object
  extended by com.sun.syndication.feed.synd.SyndEntryImpl
      extended by org.nuxeo.ecm.platform.syndication.FeedItem
All Implemented Interfaces:
com.sun.syndication.feed.CopyFrom, com.sun.syndication.feed.module.Extendable, com.sun.syndication.feed.synd.SyndEntry, Serializable, Cloneable, Comparable<FeedItem>

public class FeedItem
extends com.sun.syndication.feed.synd.SyndEntryImpl
implements Comparable<FeedItem>

Author:
Brice Chaffangeon, Florent Guillaume
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.syndication.feed.synd.SyndEntryImpl
CONVENIENCE_PROPERTIES
 
Constructor Summary
FeedItem()
           
 
Method Summary
 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)
           
 
Methods inherited from class com.sun.syndication.feed.synd.SyndEntryImpl
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
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeedItem

public FeedItem()
Method Detail

setDescription

public void setDescription(String description)
Set the description.

This overloads SyndEntryImpl.setDescription(com.sun.syndication.feed.synd.SyndContent) in order to avoid a NPE when description is null.


setAuthor

public void setAuthor(String author)
Specified by:
setAuthor in interface com.sun.syndication.feed.synd.SyndEntry
Overrides:
setAuthor in class com.sun.syndication.feed.synd.SyndEntryImpl

setContributors

public void setContributors(List contributors)
Specified by:
setContributors in interface com.sun.syndication.feed.synd.SyndEntry
Overrides:
setContributors in class com.sun.syndication.feed.synd.SyndEntryImpl

setTitle

public void setTitle(String title)
Specified by:
setTitle in interface com.sun.syndication.feed.synd.SyndEntry
Overrides:
setTitle in class com.sun.syndication.feed.synd.SyndEntryImpl

setTitle

@Deprecated
public void setTitle(String title,
                                String type)
Deprecated. Unused


setLink

public void setLink(String link)
Specified by:
setLink in interface com.sun.syndication.feed.synd.SyndEntry
Overrides:
setLink in class com.sun.syndication.feed.synd.SyndEntryImpl

setPublishedDate

public void setPublishedDate(Date publishedDate)
Specified by:
setPublishedDate in interface com.sun.syndication.feed.synd.SyndEntry
Overrides:
setPublishedDate in class com.sun.syndication.feed.synd.SyndEntryImpl

setUpdatedDate

public void setUpdatedDate(Date updatedDate)
Specified by:
setUpdatedDate in interface com.sun.syndication.feed.synd.SyndEntry
Overrides:
setUpdatedDate in class com.sun.syndication.feed.synd.SyndEntryImpl

compareTo

public int compareTo(FeedItem fi)
Specified by:
compareTo in interface Comparable<FeedItem>

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.