Top Description Methods
com.rometools.rome.feed.synd

public Interface SyndImage

extends Cloneable, CopyFrom
Known Direct Implementers
com.rometools.rome.feed.synd.SyndImageImpl
Imports
com.rometools.rome.feed.CopyFrom

Bean interface for images of SyndFeedImpl feeds.

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

a clone of the object.
clone
()

Creates a deep clone of the object.

public String

Returns:

the image description, null if none.
getDescription
()

Returns the image description.

public Integer

Returns:

the image height, null if none.
getHeight
()

Returns the image height.

public String

Returns:

the image title, null if none.
getTitle
()

Returns the image title.

public String

Returns:

the image URL, null if none.
getUrl
()

Returns the image URL.

public Integer

Returns:

the image width, null if none.
getWidth
()

Returns the image width.

public void
setDescription(String
the image description to set, null if none.
description
)

Sets the image description.

public void
setHeight(Integer
the image height to set, null if none.
height
)

Sets the image height.

public void
setTitle(String
the image title to set, null if none.
title
)

Sets the image title.

public void
setUrl(String
the image URL to set, null if none.
url
)

Sets the image URL.

public void
setWidth(Integer
the image width to set, null if none.
width
)

Sets the image width.

Inherited from com.rometools.rome.feed.CopyFrom:
copyFromgetInterface

Method Detail

cloneback to summary
public Object clone() throws CloneNotSupportedException

Creates a deep clone of the object.

Returns:Object

a clone of the object.

Exceptions
CloneNotSupportedException:
thrown if an element of the object cannot be cloned.
getDescriptionback to summary
public String getDescription()

Returns the image description.

Returns:String

the image description, null if none.

getHeightback to summary
public Integer getHeight()

Returns the image height.

Returns:Integer

the image height, null if none.

getTitleback to summary
public String getTitle()

Returns the image title.

Returns:String

the image title, null if none.

getUrlback to summary
public String getUrl()

Returns the image URL.

Returns:String

the image URL, null if none.

getWidthback to summary
public Integer getWidth()

Returns the image width.

Returns:Integer

the image width, null if none.

setDescriptionback to summary
public void setDescription(String description)

Sets the image description.

Parameters
description:String

the image description to set, null if none.

setHeightback to summary
public void setHeight(Integer height)

Sets the image height.

Parameters
height:Integer

the image height to set, null if none.

setTitleback to summary
public void setTitle(String title)

Sets the image title.

Parameters
title:String

the image title to set, null if none.

setUrlback to summary
public void setUrl(String url)

Sets the image URL.

Parameters
url:String

the image URL to set, null if none.

setWidthback to summary
public void setWidth(Integer width)

Sets the image width.

Parameters
width:Integer

the image width to set, null if none.