org.apache.commons.feedparser.locate
Interface AnchorParserListener


public interface AnchorParserListener

Author:
Kevin A. Burton

Method Summary
 Object getResult()
          Return a result if necessary;
 boolean onAnchor(String href, String rel, String title)
          Called when the AnchorParser finds an Anchor.
 void setContext(Object context)
           
 

Method Detail

setContext

void setContext(Object context)

getResult

Object getResult()
Return a result if necessary;


onAnchor

boolean onAnchor(String href,
                 String rel,
                 String title)
                 throws AnchorParserException
Called when the AnchorParser finds an Anchor. Return false if you wish to stop parsing. FIXME: Pass a fourth attribute that is the body of the anchor here.

Throws:
AnchorParserException


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.