Package io.micronaut.rss
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RssItem.Builder
builder()
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.void
void
setCategory
(@Nullable List<String> category) void
setComments
(@Nullable String comments) void
setDescription
(@Nullable String description) void
setEnclosure
(@Nullable RssItemEnclosure enclosure) void
void
void
setPubDate
(@Nullable ZonedDateTime pubDate) void
void
-
Constructor Details
-
RssItem
public RssItem()
-
-
Method Details
-
getTitle
The title of the item.- Returns:
- The title of the item
-
getLink
The URL of the item.- Returns:
- The URL of the item.
-
getDescription
The item synopsis.- Returns:
- The item synopsis.
-
getAuthor
Email address of the author of the item.- Returns:
- Email address of the author of the item.
-
getCategory
Includes the item in one or more categories.- Returns:
- A list of one or more categories where the item is included.
-
getComments
URL of a page for comments relating to the item.- Returns:
- URL of a page for comments relating to the item.
-
getEnclosure
Describes a media object that is attached to the item.- Returns:
- Describes a media object that is attached to the item.
-
getGuid
A string that uniquely identifies the item.- Returns:
- A string that uniquely identifies the item.
-
getPubDate
Indicates when the item was published.- Returns:
- A string indicating when the item was published.
-
getSource
The RSS channel that the item came from.- Returns:
- A string that uniquely identifies the item.
-
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
- Parameters:
category
- List of categories to include the item.
-
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
-