org.apache.commons.feedparser
Interface LinkFeedParserListener
- All Known Implementing Classes:
- CaptureOutputFeedParserListener, DebugFeedParserListener
public interface LinkFeedParserListener
Atom link, RSS 2.0 enclosure, and RSS 1.0 mod_link support.
Note that you are given callbacks for *all* atom:link and RSS mod_link
callbacks. This includes the HTML permalink URL so its important that you
handle this situation as well.
More info on the link mechanism:
http://web.resource.org/rss/1.0/modules/link/
http://xml.com/pub/a/2004/06/16/dive.html
http://www.peerfear.org/rss/permalink/2004/06/17/AtomLinkModel
- Version:
- $Id: LinkFeedParserListener.java 373614 2006-01-30 22:31:21Z mvdb $
- Author:
- Kevin A. Burton (burtonator)
onLink
void onLink(FeedParserState state,
String rel,
String type,
String href,
String title,
long length)
throws FeedParserException
- Parameters:
length
- The length of the content or -1 if not specified.
- Throws:
FeedParserException
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.