<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.SyndFeedInput</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>SyndFeedInput</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 SyndFeedImpl.
<p>
It delegates to a WireFeedInput to handle all feed types.
<CODE> <AHREF="../../../../com/sun/syndication/feed/synd/SyndFeed.html"title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/sun/syndication/io/SyndFeedInput.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 SyndFeedImpl from an W3C DOM document.</TD>
<CODE> <AHREF="../../../../com/sun/syndication/feed/synd/SyndFeed.html"title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></FONT></TD>
<CODE> <AHREF="../../../../com/sun/syndication/feed/synd/SyndFeed.html"title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/sun/syndication/io/SyndFeedInput.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 SyndFeedImpl from a file.</TD>
<CODE> <AHREF="../../../../com/sun/syndication/feed/synd/SyndFeed.html"title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/sun/syndication/io/SyndFeedInput.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 SyndFeedImpl from an W3C SAX InputSource.</TD>
<CODE> <AHREF="../../../../com/sun/syndication/feed/synd/SyndFeed.html"title="interface in com.sun.syndication.feed.synd">SyndFeed</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/sun/syndication/io/SyndFeedInput.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 SyndFeedImpl from an Reader.</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>
<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/synd/SyndFeed.html"title="interface in com.sun.syndication.feed.synd">SyndFeed</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 SyndFeedImpl from a file.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>file</CODE> - file to read to create the SyndFeedImpl.
<DT><B>Returns:</B><DD>the SyndFeedImpl 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/synd/SyndFeed.html"title="interface in com.sun.syndication.feed.synd">SyndFeed</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 SyndFeedImpl from an Reader.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - Reader to read to create the SyndFeedImpl.
<DT><B>Returns:</B><DD>the SyndFeedImpl 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/synd/SyndFeed.html"title="interface in com.sun.syndication.feed.synd">SyndFeed</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 SyndFeedImpl from an W3C SAX InputSource.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>is</CODE> - W3C SAX InputSource to read to create the SyndFeedImpl.
<DT><B>Returns:</B><DD>the SyndFeedImpl 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/synd/SyndFeed.html"title="interface in com.sun.syndication.feed.synd">SyndFeed</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 SyndFeedImpl from an W3C DOM document.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>document</CODE> - W3C DOM document to read to create the SyndFeedImpl.
<DT><B>Returns:</B><DD>the SyndFeedImpl 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/synd/SyndFeed.html"title="interface in com.sun.syndication.feed.synd">SyndFeed</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 SyndFeedImpl from an JDOM document.
<p>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>document</CODE> - JDOM document to read to create the SyndFeedImpl.
<DT><B>Returns:</B><DD>the SyndFeedImpl 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="isPreserveWireFeed()"><!----></A><H3>
isPreserveWireFeed</H3>
<PRE>
public boolean <B>isPreserveWireFeed</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>true if the WireFeed is made available in the SyndFeed. False by default.</DL>