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.
|
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.
|
java.lang.String |
getEnclosureURL()
Deprecated.
|
java.lang.String |
getGuid() |
java.lang.String |
getLink()
Get the value of link.
|
java.util.Date |
getParsedPubDate()
Deprecated.
|
java.lang.String |
getPubDate()
Deprecated.
|
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.
|
void |
setComments(java.lang.String comments) |
void |
setDescription(java.lang.String v)
Set the value of description.
|
void |
setEnclosureLength(int enclosureLength)
Deprecated.
|
void |
setEnclosures(java.util.List<Enclosure> enclosures) |
void |
setEnclosureType(java.lang.String enclosureType)
Deprecated.
|
void |
setEnclosureURL(java.lang.String enclosureURL)
Deprecated.
|
void |
setGuid(java.lang.String guid) |
void |
setLink(java.lang.String v)
Set the value of link.
|
void |
setPubDate(java.lang.String v)
Deprecated.
|
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()
@Deprecated public void setCategory(java.lang.String category)
category
- 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)
enclosureLength
- The enclosureLength to set.@Deprecated public java.lang.String getEnclosureType()
@Deprecated public void setEnclosureType(java.lang.String enclosureType)
enclosureType
- The enclosureType to set.@Deprecated public java.lang.String getEnclosureURL()
@Deprecated public void setEnclosureURL(java.lang.String enclosureURL)
enclosureURL
- 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()
public 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()
@Deprecated public void setPubDate(java.lang.String v)
v
- Value to assign to pubDate.Copyright © 2001-2010 Jalios SA. All Rights Reserved.