|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.syndication.feed.synd.SyndImageImpl
public class SyndImageImpl
Bean for images of SyndFeedImpl feeds.
| Constructor Summary | |
|---|---|
SyndImageImpl()
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a deep 'bean' clone of the object. |
void |
copyFrom(java.lang.Object syndImage)
Copies all the properties of the given bean into this one. |
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. |
java.lang.String |
getDescription()
Returns the image description. |
java.lang.Class |
getInterface()
Returns the interface the copyFrom works on. |
java.lang.String |
getLink()
Returns the image link. |
java.lang.String |
getTitle()
Returns the image title. |
java.lang.String |
getUrl()
Returns the image URL. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setDescription(java.lang.String description)
Sets the image description. |
void |
setLink(java.lang.String link)
Sets the image link. |
void |
setTitle(java.lang.String title)
Sets the image title. |
void |
setUrl(java.lang.String url)
Sets the image URL. |
java.lang.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 SyndImageImpl()
| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface SyndImageclone in class java.lang.Objectjava.lang.CloneNotSupportedException - thrown if an element of the object cannot be cloned.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - he reference object with which to compare.
public int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getTitle()
getTitle in interface SyndImagepublic void setTitle(java.lang.String title)
setTitle in interface SyndImagetitle - the image title to set, null if none.public java.lang.String getUrl()
getUrl in interface SyndImagepublic void setUrl(java.lang.String url)
setUrl in interface SyndImageurl - the image URL to set, null if none.public java.lang.String getLink()
getLink in interface SyndImagepublic void setLink(java.lang.String link)
setLink in interface SyndImagelink - the image link to set, null if none.public java.lang.String getDescription()
getDescription in interface SyndImagepublic void setDescription(java.lang.String description)
setDescription in interface SyndImagedescription - the image description to set, null if none.public java.lang.Class getInterface()
CopyFromThis is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface in interface CopyFrompublic void copyFrom(java.lang.Object syndImage)
CopyFromAny existing properties in this bean are lost.
This method is useful for moving from one implementation of a bean interface to another. For example from the default SyndFeed bean implementation to a Hibernate ready implementation.
copyFrom in interface CopyFromsyndImage - the instance to copy properties from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||