<AHREF="../../../../../com/sun/syndication/io/impl/FeedGenerators.html"title="class in com.sun.syndication.io.impl"><B>PREV CLASS</B></A>
<AHREF="../../../../../com/sun/syndication/io/impl/ModuleGenerators.html"title="class in com.sun.syndication.io.impl"><B>NEXT CLASS</B></A></FONT></TD>
<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</A>
<IMGSRC="../../../../../resources/inherit.gif"ALT="extended by "><AHREF="../../../../../com/sun/syndication/io/impl/PluginManager.html"title="class in com.sun.syndication.io.impl">com.sun.syndication.io.impl.PluginManager</A>
<IMGSRC="../../../../../resources/inherit.gif"ALT="extended by "><B>com.sun.syndication.io.impl.FeedParsers</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>FeedParsers</B><DT>extends <AHREF="../../../../../com/sun/syndication/io/impl/PluginManager.html"title="class in com.sun.syndication.io.impl">PluginManager</A></DL>
</PRE>
<P>
Parses an XML document (JDOM Document) into a Feed.
<p>
It accepts all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and
Atom 0.3 feeds.
<p>
The WireFeedParser is a liberal parser.
<p>
WireFeedParser instances are thread safe.
<p>
Parsers for a specific type must extend this class and register in the parser list.
(Right now registration is hardcoded in the WireFeedParser constructor).
<CODE>static <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A></CODE></FONT></TD>
<CODE>protected <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../../com/sun/syndication/io/impl/FeedParsers.html#getKey(java.lang.Object)">getKey</A></B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> obj)</CODE>
<CODE> <AHREF="../../../../../com/sun/syndication/io/WireFeedParser.html"title="interface in com.sun.syndication.io">WireFeedParser</A></CODE></FONT></TD>
<CODE> <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A></CODE></FONT></TD>
<THALIGN="left"><B>Methods inherited from class com.sun.syndication.io.impl.<AHREF="../../../../../com/sun/syndication/io/impl/PluginManager.html"title="class in com.sun.syndication.io.impl">PluginManager</A></B></TH>
<THALIGN="left"><B>Methods inherited from class java.lang.<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</A>, <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</A></CODE></TD>
public static final <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A><B>FEED_PARSERS_KEY</B></PRE>
<DL>
<DD>WireFeedParser.classes= [className] ...
<P>
<DL>
<DT><B>See Also:</B><DD><AHREF="../../../../../constant-values.html#com.sun.syndication.io.impl.FeedParsers.FEED_PARSERS_KEY">Constant Field Values</A></DL>
public <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><B>getSupportedFeedTypes</B>()</PRE>
public <AHREF="../../../../../com/sun/syndication/io/WireFeedParser.html"title="interface in com.sun.syndication.io">WireFeedParser</A><B>getParserFor</B>(org.jdom.Document document)</PRE>
<DL>
<DD>Finds the real parser type for the given document feed.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>document</CODE> - document feed to find the parser for.
<DT><B>Returns:</B><DD>the parser for the given document or <b>null</b> if there is no parser for that document.</DL>
</DD>
</DL>
<HR>
<ANAME="getKey(java.lang.Object)"><!----></A><H3>
getKey</H3>
<PRE>
protected <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A><B>getKey</B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> obj)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="../../../../../com/sun/syndication/io/impl/PluginManager.html#getKey(java.lang.Object)">getKey</A></CODE> in class <CODE><AHREF="../../../../../com/sun/syndication/io/impl/PluginManager.html"title="class in com.sun.syndication.io.impl">PluginManager</A></CODE></DL>
<AHREF="../../../../../com/sun/syndication/io/impl/FeedGenerators.html"title="class in com.sun.syndication.io.impl"><B>PREV CLASS</B></A>
<AHREF="../../../../../com/sun/syndication/io/impl/ModuleGenerators.html"title="class in com.sun.syndication.io.impl"><B>NEXT CLASS</B></A></FONT></TD>