|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.common.ObjectBean
com.sun.syndication.feed.synd.SyndImage
Bean for images of SyndFeed feeds.
Constructor Summary | |
SyndImage()
Default constructor. |
Method Summary | |
void |
copyFrom(java.lang.Object syndImage)
Copies all the properties of the given bean into this one. |
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. |
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. |
Methods inherited from class com.sun.syndication.common.ObjectBean |
clone, equals, hashCode, toString, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sun.syndication.feed.synd.SyndImageI |
clone |
Methods inherited from interface com.sun.syndication.common.ToString |
toString |
Constructor Detail |
public SyndImage()
Method Detail |
public java.lang.String getTitle()
getTitle
in interface SyndImageI
public void setTitle(java.lang.String title)
setTitle
in interface SyndImageI
title
- the image title to set, null if none.public java.lang.String getUrl()
getUrl
in interface SyndImageI
public void setUrl(java.lang.String url)
setUrl
in interface SyndImageI
url
- the image URL to set, null if none.public java.lang.String getLink()
getLink
in interface SyndImageI
public void setLink(java.lang.String link)
setLink
in interface SyndImageI
link
- the image link to set, null if none.public java.lang.String getDescription()
getDescription
in interface SyndImageI
public void setDescription(java.lang.String description)
setDescription
in interface SyndImageI
description
- the image description to set, null if none.public java.lang.Class getInterface()
CopyFrom
This is useful when dealing with properties that may have multiple implementations. For example, ModuleI.
getInterface
in interface CopyFrom
public void copyFrom(java.lang.Object syndImage)
CopyFrom
Any 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 SyndFeedI bean implementation to a Hibernate ready implementation.
copyFrom
in interface CopyFrom
syndImage
- the instance to copy properties from.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |