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
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ItunesPodcast.Builderbuilder()getOwner()getType()booleanvoidSets the Podcast's author.voidsetBlock(boolean block) Sets the Podcast's block.voidsetExplicit(boolean explicit) voidsetOwner(ItunesPodcastOwner owner) Sets the Podcast's owner.voidsetSubtitle(@Nullable String subtitle) Sets the Podcast's subtitle.voidsetSummary(String summary) Sets the Podcast's summary.voidsetType(ItunesPodcastType type) Sets the Podcast's type.booleanMethods 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.
-