public class RssItem
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | REVISION | 
| Constructor and Description | 
|---|
| RssItem()Creates a new RssItem. | 
| RssItem(org.jdom.Element element)Create a new RssItem and fill this object with the data containing the DOM
 element | 
| RssItem(com.sun.syndication.feed.synd.SyndEntry entry)Create a new RssItem and fill this object with the data containing the
 SyndEntry | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getAuthor() | 
| java.util.List<java.lang.String> | getCategories() | 
| java.lang.String | getCategory()Deprecated. 
 use  getCategories()instead | 
| java.lang.String | getComments() | 
| java.lang.String | getDescription()Get the value of description. | 
| int | getEnclosureLength()This method is deprecated. | 
| java.util.List<Enclosure> | getEnclosures() | 
| java.lang.String | getEnclosureType()Deprecated. 
 the type must be retrieved from  getEnclosures()list instead | 
| java.lang.String | getEnclosureURL()Deprecated. 
 the URL must be retrieved from  getEnclosures()list instead | 
| java.lang.String | getGuid() | 
| java.lang.String | getLink()Get the value of link. | 
| java.util.Date | getParsedPubDate()Deprecated. 
 use  getPublicationDate()instead | 
| java.lang.String | getPubDate()Deprecated. 
 use  getPublicationDate()instead and reformat the date | 
| java.util.Date | getPublicationDate() | 
| java.lang.String | getSource() | 
| java.lang.String | getTitle()Get the value of title. | 
| void | setAuthor(java.lang.String author) | 
| void | setCategories(java.util.List<java.lang.String> categories) | 
| void | setCategory(java.lang.String category)Deprecated. 
 use  getCategories()instead | 
| void | setComments(java.lang.String comments) | 
| void | setDescription(java.lang.String v)Set the value of description. | 
| void | setEnclosureLength(int enclosureLength)Deprecated. 
 setEnclosures(List)must be used instead | 
| void | setEnclosures(java.util.List<Enclosure> enclosures) | 
| void | setEnclosureType(java.lang.String enclosureType)Deprecated. 
 setEnclosures(List)must be used instead | 
| void | setEnclosureURL(java.lang.String enclosureURL)Deprecated. 
 setEnclosures(List)must be used instead | 
| void | setGuid(java.lang.String guid) | 
| void | setLink(java.lang.String v)Set the value of link. | 
| void | setPubDate(java.lang.String v)Deprecated. 
 use  setPublicationDate(Date)instead | 
| void | setPublicationDate(java.util.Date publicationDate) | 
| void | setSource(java.lang.String source) | 
| void | setTitle(java.lang.String v)Set the value of title. | 
public static final java.lang.String REVISION
public RssItem()
public RssItem(com.sun.syndication.feed.synd.SyndEntry entry)
entry - the SyndEntry to parsepublic RssItem(org.jdom.Element element)
element - the DOM element to parsepublic java.lang.String getTitle()
public void setTitle(java.lang.String v)
v - Value to assign to title.public java.lang.String getLink()
public void setLink(java.lang.String v)
v - Value to assign to link.public java.lang.String getDescription()
public void setDescription(java.lang.String v)
v - Value to assign to description.public java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
author - The author to set.@Deprecated public java.lang.String getCategory()
getCategories() instead@Deprecated public void setCategory(java.lang.String category)
getCategories() insteadcategory - The category to set.public java.util.List<java.lang.String> getCategories()
public void setCategories(java.util.List<java.lang.String> categories)
categories - the categories to setpublic java.lang.String getComments()
public void setComments(java.lang.String comments)
comments - The comments to set.public java.util.List<Enclosure> getEnclosures()
public void setEnclosures(java.util.List<Enclosure> enclosures)
enclosures - the enclosures to setpublic int getEnclosureLength()
@Deprecated public void setEnclosureLength(int enclosureLength)
setEnclosures(List) must be used insteadenclosureLength - The enclosureLength to set.@Deprecated public java.lang.String getEnclosureType()
getEnclosures() list instead@Deprecated public void setEnclosureType(java.lang.String enclosureType)
setEnclosures(List) must be used insteadenclosureType - The enclosureType to set.@Deprecated public java.lang.String getEnclosureURL()
getEnclosures() list instead@Deprecated public void setEnclosureURL(java.lang.String enclosureURL)
setEnclosures(List) must be used insteadenclosureURL - The enclosureURL to set.public java.lang.String getGuid()
public void setGuid(java.lang.String guid)
guid - The guid to set.@Deprecated public java.util.Date getParsedPubDate()
getPublicationDate() insteadpublic java.lang.String getSource()
public void setSource(java.lang.String source)
source - The source to set.public java.util.Date getPublicationDate()
public void setPublicationDate(java.util.Date publicationDate)
publicationDate - the publicationDate to set@Deprecated public java.lang.String getPubDate()
getPublicationDate() instead and reformat the date@Deprecated public void setPubDate(java.lang.String v)
setPublicationDate(Date) insteadv - Value to assign to pubDate.Copyright © 2001-2019 Jalios SA. All Rights Reserved.