org.switchboard
Class FeedItem

java.lang.Object
  extended by org.switchboard.browser.XMLFragment
      extended by org.switchboard.FeedItem

public class FeedItem
extends XMLFragment


Constructor Summary
FeedItem(String xml, Feed feed)
           
 
Method Summary
 String getAuthor()
          Gets the author of the feed item if provided.
 String getCategory()
          Gets the category of this feed item if provided.
 String getContent()
          Gets the content of the feed item if provided.
 String getDescription()
          Gets the description for this feed item if provided.
 Feed getFeed()
          Gets the Feed item from which the item came if provided.
 String getGuid()
          Gets the GUID for this feed item if provided.
 String getLink()
          Gets the link for this feed item if provided.
 String getPubDate()
          Gets the publication date of the feed item if provided.
 String getTitle()
          Gets the title of the feed item if provided.
 
Methods inherited from class org.switchboard.browser.XMLFragment
main, query, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeedItem

public FeedItem(String xml,
                Feed feed)
Method Detail

getCategory

public String getCategory()
Gets the category of this feed item if provided. Empty string otherwise.

Returns:
The category of this feed item if provided. Empty string otherwise.

getDescription

public String getDescription()
Gets the description for this feed item if provided. Empty string otherwise.

Returns:
The description for this feed item if provided. Empty string otherwise.

getGuid

public String getGuid()
Gets the GUID for this feed item if provided. Empty string otherwise.

Returns:
The GUID for this feed item if provided. Empty string otherwise.

getLink

public String getLink()
Gets the link for this feed item if provided. Empty string otherwise.

Returns:
The link for this feed item.

getPubDate

public String getPubDate()
Gets the publication date of the feed item if provided. Empty string otherwise.

Returns:
The publication date of the feed item.

getTitle

public String getTitle()
Gets the title of the feed item if provided. Empty string otherwise.

Returns:
The title of the feed item.

getFeed

public Feed getFeed()
Gets the Feed item from which the item came if provided. Empty string otherwise.

Returns:
The Feed item from which the item came.

getContent

public String getContent()
Gets the content of the feed item if provided. Empty string otherwise.

Returns:
The content of the feed item.

getAuthor

public String getAuthor()
Gets the author of the feed item if provided. Empty string otherwise.

Returns:
The author of the feed item.