Interface StoryMessage
-
- All Superinterfaces:
Message
public interface StoryMessage extends Message
An instance of
StoryMessage
represents a news story.An object implementing this interface can not be instantiated directly, but can be constructed using the
MessageFactory
that is available on thePublisher
interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getText()
Gets the text of the news story.-
Methods inherited from interface com.caplin.datasource.messaging.Message
getMessageType, getSubject, isImage, setImage
-
-
-
-
Method Detail
-
getText
String getText()
Gets the text of the news story.
- Returns:
- The text.
-
-