Package io.micronaut.rss.itunespodcast
Class ItunesPodcast
java.lang.Object
io.micronaut.rss.RssChannel
io.micronaut.rss.itunespodcast.ItunesPodcast
RSS 2.0 Feed for iTunes podcasts.
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ItunesPodcast.Builder
builder()
getOwner()
getType()
boolean
void
Sets the Podcast's author.void
setBlock
(boolean block) Sets the Podcast's block.void
setExplicit
(boolean explicit) void
setOwner
(ItunesPodcastOwner owner) Sets the Podcast's owner.void
setSubtitle
(@Nullable String subtitle) Sets the Podcast's subtitle.void
setSummary
(String summary) Sets the Podcast's summary.void
setType
(ItunesPodcastType type) Sets the Podcast's type.boolean
Methods inherited from class io.micronaut.rss.RssChannel
addItem, builder, getCategory, getCloud, getCopyright, getDescription, getDocs, getGenerator, getImage, getItem, getLanguage, getLastBuildDate, getLink, getManagingEditor, getPubDate, getRating, getSkipDays, getSkipHours, getTextInput, getTitle, getTtl, getWebMaster, setCategory, setCloud, setCopyright, setDescription, setDocs, setGenerator, setImage, setItem, setLanguage, setLastBuildDate, setLink, setManagingEditor, setPubDate, setRating, setSkipDays, setSkipHours, setTextInput, setTitle, setTtl, setWebMaster
-
Constructor Details
-
ItunesPodcast
public ItunesPodcast()
-
-
Method Details
-
setBlock
public void setBlock(boolean block) Sets the Podcast's block.- Parameters:
block
- Podcast's block.
-
getOwner
- Returns:
- The podcast owner.
-
setOwner
Sets the Podcast's owner.- Parameters:
owner
- Podcast's owner.
-
getAuthor
- Returns:
- The podcast author.
-
setAuthor
Sets the Podcast's author.- Parameters:
author
- Podcast's author.
-
setType
Sets the Podcast's type.- Parameters:
type
- Podcast's type.
-
getType
- Returns:
- The podcast type.
-
getSummary
- Returns:
- The podcast summary.
-
isExplicit
public boolean isExplicit()- Returns:
- The podcast explicit flag.
-
setExplicit
public void setExplicit(boolean explicit) - Parameters:
explicit
- Podcast's explicit flag.
-
getSubtitle
- Returns:
- The podcast subtitle.
-
setSubtitle
Sets the Podcast's subtitle.- Parameters:
subtitle
- Podcast's subtitle.
-
setSummary
Sets the Podcast's summary.- Parameters:
summary
- Podcast's summary.
-
builder
- Returns:
- A Builder to build a
ItunesPodcast
.
-
shouldBlock
public boolean shouldBlock()- Returns:
- Whether it should block.
-
getKeywords
- Returns:
- The podcast keywords.
-