|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeedDirectoryParserListener
Interface for generic feeds that support feed directory structures. These are feed such as OPML and OCS that support nested feeds. This can be used within two systems to exchange feed lists.
This interface needs to be compatible with:
Method Summary | |
---|---|
void |
onFolder(FeedParserState state,
String name)
Called when a new Folder is found. |
void |
onFolderEnd()
|
void |
onItem(FeedParserState state,
String title,
String weblog,
String description,
String feed)
Called when an directory item is found. |
void |
onItemEnd()
|
void |
onRelation(FeedParserState state,
String value)
Called when we've found a relation for a given item. |
void |
onRelationEnd()
|
Methods inherited from interface org.apache.commons.feedparser.FeedParserListener |
---|
onChannel, onChannelEnd, onFeedVersion, onImage, onImageEnd |
Methods inherited from interface org.apache.commons.feedparser.FeedLifecycleListener |
---|
finished, getContext, init, setContext |
Method Detail |
---|
void onItem(FeedParserState state, String title, String weblog, String description, String feed) throws FeedParserException
onItem
in interface FeedParserListener
weblog
- The HTML URL to the root of the weblog. Example:
http://www.peerfear.orgtitle
- The title of the feed or weblog. Maybe be null when not
specified.feed
- The XML URL to the RSS/Atom feed for this weblog. This may
be null in some situations when we don't have a feed URL
FeedParserException
FeedParserListener.onItem(org.apache.commons.feedparser.FeedParserState, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
void onItemEnd() throws FeedParserException
onItemEnd
in interface FeedParserListener
FeedParserException
void onRelation(FeedParserState state, String value)
void onRelationEnd()
void onFolder(FeedParserState state, String name) throws FeedParserException
FeedParserException
void onFolderEnd() throws FeedParserException
FeedParserException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |