| 
||||||||||
| 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 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  | 
|
| Method Summary | |
|---|---|
 String | 
getAuthor()
 | 
 String | 
getCategory()
 | 
 String | 
getComments()
 | 
 String | 
getDescription()
Get the value of description.  | 
 int | 
getEnclosureLength()
 | 
 String | 
getEnclosureType()
 | 
 String | 
getEnclosureURL()
 | 
 String | 
getGuid()
 | 
 String | 
getLink()
Get the value of link.  | 
 Date | 
getParsedPubDate()
Retrieve the pubDate as a Date object.  | 
 String | 
getPubDate()
 | 
 String | 
getSource()
 | 
 String | 
getTitle()
Get the value of title.  | 
 void | 
setAuthor(String author)
 | 
 void | 
setCategory(String category)
 | 
 void | 
setComments(String comments)
 | 
 void | 
setDescription(String v)
Set the value of description.  | 
 void | 
setEnclosureLength(int enclosureLength)
 | 
 void | 
setEnclosureType(String enclosureType)
 | 
 void | 
setEnclosureURL(String enclosureURL)
 | 
 void | 
setGuid(String guid)
 | 
 void | 
setLink(String v)
Set the value of link.  | 
 void | 
setPubDate(String pubDate)
 | 
 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(org.jdom.Element element)
element - the DOM element to parse| Method 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.public String getCategory()
public void setCategory(String category)
category - The category to set.public String getComments()
public void setComments(String comments)
comments - The comments to set.public int getEnclosureLength()
public void setEnclosureLength(int enclosureLength)
enclosureLength - The enclosureLength to set.public String getEnclosureType()
public void setEnclosureType(String enclosureType)
enclosureType - The enclosureType to set.public String getEnclosureURL()
public void setEnclosureURL(String enclosureURL)
enclosureURL - The enclosureURL to set.public String getGuid()
public void setGuid(String guid)
guid - The guid to set.public String getPubDate()
public void setPubDate(String pubDate)
pubDate - The pubDate to set.public Date getParsedPubDate()
public String getSource()
public void setSource(String source)
source - The source to set.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||