org.encog.bot.rss
Class RSSItem

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

public class RSSItem
extends Object

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


Constructor Summary
RSSItem()
           
 
Method Summary
 Date getDate()
          Get the publication date.
 String getDescription()
          Get the description.
 String getLink()
          Get the hyperlink.
 String getTitle()
          Get the item title.
 void load(Node node)
          Load an item from the specified node.
 void setDate(Date date)
          Set the publication date.
 void setDescription(String description)
          Get the description.
 void setLink(String link)
          Set the hyperlink.
 void setTitle(String title)
          Set the item title.
 String toString()
          
 
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 Date getDate()
Get the publication date.

Returns:
The publication date.

getDescription

public String getDescription()
Get the description.

Returns:
The description.

getLink

public String getLink()
Get the hyperlink.

Returns:
The hyperlink.

getTitle

public String getTitle()
Get the item title.

Returns:
The item title.

load

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

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

setDate

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

Parameters:
date - The new publication date.

setDescription

public void setDescription(String description)
Get the description.

Parameters:
description - The new description.

setLink

public void setLink(String link)
Set the hyperlink.

Parameters:
link - The new hyperlink.

setTitle

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

Parameters:
title - The new item title.

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.