|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.util.RssItem
public class RssItem
This class implements a RSS Channel's item parser/container.
| Field Summary | |
|---|---|
static java.lang.String |
REVISION
|
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String REVISION
| Constructor Detail |
|---|
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 parse| Method Detail |
|---|
public 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||