Class RssChannelImage

java.lang.Object
io.micronaut.rss.RssChannelImage

public class RssChannelImage extends Object
Since:
1.0
Author:
Sergio del Amo
See Also:
  • Constructor Details

    • RssChannelImage

      public RssChannelImage()
  • Method Details

    • getWidth

      public Optional<Integer> getWidth()
      Returns:
      width of the image in pixels.
    • getHeight

      public Optional<Integer> getHeight()
      Returns:
      height of the image in pixels.
    • getDescription

      public Optional<String> getDescription()
      Returns:
      A text that is included in the TITLE attribute of the link formed around the image in the HTML rendering.
    • getUrl

      public String getUrl()
      Returns:
      The URL of a GIF, JPEG or PNG image that represents the channel.
    • setUrl

      public void setUrl(String url)
      Parameters:
      url - A URL of a GIF, JPEG or PNG image that represents the channel.
    • getTitle

      public String getTitle()
      Returns:
      The image description.
    • setTitle

      public void setTitle(String title)
      Parameters:
      title - A description of the image.
    • builder

      public static RssChannelImage.Builder builder(String title, String url, String link)
      Parameters:
      title - The title for the image
      url - URL of the site.
      link - The URL of the site,
      Returns:
      A Builder to RssChannelImage.
    • setWidth

      public void setWidth(@Nullable @Nullable Integer width)
      Parameters:
      width - width of the image in pixels.
    • setHeight

      public void setHeight(@Nullable @Nullable Integer height)
      Parameters:
      height - height of the image in pixels.
    • setLink

      public void setLink(String link)
      Parameters:
      link - The URL of the site
    • getLink

      public String getLink()
      Returns:
      The URL of the site