org.apache.commons.feedparser
Interface FeedLifecycleListener

All Known Subinterfaces:
FeedDirectoryParserListener, FeedParserListener, FOAFFeedParserListener
All Known Implementing Classes:
DebugFeedParserListener, DefaultFeedDirectoryParserListener, DefaultFeedParserListener, RSS10_OutputFeedParserListener, Test

public interface FeedLifecycleListener

Version:
$Id: FeedLifecycleListener.java 159212 2005-03-27 23:31:07Z burton $

Method Summary
 void finished()
          Called when the feed has finished parsing.
 java.lang.Object getContext()
           
 void init()
          Called prior to event parsing to signal the parsing of a new feed.
 void setContext(java.lang.Object context)
          Set this context that this FeedParserListener is executing within.
 

Method Detail

init

public void init()
          throws FeedParserException
Called prior to event parsing to signal the parsing of a new feed.

Throws:
FeedParserListener - Possibly wraping another exception
FeedParserException

setContext

public void setContext(java.lang.Object context)
                throws FeedParserException
Set this context that this FeedParserListener is executing within. This can be used with anonymous listeners to pass contextual information about threads they are working within, etc.

FeedParserException

getContext

public java.lang.Object getContext()
                            throws FeedParserException
FeedParserException

finished

public void finished()
              throws FeedParserException
Called when the feed has finished parsing.

FeedParserException


Copyright © 2004-2006 Apache Software Foundation. All Rights Reserved.