org.clapper.curn
Interface PreFeedOutputPlugIn

All Superinterfaces:
PlugIn
All Known Implementing Classes:
MetaPlugIn

public interface PreFeedOutputPlugIn
extends PlugIn

This interface defines the methods that must be supported by plug-ins that wish to be notified just before curn sends a parsed feed to an OutputHandler.

Version:
$Revision: 6300 $
See Also:
PlugIn, MetaPlugIn, PostFeedOutputPlugIn, PostOutputHandlerFlushPlugIn, Curn

Method Summary
 void runPreFeedOutputPlugIn(FeedInfo feedInfo, RSSChannel channel, OutputHandler outputHandler)
          Called immediately before a parsed feed is passed to an output handler.
 
Methods inherited from interface org.clapper.curn.PlugIn
getPlugInName, getPlugInSortKey, initPlugIn
 

Method Detail

runPreFeedOutputPlugIn

void runPreFeedOutputPlugIn(FeedInfo feedInfo,
                            RSSChannel channel,
                            OutputHandler outputHandler)
                            throws CurnException
Called immediately before a parsed feed is passed to an output handler. This method cannot affect the feed's processing. (The time to stop the processing of a feed is in one of the other, preceding phases.) This method will be called multiple times for each feed if there are multiple output handlers.

Parameters:
feedInfo - the FeedInfo object for the feed that has been downloaded and parsed.
channel - the parsed channel data. The plug-in is free to edit this data; it's receiving a copy that's specific to the output handler.
outputHandler - the OutputHandler that is about to be called. This object is read-only.
Throws:
CurnException - on error
See Also:
RSSChannel, FeedInfo


Copyright © 2004-2006 Brian M. Clapper. All Rights Reserved.