com.jalios.util
Class RssItem

java.lang.Object
  extended by com.jalios.util.RssItem

public class RssItem
extends Object

This class implements a RSS Channel's item parser/container.

Version:
$Revision: 21121 $
Author:
Olivier Dedieu

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.
 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

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

RssItem

public RssItem()
Creates a new RssItem.


RssItem

public RssItem(org.jdom.Element element)
Create a new RssItem and fill this object with the data containing the DOM element

Parameters:
element - the DOM element to parse
Method Detail

getTitle

public String getTitle()
Get the value of title.

Returns:
Value of title.

setTitle

public void setTitle(String v)
Set the value of title.

Parameters:
v - Value to assign to title.

getLink

public String getLink()
Get the value of link.

Returns:
Value of link.

setLink

public void setLink(String v)
Set the value of link.

Parameters:
v - Value to assign to link.

getDescription

public String getDescription()
Get the value of description.

Returns:
Value of description.

setDescription

public void setDescription(String v)
Set the value of description.

Parameters:
v - Value to assign to description.

getAuthor

public String getAuthor()
Returns:
Returns the author.

setAuthor

public void setAuthor(String author)
Parameters:
author - The author to set.

getCategory

public String getCategory()
Returns:
Returns the category.

setCategory

public void setCategory(String category)
Parameters:
category - The category to set.

getComments

public String getComments()
Returns:
Returns the comments.

setComments

public void setComments(String comments)
Parameters:
comments - The comments to set.

getEnclosureLength

public int getEnclosureLength()
Returns:
Returns the enclosureLength.

setEnclosureLength

public void setEnclosureLength(int enclosureLength)
Parameters:
enclosureLength - The enclosureLength to set.

getEnclosureType

public String getEnclosureType()
Returns:
Returns the enclosureType.

setEnclosureType

public void setEnclosureType(String enclosureType)
Parameters:
enclosureType - The enclosureType to set.

getEnclosureURL

public String getEnclosureURL()
Returns:
Returns the enclosureURL.

setEnclosureURL

public void setEnclosureURL(String enclosureURL)
Parameters:
enclosureURL - The enclosureURL to set.

getGuid

public String getGuid()
Returns:
Returns the guid.

setGuid

public void setGuid(String guid)
Parameters:
guid - The guid to set.

getPubDate

public String getPubDate()
Returns:
Returns the pubDate.

setPubDate

public void setPubDate(String pubDate)
Parameters:
pubDate - The pubDate to set.

getSource

public String getSource()
Returns:
Returns the source.

setSource

public void setSource(String source)
Parameters:
source - The source to set.


Copyright © 2001-2007 Jalios SA. All Rights Reserved.