org.apache.commons.feedparser
Class BaseParser
java.lang.Object
org.apache.commons.feedparser.BaseParser
- Direct Known Subclasses:
- AtomFeedParser, HTMLFeedParser, MetaFeedParser, RSSFeedParser
public class BaseParser
- extends Object
Basic parser support common between RSS, Atom, and FOAF feed impls.
- Version:
- $Id: BaseParser.java 373614 2006-01-30 22:31:21Z mvdb $
- Author:
- Kevin A. Burton (burtonator)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseParser
public BaseParser()
doLocale
protected static void doLocale(FeedParserState state,
FeedParserListener listener,
org.jdom.Element element)
throws Exception
- Throws:
Exception
doLocaleEnd
protected static void doLocaleEnd(FeedParserState state,
FeedParserListener listener,
org.jdom.Element element)
throws Exception
- Throws:
Exception
getLocaleString
protected static String getLocaleString(org.jdom.Element element)
selectText
protected static String selectText(String query,
org.jdom.Element element)
throws Exception
- Throws:
Exception
getChildElementTextByName
protected static String getChildElementTextByName(FeedParserState state,
String name)
throws Exception
- Regardless of namespace, get the child node text by name or null if it is not found.
- Throws:
Exception
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.