com.uwyn.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.0
Version:
$Revision: 3634 $
Author:
JR Boyens (jboyens[remove] at uwyn dot com), Geert Bevin (gbevin[remove] at uwyn dot com)
See Also:
EntryProvider, Element

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

Method Detail

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.0
See Also:
Entry, EntryProvider


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.