org.apache.commons.feedparser
Interface LinkFeedParserListener

All Known Implementing Classes:
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 155416 2005-02-26 13:00:10Z dirkv $

Method Summary
 void onLink(FeedParserState state, java.lang.String rel, java.lang.String type, java.lang.String href, java.lang.String title, long length)
           
 

Method Detail

onLink

public void onLink(FeedParserState state,
                   java.lang.String rel,
                   java.lang.String type,
                   java.lang.String href,
                   java.lang.String title,
                   long length)
            throws FeedParserException
Parameters:
length - The length of the content or -1 if not specified.
FeedParserException


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