rome/apidocs/com/sun/syndication/io/impl/RSS090Parser.html

651 lines
No EOL
31 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Fri Oct 04 20:52:47 CEST 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
RSS090Parser (ROME, RSS and atOM utilitiEs for Java 2.0.0-SNAPSHOT API)
</TITLE>
<META NAME="date" CONTENT="2013-10-04">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RSS090Parser (ROME, RSS and atOM utilitiEs for Java 2.0.0-SNAPSHOT API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RSS090Parser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/sun/syndication/io/impl/RSS090Generator.html" title="class in com.sun.syndication.io.impl"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../com/sun/syndication/io/impl/RSS091NetscapeGenerator.html" title="class in com.sun.syndication.io.impl"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?com/sun/syndication/io/impl/RSS090Parser.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="RSS090Parser.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.sun.syndication.io.impl</FONT>
<BR>
Class RSS090Parser</H2>
<PRE>
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/sun/syndication/io/impl/BaseWireFeedParser.html" title="class in com.sun.syndication.io.impl">com.sun.syndication.io.impl.BaseWireFeedParser</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.sun.syndication.io.impl.RSS090Parser</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../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><A HREF="../../../../../com/sun/syndication/io/impl/RSS091UserlandParser.html" title="class in com.sun.syndication.io.impl">RSS091UserlandParser</A>, <A HREF="../../../../../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 <A HREF="../../../../../com/sun/syndication/io/impl/BaseWireFeedParser.html" title="class in com.sun.syndication.io.impl">BaseWireFeedParser</A></DL>
</PRE>
<P>
<HR>
<P>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#RSS090Parser()">RSS090Parser</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#RSS090Parser(java.lang.String, org.jdom2.Namespace)">RSS090Parser</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;type,
org.jdom2.Namespace&nbsp;ns)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;org.jdom2.Namespace</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#getContentNamespace()">getContentNamespace</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the namespace used by Content Module elements in document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;org.jdom2.Element</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#getImage(org.jdom2.Element)">getImage</A></B>(org.jdom2.Element&nbsp;rssRoot)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method exists because RSS0.90 and RSS1.0 have the 'image' element
under the root elemment.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;org.jdom2.Element&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#getItems(org.jdom2.Element)">getItems</A></B>(org.jdom2.Element&nbsp;rssRoot)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method exists because RSS0.90 and RSS1.0 have the 'item' elements
under the root elemment.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;org.jdom2.Namespace</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#getRDFNamespace()">getRDFNamespace</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the namespace used by RDF elements in document of the RSS version
the parser supports.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;org.jdom2.Namespace</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#getRSSNamespace()">getRSSNamespace</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the namespace used by RSS elements in document of the RSS version
the parser supports.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;org.jdom2.Element</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#getTextInput(org.jdom2.Element)">getTextInput</A></B>(org.jdom2.Element&nbsp;rssRoot)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method exists because RSS0.90 and RSS1.0 have the 'textinput'
element under the root elemment.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#isMyType(org.jdom2.Document)">isMyType</A></B>(org.jdom2.Document&nbsp;document)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inspects an XML Document (JDOM) to check if it can parse it.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../com/sun/syndication/feed/WireFeed.html" title="class in com.sun.syndication.feed">WireFeed</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#parse(org.jdom2.Document, boolean)">parse</A></B>(org.jdom2.Document&nbsp;document,
boolean&nbsp;validate)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses an XML document (JDOM Document) into a feed bean.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../../com/sun/syndication/feed/WireFeed.html" title="class in com.sun.syndication.feed">WireFeed</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#parseChannel(org.jdom2.Element)">parseChannel</A></B>(org.jdom2.Element&nbsp;rssRoot)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the root element of an RSS document into a Channel bean.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../../com/sun/syndication/feed/rss/Image.html" title="class in com.sun.syndication.feed.rss">Image</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#parseImage(org.jdom2.Element)">parseImage</A></B>(org.jdom2.Element&nbsp;rssRoot)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the root element of an RSS document looking for image information.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../../com/sun/syndication/feed/rss/Item.html" title="class in com.sun.syndication.feed.rss">Item</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#parseItem(org.jdom2.Element, org.jdom2.Element)">parseItem</A></B>(org.jdom2.Element&nbsp;rssRoot,
org.jdom2.Element&nbsp;eItem)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses an item element of an RSS document looking for item information.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../com/sun/syndication/feed/rss/Item.html" title="class in com.sun.syndication.feed.rss">Item</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#parseItems(org.jdom2.Element)">parseItems</A></B>(org.jdom2.Element&nbsp;rssRoot)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the root element of an RSS document looking for all items
information.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../../../../com/sun/syndication/feed/rss/TextInput.html" title="class in com.sun.syndication.feed.rss">TextInput</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#parseTextInput(org.jdom2.Element)">parseTextInput</A></B>(org.jdom2.Element&nbsp;rssRoot)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parses the root element of an RSS document looking for text-input
information.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/sun/syndication/io/impl/RSS090Parser.html#validateFeed(org.jdom2.Document)">validateFeed</A></B>(org.jdom2.Document&nbsp;document)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.sun.syndication.io.impl.BaseWireFeedParser"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.sun.syndication.io.impl.<A HREF="../../../../../com/sun/syndication/io/impl/BaseWireFeedParser.html" title="class in com.sun.syndication.io.impl">BaseWireFeedParser</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../com/sun/syndication/io/impl/BaseWireFeedParser.html#extractForeignMarkup(org.jdom2.Element, com.sun.syndication.feed.module.Extendable, org.jdom2.Namespace)">extractForeignMarkup</A>, <A HREF="../../../../../com/sun/syndication/io/impl/BaseWireFeedParser.html#getAttribute(org.jdom2.Element, java.lang.String)">getAttribute</A>, <A HREF="../../../../../com/sun/syndication/io/impl/BaseWireFeedParser.html#getAttributeValue(org.jdom2.Element, java.lang.String)">getAttributeValue</A>, <A HREF="../../../../../com/sun/syndication/io/impl/BaseWireFeedParser.html#getType()">getType</A>, <A HREF="../../../../../com/sun/syndication/io/impl/BaseWireFeedParser.html#parseFeedModules(org.jdom2.Element)">parseFeedModules</A>, <A HREF="../../../../../com/sun/syndication/io/impl/BaseWireFeedParser.html#parseItemModules(org.jdom2.Element)">parseItemModules</A>, <A HREF="../../../../../com/sun/syndication/io/impl/BaseWireFeedParser.html#parsePersonModules(org.jdom2.Element)">parsePersonModules</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="RSS090Parser()"><!-- --></A><H3>
RSS090Parser</H3>
<PRE>
public <B>RSS090Parser</B>()</PRE>
<DL>
</DL>
<HR>
<A NAME="RSS090Parser(java.lang.String, org.jdom2.Namespace)"><!-- --></A><H3>
RSS090Parser</H3>
<PRE>
protected <B>RSS090Parser</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;type,
org.jdom2.Namespace&nbsp;ns)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="isMyType(org.jdom2.Document)"><!-- --></A><H3>
isMyType</H3>
<PRE>
public boolean <B>isMyType</B>(org.jdom2.Document&nbsp;document)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/sun/syndication/io/WireFeedParser.html#isMyType(org.jdom2.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>
</DD>
</DL>
<HR>
<A NAME="parse(org.jdom2.Document, boolean)"><!-- --></A><H3>
parse</H3>
<PRE>
public <A HREF="../../../../../com/sun/syndication/feed/WireFeed.html" title="class in com.sun.syndication.feed">WireFeed</A> <B>parse</B>(org.jdom2.Document&nbsp;document,
boolean&nbsp;validate)
throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A>,
<A HREF="../../../../../com/sun/syndication/io/FeedException.html" title="class in com.sun.syndication.io">FeedException</A></PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/sun/syndication/io/WireFeedParser.html#parse(org.jdom2.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><A HREF="http://docs.oracle.com/javase/6/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><A HREF="../../../../../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>
</DD>
</DL>
<HR>
<A NAME="validateFeed(org.jdom2.Document)"><!-- --></A><H3>
validateFeed</H3>
<PRE>
protected void <B>validateFeed</B>(org.jdom2.Document&nbsp;document)
throws <A HREF="../../../../../com/sun/syndication/io/FeedException.html" title="class in com.sun.syndication.io">FeedException</A></PRE>
<DL>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../com/sun/syndication/io/FeedException.html" title="class in com.sun.syndication.io">FeedException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getRSSNamespace()"><!-- --></A><H3>
getRSSNamespace</H3>
<PRE>
protected org.jdom2.Namespace <B>getRSSNamespace</B>()</PRE>
<DL>
<DD>Returns the namespace used by RSS elements in document of the RSS version
the parser supports.
<P>
This implementation returns the EMTPY namespace.
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>returns the EMPTY namespace.</DL>
</DD>
</DL>
<HR>
<A NAME="getRDFNamespace()"><!-- --></A><H3>
getRDFNamespace</H3>
<PRE>
protected org.jdom2.Namespace <B>getRDFNamespace</B>()</PRE>
<DL>
<DD>Returns the namespace used by RDF elements in document of the RSS version
the parser supports.
<P>
This implementation returns the EMTPY namespace.
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>returns the EMPTY namespace.</DL>
</DD>
</DL>
<HR>
<A NAME="getContentNamespace()"><!-- --></A><H3>
getContentNamespace</H3>
<PRE>
protected org.jdom2.Namespace <B>getContentNamespace</B>()</PRE>
<DL>
<DD>Returns the namespace used by Content Module elements in document.
<P>
This implementation returns the EMTPY namespace.
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>returns the EMPTY namespace.</DL>
</DD>
</DL>
<HR>
<A NAME="parseChannel(org.jdom2.Element)"><!-- --></A><H3>
parseChannel</H3>
<PRE>
protected <A HREF="../../../../../com/sun/syndication/feed/WireFeed.html" title="class in com.sun.syndication.feed">WireFeed</A> <B>parseChannel</B>(org.jdom2.Element&nbsp;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.
<DT><B>Returns:</B><DD>the parsed Channel bean.</DL>
</DD>
</DL>
<HR>
<A NAME="getItems(org.jdom2.Element)"><!-- --></A><H3>
getItems</H3>
<PRE>
protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;org.jdom2.Element&gt; <B>getItems</B>(org.jdom2.Element&nbsp;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.
<p/>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getImage(org.jdom2.Element)"><!-- --></A><H3>
getImage</H3>
<PRE>
protected org.jdom2.Element <B>getImage</B>(org.jdom2.Element&nbsp;rssRoot)</PRE>
<DL>
<DD>This method exists because RSS0.90 and RSS1.0 have the 'image' element
under the root elemment. And RSS0.91, RSS0.02, RSS0.93, RSS0.94 and
RSS2.0 have it under the 'channel' element.
<p/>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getTextInput(org.jdom2.Element)"><!-- --></A><H3>
getTextInput</H3>
<PRE>
protected org.jdom2.Element <B>getTextInput</B>(org.jdom2.Element&nbsp;rssRoot)</PRE>
<DL>
<DD>This method exists because RSS0.90 and RSS1.0 have the 'textinput'
element under the root elemment. And RSS0.91, RSS0.02, RSS0.93, RSS0.94
and RSS2.0 have it under the 'channel' element.
<p/>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="parseImage(org.jdom2.Element)"><!-- --></A><H3>
parseImage</H3>
<PRE>
protected <A HREF="../../../../../com/sun/syndication/feed/rss/Image.html" title="class in com.sun.syndication.feed.rss">Image</A> <B>parseImage</B>(org.jdom2.Element&nbsp;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.
<DT><B>Returns:</B><DD>the parsed image bean.</DL>
</DD>
</DL>
<HR>
<A NAME="parseItems(org.jdom2.Element)"><!-- --></A><H3>
parseItems</H3>
<PRE>
protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../com/sun/syndication/feed/rss/Item.html" title="class in com.sun.syndication.feed.rss">Item</A>&gt; <B>parseItems</B>(org.jdom2.Element&nbsp;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>
</DD>
</DL>
<HR>
<A NAME="parseItem(org.jdom2.Element, org.jdom2.Element)"><!-- --></A><H3>
parseItem</H3>
<PRE>
protected <A HREF="../../../../../com/sun/syndication/feed/rss/Item.html" title="class in com.sun.syndication.feed.rss">Item</A> <B>parseItem</B>(org.jdom2.Element&nbsp;rssRoot,
org.jdom2.Element&nbsp;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.
<DT><B>Returns:</B><DD>the parsed RSSItem bean.</DL>
</DD>
</DL>
<HR>
<A NAME="parseTextInput(org.jdom2.Element)"><!-- --></A><H3>
parseTextInput</H3>
<PRE>
protected <A HREF="../../../../../com/sun/syndication/feed/rss/TextInput.html" title="class in com.sun.syndication.feed.rss">TextInput</A> <B>parseTextInput</B>(org.jdom2.Element&nbsp;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.
<DT><B>Returns:</B><DD>the parsed RSSTextInput bean.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RSS090Parser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/sun/syndication/io/impl/RSS090Generator.html" title="class in com.sun.syndication.io.impl"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../com/sun/syndication/io/impl/RSS091NetscapeGenerator.html" title="class in com.sun.syndication.io.impl"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?com/sun/syndication/io/impl/RSS090Parser.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="RSS090Parser.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2004&#x2013;2013 <a href="http://www.rometools.org">ROME Project</a>. All rights reserved.
</BODY>
</HTML>