Package io.micronaut.rss
Class RssChannelImage
java.lang.Object
io.micronaut.rss.RssChannelImage
- Since:
- 1.0
- Author:
- Sergio del Amo
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A builder class to add different properties toRssChannelImage
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RssChannelImage.Builder
getLink()
getTitle()
getUrl()
getWidth()
void
void
void
void
void
-
Constructor Details
-
RssChannelImage
public RssChannelImage()
-
-
Method Details
-
getWidth
- Returns:
- width of the image in pixels.
-
getHeight
- Returns:
- height of the image in pixels.
-
getDescription
- Returns:
- A text that is included in the TITLE attribute of the link formed around the image in the HTML rendering.
-
getUrl
- Returns:
- The URL of a GIF, JPEG or PNG image that represents the channel.
-
setUrl
- Parameters:
url
- A URL of a GIF, JPEG or PNG image that represents the channel.
-
getTitle
- Returns:
- The image description.
-
setTitle
- Parameters:
title
- A description of the image.
-
builder
- Parameters:
title
- The title for the imageurl
- URL of the site.link
- The URL of the site,- Returns:
- A Builder to
RssChannelImage
.
-
setWidth
- Parameters:
width
- width of the image in pixels.
-
setHeight
- Parameters:
height
- height of the image in pixels.
-
setLink
- Parameters:
link
- The URL of the site
-
getLink
- Returns:
- The URL of the site
-