Package org.opencastproject.feed.api
Interface Image
-
public interface Image
Images are used to add visual content to feeds and feed entries.Note that this interface is heavily inspired and backed by the excellent rss/atom feed library Rome (http://https://rome.dev.java.net).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Returns the image description.String
getLink()
Returns the image link.String
getTitle()
Returns the image title.String
getUrl()
Returns the image URL.void
setDescription(String description)
Sets the image description.void
setLink(String link)
Sets the image link.void
setTitle(String title)
Sets the image title.void
setUrl(String url)
Sets the image URL.
-
-
-
Method Detail
-
getTitle
String getTitle()
Returns the image title.- Returns:
- the image title, null if none
-
setTitle
void setTitle(String title)
Sets the image title.- Parameters:
title
- the image title to set, null if none
-
getUrl
String getUrl()
Returns the image URL.- Returns:
- the image URL, null if none
-
setUrl
void setUrl(String url)
Sets the image URL.- Parameters:
url
- the image URL to set, null if none
-
getLink
String getLink()
Returns the image link.- Returns:
- the image link, null if none
-
setLink
void setLink(String link)
Sets the image link.- Parameters:
link
- the image link to set, null if none
-
getDescription
String getDescription()
Returns the image description.- Returns:
- the image description, null if none
-
setDescription
void setDescription(String description)
Sets the image description.- Parameters:
description
- the image description to set, null if none
-
-