<AHREF="../../../../../com/sun/syndication/io/impl/RSS090Generator.html"title="class in com.sun.syndication.io.impl"><B>PREV CLASS</B></A>
<AHREF="../../../../../com/sun/syndication/io/impl/RSS091NetscapeGenerator.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/BaseWireFeedParser.html"title="class in com.sun.syndication.io.impl">com.sun.syndication.io.impl.BaseWireFeedParser</A>
<IMGSRC="../../../../../resources/inherit.gif"ALT="extended by "><B>com.sun.syndication.io.impl.RSS090Parser</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B><DD><AHREF="../../../../../com/sun/syndication/io/WireFeedParser.html"title="interface in com.sun.syndication.io">WireFeedParser</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B><DD><AHREF="../../../../../com/sun/syndication/io/impl/RSS091UserlandParser.html"title="class in com.sun.syndication.io.impl">RSS091UserlandParser</A>, <AHREF="../../../../../com/sun/syndication/io/impl/RSS10Parser.html"title="class in com.sun.syndication.io.impl">RSS10Parser</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>RSS090Parser</B><DT>extends <AHREF="../../../../../com/sun/syndication/io/impl/BaseWireFeedParser.html"title="class in com.sun.syndication.io.impl">BaseWireFeedParser</A></DL>
<TD><CODE><B><AHREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#RSS090Parser(java.lang.String, org.jdom.Namespace)">RSS090Parser</A></B>(<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> type,
This method exists because RSS0.90 and RSS1.0 have the 'image' element under the root elemment.</TD>
<CODE>protected <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>
This method exists because RSS0.90 and RSS1.0 have the 'item' elements under the root elemment.</TD>
Returns the namespace used by RDF elements in document of the RSS version the parser supports.</TD>
Returns the namespace used by RSS elements in document of the RSS version the parser supports.</TD>
This method exists because RSS0.90 and RSS1.0 have the 'textinput' element under the root elemment.</TD>
<CODE>protected <AHREF="../../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A></CODE></FONT></TD>
<CODE>protected <AHREF="../../../../../com/sun/syndication/feed/rss/Image.html"title="class in com.sun.syndication.feed.rss">Image</A></CODE></FONT></TD>
<CODE>protected <AHREF="../../../../../com/sun/syndication/feed/rss/Item.html"title="class in com.sun.syndication.feed.rss">Item</A></CODE></FONT></TD>
<CODE>protected <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>
<CODE>protected <AHREF="../../../../../com/sun/syndication/feed/rss/TextInput.html"title="class in com.sun.syndication.feed.rss">TextInput</A></CODE></FONT></TD>
<THALIGN="left"><B>Methods inherited from class com.sun.syndication.io.impl.<AHREF="../../../../../com/sun/syndication/io/impl/BaseWireFeedParser.html"title="class in com.sun.syndication.io.impl">BaseWireFeedParser</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>
protected <B>RSS090Parser</B>(<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> type,
public boolean <B>isMyType</B>(org.jdom.Document document)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../../../com/sun/syndication/io/WireFeedParser.html#isMyType(org.jdom.Document)">WireFeedParser</A></CODE></B></DD>
<DD>Inspects an XML Document (JDOM) to check if it can parse it.
<p>
It checks if the given document if the type of feeds the parser understands.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>document</CODE> - XML Document (JDOM) to check if it can be parsed by this parser.
<DT><B>Returns:</B><DD><b>true</b> if the parser know how to parser this feed, <b>false</b> otherwise.</DL>
public <AHREF="../../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A><B>parse</B>(org.jdom.Document document,
boolean validate)
throws <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true"title="class or interface in java.lang">IllegalArgumentException</A>,
<AHREF="../../../../../com/sun/syndication/io/FeedException.html"title="class in com.sun.syndication.io">FeedException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../../../com/sun/syndication/io/WireFeedParser.html#parse(org.jdom.Document, boolean)">WireFeedParser</A></CODE></B></DD>
<DD>Parses an XML document (JDOM Document) into a feed bean.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>document</CODE> - XML document (JDOM) to parse.<DD><CODE>validate</CODE> - indicates if the feed should be strictly validated (NOT YET IMPLEMENTED).
<DT><B>Returns:</B><DD>the resulting feed bean.
<DT><B>Throws:</B>
<DD><CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true"title="class or interface in java.lang">IllegalArgumentException</A></CODE> - thrown if the parser cannot handle the given feed type.
<DD><CODE><AHREF="../../../../../com/sun/syndication/io/FeedException.html"title="class in com.sun.syndication.io">FeedException</A></CODE> - thrown if a feed bean cannot be created out of the XML document (JDOM).</DL>
protected <AHREF="../../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A><B>parseChannel</B>(org.jdom.Element rssRoot)</PRE>
<DL>
<DD>Parses the root element of an RSS document into a Channel bean.
<p/>
It reads title, link and description and delegates to parseImage, parseItems
and parseTextInput. This delegation always passes the root element of the RSS
document as different RSS version may have this information in different parts
of the XML tree (no assumptions made thanks to the specs variaty)
<p/>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rssRoot</CODE> - the root element of the RSS document to parse.
protected <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>getItems</B>(org.jdom.Element rssRoot)</PRE>
<DL>
<DD>This method exists because RSS0.90 and RSS1.0 have the 'item' elements under the root elemment.
And RSS0.91, RSS0.02, RSS0.93, RSS0.94 and RSS2.0 have the item elements under the 'channel' element.
protected <AHREF="../../../../../com/sun/syndication/feed/rss/Image.html"title="class in com.sun.syndication.feed.rss">Image</A><B>parseImage</B>(org.jdom.Element rssRoot)</PRE>
<DL>
<DD>Parses the root element of an RSS document looking for image information.
<p/>
It reads title and url out of the 'image' element.
<p/>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rssRoot</CODE> - the root element of the RSS document to parse for image information.
protected <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>parseItems</B>(org.jdom.Element rssRoot)</PRE>
<DL>
<DD>Parses the root element of an RSS document looking for all items information.
<p/>
It iterates through the item elements list, obtained from the getItems() method, and invoke parseItem()
for each item element. The resulting RSSItem of each item element is stored in a list.
<p/>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rssRoot</CODE> - the root element of the RSS document to parse for all items information.
<DT><B>Returns:</B><DD>a list with all the parsed RSSItem beans.</DL>
protected <AHREF="../../../../../com/sun/syndication/feed/rss/Item.html"title="class in com.sun.syndication.feed.rss">Item</A><B>parseItem</B>(org.jdom.Element rssRoot,
org.jdom.Element eItem)</PRE>
<DL>
<DD>Parses an item element of an RSS document looking for item information.
<p/>
It reads title and link out of the 'item' element.
<p/>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rssRoot</CODE> - the root element of the RSS document in case it's needed for context.<DD><CODE>eItem</CODE> - the item element to parse.
protected <AHREF="../../../../../com/sun/syndication/feed/rss/TextInput.html"title="class in com.sun.syndication.feed.rss">TextInput</A><B>parseTextInput</B>(org.jdom.Element rssRoot)</PRE>
<DL>
<DD>Parses the root element of an RSS document looking for text-input information.
<p/>
It reads title, description, name and link out of the 'textinput' or 'textInput' element.
<p/>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rssRoot</CODE> - the root element of the RSS document to parse for text-input information.
<AHREF="../../../../../com/sun/syndication/io/impl/RSS090Generator.html"title="class in com.sun.syndication.io.impl"><B>PREV CLASS</B></A>
<AHREF="../../../../../com/sun/syndication/io/impl/RSS091NetscapeGenerator.html"title="class in com.sun.syndication.io.impl"><B>NEXT CLASS</B></A></FONT></TD>