com.uwyn.rife.feed
Interface EntryProvider


public interface EntryProvider

An EntryProvider is a way to get entries for a feed.

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:
Feed

Method Summary
 Feed getFeedDescriptor(ElementSupport element)
          Get a bean describing the Feed being outputted.
 void provideEntries(ElementSupport element, EntryProcessor processor)
          Provide entries using EntryProcessor.setEntry(Entry) to set each entry to the feed
 

Method Detail

getFeedDescriptor

Feed getFeedDescriptor(ElementSupport element)
Get a bean describing the Feed being outputted.

Parameters:
element - the context for this EntryProvider
Returns:
Feed a bean describing the feed currently being outputted
Since:
1.0
See Also:
Feed

provideEntries

void provideEntries(ElementSupport element,
                    EntryProcessor processor)
Provide entries using EntryProcessor.setEntry(Entry) to set each entry to the feed

Parameters:
element - the context for this EntryProvider
processor - the processor creating this feed
Since:
1.0
See Also:
EntryProcessor


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