Package io.micronaut.rss.itunespodcast
Class DefaultItunesPodcastRenderer
java.lang.Object
io.micronaut.rss.DefaultRssFeedRenderer
io.micronaut.rss.itunespodcast.DefaultItunesPodcastRenderer
- All Implemented Interfaces:
RssFeedRenderer
@Replaces(DefaultRssFeedRenderer.class)
@Singleton
public class DefaultItunesPodcastRenderer
extends DefaultRssFeedRenderer
RssFeedRenderer
implementation for generating iTunes Podcast RSS 2.0 Feed.- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
writeItunesImage
(XMLStreamWriter sw, String imageUrl) Writes the image url in an itunes:image tag.protected void
writeRssChannel
(XMLStreamWriter sw, RssChannel rssChannel) protected void
writeRssItem
(XMLStreamWriter sw, RssItem rssItem) Methods inherited from class io.micronaut.rss.DefaultRssFeedRenderer
render, shouldWrapDescriptionWithCData, writeCategory, writeElement, writeRssItemDescription
-
Constructor Details
-
DefaultItunesPodcastRenderer
public DefaultItunesPodcastRenderer()
-
-
Method Details
-
getRssAttributes
- Overrides:
getRssAttributes
in classDefaultRssFeedRenderer
- Returns:
- RSS Attributes
-
writeRssChannel
- Overrides:
writeRssChannel
in classDefaultRssFeedRenderer
- Parameters:
sw
- An XML Stream writerrssChannel
- An RSS Channel
-
writeItunesImage
Writes the image url in an itunes:image tag.- Parameters:
sw
- XML straem writerimageUrl
- the Image URL
-
writeRssItem
- Overrides:
writeRssItem
in classDefaultRssFeedRenderer
- Parameters:
sw
- An XML Stream writerrssItem
- An RSS Item
-