|
|||||||||||
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.SyndImageImpl
Bean for images of SyndFeedImpl feeds.
Constructor Summary | |
|
SyndImageImpl()
Default constructor. |
protected |
SyndImageImpl(java.lang.Class beanClass)
For implementations extending SyndImageImpl to be able to use the ObjectBean functionality with extended interfaces. |
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.SyndImage |
clone |
Methods inherited from interface com.sun.syndication.common.ToString |
toString |
Constructor Detail |
protected SyndImageImpl(java.lang.Class beanClass)
beanClass
- public SyndImageImpl()
Method Detail |
public java.lang.String getTitle()
getTitle
in interface SyndImage
public void setTitle(java.lang.String title)
setTitle
in interface SyndImage
title
- the image title to set, null if none.public java.lang.String getUrl()
getUrl
in interface SyndImage
public void setUrl(java.lang.String url)
setUrl
in interface SyndImage
url
- the image URL to set, null if none.public java.lang.String getLink()
getLink
in interface SyndImage
public void setLink(java.lang.String link)
setLink
in interface SyndImage
link
- the image link to set, null if none.public java.lang.String getDescription()
getDescription
in interface SyndImage
public void setDescription(java.lang.String description)
setDescription
in interface SyndImage
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, Module.
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 SyndFeed 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 |