org.apache.commons.feedparser
Interface FOAFFeedParserListener

All Superinterfaces:
FeedLifecycleListener

public interface FOAFFeedParserListener
extends FeedLifecycleListener

A generic interface

Version:
$Id: FOAFFeedParserListener.java 373614 2006-01-30 22:31:21Z mvdb $
Author:
Kevin A. Burton (burtonator)

Method Summary
 void onHomepage(FeedParserState state, String resource)
           
 void onHomepageEnd()
           
 void onImage(FeedParserState state, String resource)
          Called when an image is found.
 void onImageEnd()
           
 void onKnows(FeedParserState state)
           
 void onKnowsEnd()
           
 void onPerson(FeedParserState state, String name)
           
 void onPersonEnd()
           
 void onSeeAlso(FeedParserState state, String resource)
          When rdfs:seeAlso is called for an additional FOAF file.
 void onSeeAlsoEnd()
           
 void onWeblog(FeedParserState state, String resource)
           
 void onWeblogEnd()
           
 
Methods inherited from interface org.apache.commons.feedparser.FeedLifecycleListener
finished, getContext, init, setContext
 

Method Detail

onPerson

void onPerson(FeedParserState state,
              String name)
              throws FeedParserException
Throws:
FeedParserException
See Also:
FeedParserListener.onItem(org.apache.commons.feedparser.FeedParserState, java.lang.String, java.lang.String, java.lang.String, java.lang.String)

onPersonEnd

void onPersonEnd()
                 throws FeedParserException
Throws:
FeedParserException

onKnows

void onKnows(FeedParserState state)
             throws FeedParserException
Throws:
FeedParserException

onKnowsEnd

void onKnowsEnd()
                throws FeedParserException
Throws:
FeedParserException

onImage

void onImage(FeedParserState state,
             String resource)
             throws FeedParserException
Called when an image is found.

Throws:
FeedParserException

onImageEnd

void onImageEnd()
                throws FeedParserException
Throws:
FeedParserException

onWeblog

void onWeblog(FeedParserState state,
              String resource)
              throws FeedParserException
Throws:
FeedParserException

onWeblogEnd

void onWeblogEnd()
                 throws FeedParserException
Throws:
FeedParserException

onHomepage

void onHomepage(FeedParserState state,
                String resource)
                throws FeedParserException
Throws:
FeedParserException

onHomepageEnd

void onHomepageEnd()
                   throws FeedParserException
Throws:
FeedParserException

onSeeAlso

void onSeeAlso(FeedParserState state,
               String resource)
               throws FeedParserException
When rdfs:seeAlso is called for an additional FOAF file.

Throws:
FeedParserException

onSeeAlsoEnd

void onSeeAlsoEnd()
                  throws FeedParserException
Throws:
FeedParserException


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