Package com.xpn.xwiki.plugin.feed
Interface SyndEntrySource
-
- All Known Implementing Classes:
SyndEntryDocumentSource
public interface SyndEntrySource
Abstracts a strategy for computing the field values of a feed entry from a generic source.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
source(com.sun.syndication.feed.synd.SyndEntry entry, Object obj, Map<String,Object> params, XWikiContext context)
Overwrites the current values of the given feed entry with new ones computed from the specified source object.
-
-
-
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.- Parameters:
entry
- the feed entry whose fields are going to be overwrittenobj
- the source for the new values to be set on the fields of the feed entryparams
- parameters to adjust the computation. Each concrete strategy may define its own (key, value) pairscontext
- the XWiki context- Throws:
XWikiException
-
-