|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.util.RssItem
public class RssItem
This class implements a RSS Channel's item parser/container.
Field Summary | |
---|---|
static 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 | |
---|---|
String |
getAuthor()
|
List<String> |
getCategories()
|
String |
getCategory()
Deprecated. |
String |
getComments()
|
String |
getDescription()
Get the value of description. |
int |
getEnclosureLength()
This method is deprecated. |
List<Enclosure> |
getEnclosures()
|
String |
getEnclosureType()
Deprecated. |
String |
getEnclosureURL()
Deprecated. |
String |
getGuid()
|
String |
getLink()
Get the value of link. |
Date |
getParsedPubDate()
Deprecated. |
String |
getPubDate()
Deprecated. |
Date |
getPublicationDate()
|
String |
getSource()
|
String |
getTitle()
Get the value of title. |
void |
setAuthor(String author)
|
void |
setCategories(List<String> categories)
|
void |
setCategory(String category)
Deprecated. |
void |
setComments(String comments)
|
void |
setDescription(String v)
Set the value of description. |
void |
setEnclosureLength(int enclosureLength)
Deprecated. |
void |
setEnclosures(List<Enclosure> enclosures)
|
void |
setEnclosureType(String enclosureType)
Deprecated. |
void |
setEnclosureURL(String enclosureURL)
Deprecated. |
void |
setGuid(String guid)
|
void |
setLink(String v)
Set the value of link. |
void |
setPubDate(String v)
Deprecated. |
void |
setPublicationDate(Date publicationDate)
|
void |
setSource(String source)
|
void |
setTitle(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 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 parseMethod Detail |
---|
public String getTitle()
public void setTitle(String v)
v
- Value to assign to title.public String getLink()
public void setLink(String v)
v
- Value to assign to link.public String getDescription()
public void setDescription(String v)
v
- Value to assign to description.public String getAuthor()
public void setAuthor(String author)
author
- The author to set.@Deprecated public String getCategory()
@Deprecated public void setCategory(String category)
category
- The category to set.public List<String> getCategories()
public void setCategories(List<String> categories)
categories
- the categories to setpublic String getComments()
public void setComments(String comments)
comments
- The comments to set.public List<Enclosure> getEnclosures()
public void setEnclosures(List<Enclosure> enclosures)
enclosures
- the enclosures to setpublic int getEnclosureLength()
@Deprecated public void setEnclosureLength(int enclosureLength)
enclosureLength
- The enclosureLength to set.@Deprecated public String getEnclosureType()
@Deprecated public void setEnclosureType(String enclosureType)
enclosureType
- The enclosureType to set.@Deprecated public String getEnclosureURL()
@Deprecated public void setEnclosureURL(String enclosureURL)
enclosureURL
- The enclosureURL to set.public String getGuid()
public void setGuid(String guid)
guid
- The guid to set.@Deprecated public Date getParsedPubDate()
public String getSource()
public void setSource(String source)
source
- The source to set.public Date getPublicationDate()
public void setPublicationDate(Date publicationDate)
publicationDate
- the publicationDate to set@Deprecated public String getPubDate()
@Deprecated public void setPubDate(String v)
v
- Value to assign to pubDate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |