org.encog.bot.rss
Class RSSItem
- java.lang.Object
-
- org.encog.bot.rss.RSSItem
-
public class RSSItem extends java.lang.ObjectThis is the class that holds individual RSS items, or stories, for the RSS class.
-
-
Constructor Summary
Constructors Constructor and Description RSSItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.DategetDate()Get the publication date.java.lang.StringgetDescription()Get the description.java.lang.StringgetLink()Get the hyperlink.java.lang.StringgetTitle()Get the item title.voidload(org.w3c.dom.Node node)Load an item from the specified node.voidsetDate(java.util.Date theDate)Set the publication date.voidsetDescription(java.lang.String theDescription)Get the description.voidsetLink(java.lang.String theLink)Set the hyperlink.voidsetTitle(java.lang.String theTitle)Set the item title.java.lang.StringtoString()
-
-
-
Method Detail
-
getDate
public final java.util.Date getDate()
Get the publication date.- Returns:
- The publication date.
-
getDescription
public final java.lang.String getDescription()
Get the description.- Returns:
- The description.
-
getLink
public final java.lang.String getLink()
Get the hyperlink.- Returns:
- The hyperlink.
-
getTitle
public final java.lang.String getTitle()
Get the item title.- Returns:
- The item title.
-
load
public final 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 final void setDate(java.util.Date theDate)
Set the publication date.- Parameters:
theDate- The new publication date.
-
setDescription
public final void setDescription(java.lang.String theDescription)
Get the description.- Parameters:
theDescription- The new description.
-
setLink
public final void setLink(java.lang.String theLink)
Set the hyperlink.- Parameters:
theLink- The new hyperlink.
-
setTitle
public final void setTitle(java.lang.String theTitle)
Set the item title.- Parameters:
theTitle- The new item title.
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG