org.apache.nutch.parse.rss.structs
Class RSSItem

java.lang.Object
  extended by org.apache.nutch.parse.rss.structs.RSSItem

public class RSSItem
extends Object

Data class for holding RSS Items to send to Nutch's indexer

Version:
1.0
Author:
mattmann

Constructor Summary
RSSItem(String title, String link, String description, String permalink)
           
 
Method Summary
 String getDescription()
           Gets the Description of this RSS Item
 String getLink()
           Gets the link that this RSS Item points to.
 String getPermalink()
           If this RSS Item points to a permanent link, then this method returns it.
 String getTitle()
           Get the title for this RSS Item
 void setDescription(String description)
           Sets the description of this RSS Item.
 void setLink(String link)
           Sets the link that this RSS Item points to.
 void setPermalink(String permalink)
           Sets the permanent link that this RSS Item points to.
 void setTitle(String title)
           Sets the title for this RSS Item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSSItem

public RSSItem(String title,
               String link,
               String description,
               String permalink)
Method Detail

getTitle

public String getTitle()

Get the title for this RSS Item

Returns:
The title of this RSS Item

getLink

public String getLink()

Gets the link that this RSS Item points to.

Returns:
The link that this RSS Items points to.

getDescription

public String getDescription()

Gets the Description of this RSS Item

Returns:
The description of this RSS Item.

getPermalink

public String getPermalink()

If this RSS Item points to a permanent link, then this method returns it.

Returns:
The permanent link that this RSS Items points to.

setTitle

public void setTitle(String title)

Sets the title for this RSS Item.

Parameters:
title - The title of this RSS Item

setLink

public void setLink(String link)

Sets the link that this RSS Item points to.

Parameters:
link - The link that this RSS Item points to.

setDescription

public void setDescription(String description)

Sets the description of this RSS Item.

Parameters:
description - The description of this RSS Item.

setPermalink

public void setPermalink(String permalink)

Sets the permanent link that this RSS Item points to.

Parameters:
permalink - The permanent link that this RSS Item points to


Copyright © 2006 The Apache Software Foundation