Class RomeNewsFullStoryProcessorImpl

java.lang.Object
org.jasig.portlet.newsreader.processor.RomeNewsProcessorImpl
org.jasig.portlet.newsreader.processor.RomeNewsFullStoryProcessorImpl

public class RomeNewsFullStoryProcessorImpl extends RomeNewsProcessorImpl
Strategy implementation derived from RomeNewsProcessorImpl with support for full story. Rather than set the link in the NewsFeedItem, a RemoteHttpFullStory is created using the link as the URL.
Since:
3.1.2
Author:
Benito J. Gonzalez (bgonzalez@unicon.net)
  • Field Details

    • log

      protected final org.slf4j.Logger log
  • Constructor Details

    • RomeNewsFullStoryProcessorImpl

      public RomeNewsFullStoryProcessorImpl()
  • Method Details

    • getNewsFeedItem

      protected NewsFeedItem getNewsFeedItem(com.rometools.rome.feed.synd.SyndEntry entry, String titlePolicy, String descriptionPolicy) throws org.owasp.validator.html.PolicyException, org.owasp.validator.html.ScanException

      getNewsFeedItem.

      Overrides:
      getNewsFeedItem in class RomeNewsProcessorImpl
      Parameters:
      entry - a SyndEntry object
      titlePolicy - a String object
      descriptionPolicy - a String object
      Returns:
      a NewsFeedItem object
      Throws:
      org.owasp.validator.html.PolicyException - if any.
      org.owasp.validator.html.ScanException - if any.