SageTV Platform
V9.0

sage.media.rss
Class RSSItem

java.lang.Object
  extended by sage.media.rss.RSSObject
      extended by sage.media.rss.RSSItem
All Implemented Interfaces:
java.io.Serializable

public class RSSItem
extends RSSObject

RSSItems's definitions class.

This module, both source code and documentation, is in the Public Domain, and comes with NO WARRANTY.

Since:
RSSLIB4J 0.1
See Also:
Serialized Form

Field Summary
protected  java.lang.String contentEncoded
           
 
Fields inherited from class sage.media.rss.RSSObject
about, dc, dc_container, description, link, pdate, title
 
Constructor Summary
RSSItem()
           
 
Method Summary
 java.lang.String getAuthor()
          Get the item's author
 java.lang.String getCleanDescription()
           
 java.lang.String getComments()
          Get the comments url
 java.lang.String getContentEncoded()
           
 java.lang.String getDate()
          Get the date
 long getDuration()
           
 RSSEnclosure getEnclosure()
           
 RSSMediaGroup getMediaGroup()
           
 void setAuthor(java.lang.String author)
          Set the item's author
 void setComments(java.lang.String comment)
          Set the item's comment
 void setContentEncoded(java.lang.String contentEncoded)
           
 void setDate(java.lang.String d)
          Set the date of the item
 void setDuration(long x)
           
 void setEnclosure(RSSEnclosure enc)
           
 void setMediaGroup(RSSMediaGroup mg)
           
 java.lang.String toDebugString()
          Useful for debug
 
Methods inherited from class sage.media.rss.RSSObject
addDoublinCoreElement, getAboutAttribute, getDescription, getDoublinCoreElements, getLink, getPubDate, getRSSDoublinCoreModule, getTitle, setAboutAttribute, setDescription, setLink, setPubDate, setRSSDoublinCoreModule, setTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contentEncoded

protected java.lang.String contentEncoded
Constructor Detail

RSSItem

public RSSItem()
Method Detail

getDate

public java.lang.String getDate()
Get the date

Returns:
the date as string

setDate

public void setDate(java.lang.String d)
Set the date of the item

Parameters:
d - the date

setAuthor

public void setAuthor(java.lang.String author)
Set the item's author

Parameters:
author - Email address of the author of the item.

setComments

public void setComments(java.lang.String comment)
Set the item's comment

Parameters:
comment - URL of a page for comments relating to the item

getComments

public java.lang.String getComments()
Get the comments url

Returns:
comments url (optional)

getAuthor

public java.lang.String getAuthor()
Get the item's author

Returns:
author (optional)

toDebugString

public java.lang.String toDebugString()
Useful for debug

Specified by:
toDebugString in class RSSObject
Returns:
the info string

getContentEncoded

public java.lang.String getContentEncoded()
Returns:
Returns the contentEncoded.

getCleanDescription

public java.lang.String getCleanDescription()

setContentEncoded

public void setContentEncoded(java.lang.String contentEncoded)
Parameters:
contentEncoded - The contentEncoded to set.

setMediaGroup

public void setMediaGroup(RSSMediaGroup mg)

getMediaGroup

public RSSMediaGroup getMediaGroup()

setEnclosure

public void setEnclosure(RSSEnclosure enc)

getEnclosure

public RSSEnclosure getEnclosure()

setDuration

public void setDuration(long x)

getDuration

public long getDuration()

SageTV Platform
V9.0

SageTV is a trademark or registered trademark of Google, Inc. in the US and other countries.
Copyright 2000-2015 The SageTV Authors. All Rights Reserved.