org.apache.commons.feedparser.locate
Interface AnchorParserListener


public interface AnchorParserListener


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

Method Detail

setContext

public void setContext(java.lang.Object context)

getResult

public java.lang.Object getResult()
Return a result if necessary;


onAnchor

public boolean onAnchor(java.lang.String href,
                        java.lang.String rel,
                        java.lang.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.

AnchorParserException


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