Class FeedProvider

java.lang.Object
rife.feed.elements.FeedProvider
All Implemented Interfaces:
Element, EntryProcessor

public class FeedProvider extends Object implements Element, EntryProcessor
An Element that uses an EntryProvider to print out a feed.
Since:
1.8.0
See Also:
  • Constructor Details

  • Method Details

    • process

      public void process(Context c)
      Description copied from interface: Element
      Process the provided Context with this element.
      Specified by:
      process in interface Element
      Parameters:
      c - the provided request/response context
    • setEntry

      public void setEntry(Entry entry)
      Description copied from interface: EntryProcessor
      Sets an entry to the feed being constructed.

      Generally called by an EntryProvider while streaming results from the DB to the feed provider/outputter.

      Specified by:
      setEntry in interface EntryProcessor
      Parameters:
      entry - the Entry to be written to the feed
      See Also: