Interface SyndEntrySource

  • All Known Implementing Classes:

    public interface SyndEntrySource
    Abstracts a strategy for computing the field values of a feed entry from a generic source.
    • Method Detail

      • source

        void source​(com.sun.syndication.feed.synd.SyndEntry entry,
                    Object obj,
                    Map<String,​Object> params,
                    XWikiContext context)
             throws XWikiException
        Overwrites the current values of the given feed entry with new ones computed from the specified source object.
        entry - the feed entry whose fields are going to be overwritten
        obj - the source for the new values to be set on the fields of the feed entry
        params - parameters to adjust the computation. Each concrete strategy may define its own (key, value) pairs
        context - the XWiki context