Package com.rometools.rome.feed.synd
Interface SyndImage
-
- All Known Implementing Classes:
SyndImageImpl
public interface SyndImage extends Cloneable, CopyFrom
Bean interface for images of SyndFeedImpl feeds.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectclone()Creates a deep clone of the object.StringgetDescription()Returns the image description.IntegergetHeight()Returns the image height.StringgetLink()Returns the image link.StringgetTitle()Returns the image title.StringgetUrl()Returns the image URL.IntegergetWidth()Returns the image width.voidsetDescription(String description)Sets the image description.voidsetHeight(Integer height)Sets the image height.voidsetLink(String link)Sets the image link.voidsetTitle(String title)Sets the image title.voidsetUrl(String url)Sets the image URL.voidsetWidth(Integer width)Sets the image width.-
Methods inherited from interface com.rometools.rome.feed.CopyFrom
copyFrom, getInterface
-
-
-
-
Method Detail
-
getTitle
String getTitle()
Returns the image title.- Returns:
- the image title, null if none.
-
setTitle
void setTitle(String title)
Sets the image title.- Parameters:
title- the image title to set, null if none.
-
getUrl
String getUrl()
Returns the image URL.- Returns:
- the image URL, null if none.
-
setUrl
void setUrl(String url)
Sets the image URL.- Parameters:
url- the image URL to set, null if none.
-
getWidth
Integer getWidth()
Returns the image width.- Returns:
- the image width, null if none.
-
setWidth
void setWidth(Integer width)
Sets the image width.- Parameters:
width- the image width to set, null if none.
-
getHeight
Integer getHeight()
Returns the image height.- Returns:
- the image height, null if none.
-
setHeight
void setHeight(Integer height)
Sets the image height.- Parameters:
height- the image height to set, null if none.
-
getLink
String getLink()
Returns the image link.- Returns:
- the image link, null if none.
-
setLink
void setLink(String link)
Sets the image link.- Parameters:
link- the image link to set, null if none.
-
getDescription
String getDescription()
Returns the image description.- Returns:
- the image description, null if none.
-
setDescription
void setDescription(String description)
Sets the image description.- Parameters:
description- the image description to set, null if none.
-
clone
Object clone() throws CloneNotSupportedException
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.
-
-