Class Description

java.lang.Object
io.goobi.viewer.model.rss.Description

public class Description extends Object
Description for an RSS feed object.
Author:
Florian Alpers
  • Constructor Details

    • Description

      public Description()
      Creates a new Description instance.
    • Description

      public Description(String value)
      Creates a new Description instance.
      Parameters:
      value - initial text content of the description
  • Method Details

    • getImage

      public String getImage()
      Getter for the field image.
      Returns:
      the URL of the thumbnail image for this RSS item description
    • setImage

      public void setImage(String image)
      Setter for the field image.
      Parameters:
      image - the URL of the thumbnail image for this RSS item description
    • getText

      public String getText()
      Getter for the field text.
      Returns:
      the HTML or plain-text body of this RSS item description
    • setText

      public void setText(String description)
      Setter for the field text.
      Parameters:
      description - the HTML or plain-text body of this RSS item description
    • getMetadata

      public List<RssMetadata> getMetadata()
      Getter for the field metadata.
      Returns:
      all rss metadata of this object
    • addMetadata

      public void addMetadata(RssMetadata metadata)
      Adds rss metadata to this object.
      Parameters:
      metadata - RSS metadata entry to append