<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 "><B>com.sun.syndication.io.WireFeedInput</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>WireFeedInput</B><DT>extends <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></DL>
</PRE>
<P>
Parses an XML document (File, InputStream, Reader, W3C SAX InputSource, W3C DOM Document or JDom DOcument)
into an WireFeed (RSS/Atom).
<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. Parsers are plugable (they must implement the WireFeedParser interface).
<CODE> <AHREF="../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/sun/syndication/io/WireFeedInput.html#build(org.w3c.dom.Document)">build</A></B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</A> document)</CODE>
<BR>
Builds an WireFeed (RSS or Atom) from an W3C DOM document.</TD>
<CODE> <AHREF="../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/sun/syndication/io/WireFeedInput.html#build(java.io.File)">build</A></B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true"title="class or interface in java.io">File</A> file)</CODE>
<BR>
Builds an WireFeed (RSS or Atom) from a file.</TD>
<CODE> <AHREF="../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/sun/syndication/io/WireFeedInput.html#build(org.xml.sax.InputSource)">build</A></B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/org/xml/sax/InputSource.html?is-external=true"title="class or interface in org.xml.sax">InputSource</A> is)</CODE>
<BR>
Builds an WireFeed (RSS or Atom) from an W3C SAX InputSource.</TD>
<CODE> <AHREF="../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/sun/syndication/io/WireFeedInput.html#build(java.io.Reader)">build</A></B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/Reader.html?is-external=true"title="class or interface in java.io">Reader</A> reader)</CODE>
<BR>
Builds an WireFeed (RSS or Atom) from an Reader.</TD>
<CODE>protected <AHREF="../../../../com/sun/syndication/io/SAXBuilder.html"title="class in com.sun.syndication.io">SAXBuilder</A></CODE></FONT></TD>
<CODE>static <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>
Indicates if the WiredFeedInput instance will XML heal (if necessary) the character stream.</TD>
<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 <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>
<DL>
<DD>Returns the list of supported input feed types.
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a list of String elements with the supported input feed types.<DT><B>See Also:</B><DD><AHREF="../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed"><CODE>for details on the format of these strings.
<p></CODE></A></DL>
</DD>
</DL>
<HR>
<ANAME="setXmlHealerOn(boolean)"><!----></A><H3>
setXmlHealerOn</H3>
<PRE>
public void <B>setXmlHealerOn</B>(boolean heals)</PRE>
<DL>
<DD>Enables XML healing in the WiredFeedInput instance.
<p>
Healing trims leading chars from the stream (empty spaces and comments) until the XML prolog.
<p>
Healing resolves HTML entities (from literal to code number) in the reader.
<p>
The healing is done only with the build(File) and build(Reader) signatures.
<DD>Indicates if the WiredFeedInput instance will XML heal (if necessary) the character stream.
<p>
Healing trims leading chars from the stream (empty spaces and comments) until the XML prolog.
<p>
Healing resolves HTML entities (from literal to code number) in the reader.
<p>
The healing is done only with the build(File) and build(Reader) signatures.
<p>
By default is TRUE.
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>TRUE if healing is enabled, FALSE if not.</DL>
</DD>
</DL>
<HR>
<ANAME="build(java.io.File)"><!----></A><H3>
build</H3>
<PRE>
public <AHREF="../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A><B>build</B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true"title="class or interface in java.io">File</A> file)
throws <AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/FileNotFoundException.html?is-external=true"title="class or interface in java.io">FileNotFoundException</A>,
<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</A>,
<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>Builds an WireFeed (RSS or Atom) from a file.
<p>
NOTE: This method delages to the 'AsbtractFeed WireFeedInput#build(org.jdom.Document)'.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>file</CODE> - file to read to create the WireFeed.
<DT><B>Returns:</B><DD>the WireFeed read from the file.
<DT><B>Throws:</B>
<DD><CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/FileNotFoundException.html?is-external=true"title="class or interface in java.io">FileNotFoundException</A></CODE> - thrown if the file could not be found.
<DD><CODE><AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</A></CODE> - thrown if there is problem reading the file.
<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 feed type could not be understood by any of the underlying parsers.
<DD><CODE><AHREF="../../../../com/sun/syndication/io/FeedException.html"title="class in com.sun.syndication.io">FeedException</A></CODE> - if the feed could not be parsed</DL>
</DD>
</DL>
<HR>
<ANAME="build(java.io.Reader)"><!----></A><H3>
build</H3>
<PRE>
public <AHREF="../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A><B>build</B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/io/Reader.html?is-external=true"title="class or interface in java.io">Reader</A> reader)
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>Builds an WireFeed (RSS or Atom) from an Reader.
<p>
NOTE: This method delages to the 'AsbtractFeed WireFeedInput#build(org.jdom.Document)'.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - Reader to read to create the WireFeed.
<DT><B>Returns:</B><DD>the WireFeed read from the Reader.
<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 feed type could not be understood by any of the underlying parsers.
<DD><CODE><AHREF="../../../../com/sun/syndication/io/FeedException.html"title="class in com.sun.syndication.io">FeedException</A></CODE> - if the feed could not be parsed</DL>
public <AHREF="../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A><B>build</B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/org/xml/sax/InputSource.html?is-external=true"title="class or interface in org.xml.sax">InputSource</A> is)
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>Builds an WireFeed (RSS or Atom) from an W3C SAX InputSource.
<p>
NOTE: This method delages to the 'AsbtractFeed WireFeedInput#build(org.jdom.Document)'.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>is</CODE> - W3C SAX InputSource to read to create the WireFeed.
<DT><B>Returns:</B><DD>the WireFeed read from the W3C SAX InputSource.
<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 feed type could not be understood by any of the underlying parsers.
<DD><CODE><AHREF="../../../../com/sun/syndication/io/FeedException.html"title="class in com.sun.syndication.io">FeedException</A></CODE> - if the feed could not be parsed</DL>
public <AHREF="../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A><B>build</B>(<AHREF="http://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</A> document)
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>Builds an WireFeed (RSS or Atom) from an W3C DOM document.
<p>
NOTE: This method delages to the 'AsbtractFeed WireFeedInput#build(org.jdom.Document)'.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>document</CODE> - W3C DOM document to read to create the WireFeed.
<DT><B>Returns:</B><DD>the WireFeed read from the W3C DOM document.
<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 feed type could not be understood by any of the underlying parsers.
<DD><CODE><AHREF="../../../../com/sun/syndication/io/FeedException.html"title="class in com.sun.syndication.io">FeedException</A></CODE> - if the feed could not be parsed</DL>
</DD>
</DL>
<HR>
<ANAME="build(org.jdom.Document)"><!----></A><H3>
build</H3>
<PRE>
public <AHREF="../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A><B>build</B>(org.jdom.Document document)
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>Builds an WireFeed (RSS or Atom) from an JDOM document.
<p>
NOTE: All other build methods delegate to this method.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>document</CODE> - JDOM document to read to create the WireFeed.
<DT><B>Returns:</B><DD>the WireFeed read from the JDOM document.
<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 feed type could not be understood by any of the underlying parsers.
<DD><CODE><AHREF="../../../../com/sun/syndication/io/FeedException.html"title="class in com.sun.syndication.io">FeedException</A></CODE> - if the feed could not be parsed</DL>
</DD>
</DL>
<HR>
<ANAME="createSAXBuilder()"><!----></A><H3>
createSAXBuilder</H3>
<PRE>
protected <AHREF="../../../../com/sun/syndication/io/SAXBuilder.html"title="class in com.sun.syndication.io">SAXBuilder</A><B>createSAXBuilder</B>()</PRE>
<DL>
<DD>Creates and sets up a org.jdom.input.SAXBuilder for parsing.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a new org.jdom.input.SAXBuilder object</DL>