The Encog Project

org.encog.bot.rss
Class RSSItem

java.lang.Object
  extended by org.encog.bot.rss.RSSItem

public class RSSItem
extends java.lang.Object

RSSItem: This is the class that holds individual RSS items, or stories, for the RSS class.


Constructor Summary
RSSItem()
           
 
Method Summary
 java.util.Date getDate()
          Get the publication date.
 java.lang.String getDescription()
          Get the description.
 java.lang.String getLink()
          Get the hyperlink.
 java.lang.String getTitle()
          Get the item title.
 void load(org.w3c.dom.Node node)
          Load an item from the specified node.
 void setDate(java.util.Date date)
          Set the publication date.
 void setDescription(java.lang.String description)
          Get the description.
 void setLink(java.lang.String link)
          Set the hyperlink.
 void setTitle(java.lang.String title)
          Set the item title.
 java.lang.String toString()
          Convert the object to a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RSSItem

public RSSItem()
Method Detail

getDate

public java.util.Date getDate()
Get the publication date.

Returns:
The publication date.

getDescription

public java.lang.String getDescription()
Get the description.

Returns:
The description.

getLink

public java.lang.String getLink()
Get the hyperlink.

Returns:
The hyperlink.

getTitle

public java.lang.String getTitle()
Get the item title.

Returns:
The item title.

load

public void load(org.w3c.dom.Node node)
Load an item from the specified node.

Parameters:
node - The Node to load the item from.

setDate

public void setDate(java.util.Date date)
Set the publication date.

Parameters:
date - The new publication date.

setDescription

public void setDescription(java.lang.String description)
Get the description.

Parameters:
description - The new description.

setLink

public void setLink(java.lang.String link)
Set the hyperlink.

Parameters:
link - The new hyperlink.

setTitle

public void setTitle(java.lang.String title)
Set the item title.

Parameters:
title - The new item title.

toString

public java.lang.String toString()
Convert the object to a String.

Overrides:
toString in class java.lang.Object
Returns:
The object as a String.

The Encog Project