SageTV Platform
V9.0

sage.media.rss
Class RSSImage

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

public class RSSImage
extends RSSObject

RSS image'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
 
Fields inherited from class sage.media.rss.RSSObject
about, dc, dc_container, description, link, pdate, title
 
Constructor Summary
RSSImage()
           
 
Method Summary
 java.lang.String getHeight()
          Get the image's height
 java.lang.String getUrl()
          Get the url of the image
 java.lang.String getWidth()
          Get the image's width
 void setHeight(java.lang.String height)
          Set the image's height
 void setUrl(java.lang.String u)
          Set url of the image
 void setWidth(java.lang.String width)
          Set the image's width
 java.lang.String toDebugString()
          Useful for debug
 java.lang.String toHTML()
          Return a html img tag with link associated
 
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
 

Constructor Detail

RSSImage

public RSSImage()
Method Detail

setUrl

public void setUrl(java.lang.String u)
Set url of the image

Parameters:
u - The image's url

getUrl

public java.lang.String getUrl()
Get the url of the image

Returns:
the image's url

setWidth

public void setWidth(java.lang.String width)
Set the image's width

Parameters:
width - width

setHeight

public void setHeight(java.lang.String height)
Set the image's height

Parameters:
height - height

getWidth

public java.lang.String getWidth()
Get the image's width

Returns:
width (could be null)

getHeight

public java.lang.String getHeight()
Get the image's height

Returns:
height (could be null)

toHTML

public java.lang.String toHTML()
Return a html img tag with link associated

Returns:
html

toDebugString

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

Specified by:
toDebugString in class RSSObject
Returns:
information

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.