org.apache.commons.feedparser
Class HTMLFeedParser

java.lang.Object
  extended by org.apache.commons.feedparser.BaseParser
      extended by org.apache.commons.feedparser.HTMLFeedParser

public class HTMLFeedParser
extends BaseParser

Experimental class to play with supporting XFN. HTML parsing in general is interesting because I could start with the AnchorParser and move to an HTML parser but that might be too generic.

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

Field Summary
static HashSet XFN_RELATIONS
           
 
Constructor Summary
HTMLFeedParser()
           
 
Method Summary
static void main(String[] args)
           
static void parse(String content, FeedParserListener listener)
           
 
Methods inherited from class org.apache.commons.feedparser.BaseParser
doLocale, doLocaleEnd, getChildElementTextByName, getLocaleString, selectText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XFN_RELATIONS

public static final HashSet XFN_RELATIONS
Constructor Detail

HTMLFeedParser

public HTMLFeedParser()
Method Detail

parse

public static void parse(String content,
                         FeedParserListener listener)
                  throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


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