Class DefaultFeedBuilder

    • Method Detail

      • createFeed

        public com.sun.syndication.feed.synd.SyndFeed createFeed​(ISearch search,
                                                                 FeedProperties feedProperties)
        Description copied from interface: FeedBuilder
        Constructs a feed off the specified search.

        Returns an empty feed with a title and description only if search is null.

        Specified by:
        createFeed in interface FeedBuilder
        Parameters:
        search - the search to base the feed upon
        feedProperties - metadata for the feed
        Returns:
        a synd feed for the results of specified search
      • createSyndFeed

        public com.rometools.rome.feed.synd.SyndFeed createSyndFeed​(ISearch search,
                                                                    FeedProperties feedProperties)
        Description copied from interface: SyndFeedService
        Constructs a feed off the specified search.

        Returns an empty feed with a title and description only if search is null.

        Specified by:
        createSyndFeed in interface SyndFeedService
        Parameters:
        search - the search to base the feed upon
        feedProperties - metadata for the feed
        Returns:
        a synd feed for the results of specified search