Package rife.feed

Interface EntryProcessor

All Known Implementing Classes:
FeedProvider

public interface EntryProcessor
An EntryProcessor is a class that knows how to create a section of a feed for output.

This interface is generally implemented by an Element which then passes itself into an EntryProvider to allow the EntryProvider to stream results straight into the feed instead of dumping a large collection.

Since:
1.8.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setEntry(Entry entry)
    Sets an entry to the feed being constructed.
  • Method Details

    • setEntry

      void setEntry(Entry entry)
      Sets an entry to the feed being constructed.

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

      Parameters:
      entry - the Entry to be written to the feed
      Since:
      1.8.0
      See Also: