com.sun.syndication.feed.rss
Class Image

java.lang.Object
  extended bycom.sun.syndication.common.ObjectBean
      extended bycom.sun.syndication.feed.rss.Image
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, ToString

public class Image
extends ObjectBean

Bean for images of RSS feeds.

Author:
Alejandro Abdelnur
See Also:
Serialized Form

Constructor Summary
Image()
          Default constructor.
 
Method Summary
 java.lang.String getDescription()
          Returns the image description.
 int getHeight()
          Returns the image height.
 java.lang.String getLink()
          Returns the image link.
 java.lang.String getTitle()
          Returns the image title.
 java.lang.String getUrl()
          Returns the image URL.
 int getWidth()
          Returns the image width.
 void setDescription(java.lang.String description)
          Sets the image description.
 void setHeight(int height)
          Sets the image height.
 void setLink(java.lang.String link)
          Sets the image link.
 void setTitle(java.lang.String title)
          Sets the image title.
 void setUrl(java.lang.String url)
          Sets the image URL.
 void setWidth(int width)
          Sets the image width.
 
Methods inherited from class com.sun.syndication.common.ObjectBean
clone, equals, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Image

public Image()
Default constructor. All properties are set to null.

Method Detail

getTitle

public java.lang.String getTitle()
Returns the image title.

Returns:
the image title, null if none.

setTitle

public void setTitle(java.lang.String title)
Sets the image title.

Parameters:
title - the image title to set, null if none.

getUrl

public java.lang.String getUrl()
Returns the image URL.

Returns:
the image URL, null if none.

setUrl

public void setUrl(java.lang.String url)
Sets the image URL.

Parameters:
url - the image URL to set, null if none.

getLink

public java.lang.String getLink()
Returns the image link.

Returns:
the image link, null if none.

setLink

public void setLink(java.lang.String link)
Sets the image link.

Parameters:
link - the image link to set, null if none.

getWidth

public int getWidth()
Returns the image width.

Returns:
the image width, null if none.

setWidth

public void setWidth(int width)
Sets the image width.

Parameters:
width - the image width to set, null if none.

getHeight

public int getHeight()
Returns the image height.

Returns:
the image height, null if none.

setHeight

public void setHeight(int height)
Sets the image height.

Parameters:
height - the image height to set, null if none.

getDescription

public java.lang.String getDescription()
Returns the image description.

Returns:
the image description, null if none.

setDescription

public void setDescription(java.lang.String description)
Sets the image description.

Parameters:
description - the image description to set, null if none.


Copyright © 2004 Sun Microsystems. All Rights Reserved.