com.sun.syndication.feed.synd

Interface SyndImage

public interface SyndImage extends Cloneable, CopyFrom

Bean interface for images of SyndFeedImpl feeds.

Author: Alejandro Abdelnur

Method Summary
Objectclone()
Creates a deep clone of the object.
StringgetDescription()
Returns the image description.
StringgetLink()
Returns the image link.
StringgetTitle()
Returns the image title.
StringgetUrl()
Returns the image URL.
voidsetDescription(String description)
Sets the image description.
voidsetLink(String link)
Sets the image link.
voidsetTitle(String title)
Sets the image title.
voidsetUrl(String url)
Sets the image URL.

Method Detail

clone

public Object clone()
Creates a deep clone of the object.

Returns: a clone of the object.

Throws: CloneNotSupportedException thrown if an element of the object cannot be cloned.

getDescription

public String getDescription()
Returns the image description.

Returns: the image description, null if none.

getLink

public String getLink()
Returns the image link.

Returns: the image link, null if none.

getTitle

public String getTitle()
Returns the image title.

Returns: the image title, null if none.

getUrl

public String getUrl()
Returns the image URL.

Returns: the image URL, null if none.

setDescription

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

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

setLink

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

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

setTitle

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

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

setUrl

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

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

Copyright © Sun Microsystems. All Rights Reserved.