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 the Publisher interface.

    • Method Detail

      • getText

        java.lang.String getText()

        Gets the text of the news story.

        Returns:
        The text.