Package io.goobi.viewer.model.rss
Class Description
java.lang.Object
io.goobi.viewer.model.rss.Description
Description for an RSS feed object.
- Author:
- Florian Alpers
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new Description instance.Description(String value) Creates a new Description instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetadata(RssMetadata metadata) Adds rss metadata to this object.getImage()Getter for the fieldimage.Getter for the fieldmetadata.getText()Getter for the fieldtext.voidSetter for the fieldimage.voidSetter for the fieldtext.
-
Constructor Details
-
Description
public Description()Creates a new Description instance. -
Description
Creates a new Description instance.- Parameters:
value- initial text content of the description
-
-
Method Details
-
getImage
Getter for the fieldimage.- Returns:
- the URL of the thumbnail image for this RSS item description
-
setImage
Setter for the fieldimage.- Parameters:
image- the URL of the thumbnail image for this RSS item description
-
getText
Getter for the fieldtext.- Returns:
- the HTML or plain-text body of this RSS item description
-
setText
Setter for the fieldtext.- Parameters:
description- the HTML or plain-text body of this RSS item description
-
getMetadata
Getter for the fieldmetadata.- Returns:
- all rss metadata of this object
-
addMetadata
Adds rss metadata to this object.- Parameters:
metadata- RSS metadata entry to append
-