|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.rss.Image
public class Image
Bean for images of RSS feeds.
Constructor Summary | |
---|---|
Image()
Default constructor. |
Method Summary | |
---|---|
Object |
clone()
Creates a deep 'bean' clone of the object. |
boolean |
equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. |
String |
getDescription()
Returns the image description. |
Integer |
getHeight()
Returns the image height. |
String |
getLink()
Returns the image link. |
String |
getTitle()
Returns the image title. |
String |
getUrl()
Returns the image URL. |
Integer |
getWidth()
Returns the image width. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setDescription(String description)
Sets the image description. |
void |
setHeight(Integer height)
Sets the image height. |
void |
setLink(String link)
Sets the image link. |
void |
setTitle(String title)
Sets the image title. |
void |
setUrl(String url)
Sets the image URL. |
void |
setWidth(Integer width)
Sets the image width. |
String |
toString()
Returns the String representation for the object. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Image()
Method Detail |
---|
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- thrown if an element of the object
cannot be cloned.public boolean equals(Object other)
equals
in class Object
other
- he reference object with which to compare.
public int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode
in class Object
public String toString()
toString
in class Object
public String getTitle()
public void setTitle(String title)
title
- the image title to set, null if none.public String getUrl()
public void setUrl(String url)
url
- the image URL to set, null if none.public String getLink()
public void setLink(String link)
link
- the image link to set, null if none.public Integer getWidth()
public void setWidth(Integer width)
width
- the image width to set, null if none.public Integer getHeight()
public void setHeight(Integer height)
height
- the image height to set, null if none.public String getDescription()
public void setDescription(String description)
description
- the image description to set, null if none.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |