com.sun.syndication.feed.synd

Class SyndImageImpl

public class SyndImageImpl extends Object implements Serializable, SyndImage

Bean for images of SyndFeedImpl feeds.

Author: Alejandro Abdelnur

Field Summary
static CopyFromHelperCOPY_FROM_HELPER
String_description
String_link
ObjectBean_objBean
String_title
String_url
Constructor Summary
SyndImageImpl()
Default constructor.
Method Summary
Objectclone()
Creates a deep 'bean' clone of the object.
voidcopyFrom(Object syndImage)
booleanequals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
StringgetDescription()
Returns the image description.
ClassgetInterface()
StringgetLink()
Returns the image link.
StringgetTitle()
Returns the image title.
StringgetUrl()
Returns the image URL.
inthashCode()
Returns a hashcode value for the object.
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.
StringtoString()
Returns the String representation for the object.

Field Detail

COPY_FROM_HELPER

private static final CopyFromHelper COPY_FROM_HELPER

_description

private String _description

_link

private String _link

_objBean

private ObjectBean _objBean

_title

private String _title

_url

private String _url

Constructor Detail

SyndImageImpl

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

Method Detail

clone

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

Returns: a clone of the object.

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

copyFrom

public void copyFrom(Object syndImage)

equals

public boolean equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.

Parameters: other he reference object with which to compare.

Returns: true if 'this' object is equal to the 'other' object.

getDescription

public String getDescription()
Returns the image description.

Returns: the image description, null if none.

getInterface

public Class getInterface()

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.

hashCode

public int hashCode()
Returns a hashcode value for the object.

It follows the contract defined by the Object hashCode() method.

Returns: the hashcode of the bean object.

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.

toString

public String toString()
Returns the String representation for the object.

Returns: String representation for the object.

Copyright © Sun Microsystems. All Rights Reserved.