Class RssItem
java.lang.Object
io.micronaut.rss.RssItem
- Direct Known Subclasses:
ItunesPodcastEpisode
- Since:
- 1.0
- Author:
- Sergio del Amo
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RssItem.Builderbuilder()Email address of the author of the item.Includes the item in one or more categories.URL of a page for comments relating to the item.The item synopsis.Describes a media object that is attached to the item.getGuid()A string that uniquely identifies the item.getLink()The URL of the item.Indicates when the item was published.The RSS channel that the item came from.getTitle()The title of the item.voidvoidsetCategory(@Nullable List<String> category) voidsetComments(@Nullable String comments) voidsetDescription(@Nullable String description) voidsetEnclosure(@Nullable RssItemEnclosure enclosure) voidvoidvoidsetPubDate(@Nullable ZonedDateTime pubDate) voidvoid
-
Constructor Details
-
RssItem
public RssItem()
-
-
Method Details
-
getTitle
-
getLink
-
getDescription
-
getAuthor
-
getCategory
-
getComments
-
getEnclosure
Describes a media object that is attached to the item.- Returns:
- Describes a media object that is attached to the item.
-
getGuid
-
getPubDate
Indicates when the item was published.- Returns:
- A string indicating when the item was published.
-
getSource
-
setTitle
- Parameters:
title- The title of the item.
-
setLink
- Parameters:
link- The URL of the item.
-
setDescription
- Parameters:
description- The item synopsis.
-
setAuthor
- Parameters:
author- mail address
-
setCategory
-
setComments
- Parameters:
comments- URL of a page for comments relating to the item.
-
setEnclosure
- Parameters:
enclosure- A media object that is attached to the item.
-
setPubDate
- Parameters:
pubDate- Date when the item was published.
-
setGuid
- Parameters:
guid- A string that uniquely identifies the item.
-
setSource
- Parameters:
source- The RSS channel that the item came from.
-
builder
- Returns:
- A Builder to
RssItem
-