<DT><B>All Known Implementing Classes:</B><DD><AHREF="../../../../com/sun/syndication/io/impl/Atom03Generator.html"title="class in com.sun.syndication.io.impl">Atom03Generator</A>, <AHREF="../../../../com/sun/syndication/io/impl/Atom10Generator.html"title="class in com.sun.syndication.io.impl">Atom10Generator</A>, <AHREF="../../../../com/sun/syndication/io/impl/BaseWireFeedGenerator.html"title="class in com.sun.syndication.io.impl">BaseWireFeedGenerator</A>, <AHREF="../../../../com/sun/syndication/io/impl/RSS090Generator.html"title="class in com.sun.syndication.io.impl">RSS090Generator</A>, <AHREF="../../../../com/sun/syndication/io/impl/RSS091NetscapeGenerator.html"title="class in com.sun.syndication.io.impl">RSS091NetscapeGenerator</A>, <AHREF="../../../../com/sun/syndication/io/impl/RSS091UserlandGenerator.html"title="class in com.sun.syndication.io.impl">RSS091UserlandGenerator</A>, <AHREF="../../../../com/sun/syndication/io/impl/RSS092Generator.html"title="class in com.sun.syndication.io.impl">RSS092Generator</A>, <AHREF="../../../../com/sun/syndication/io/impl/RSS093Generator.html"title="class in com.sun.syndication.io.impl">RSS093Generator</A>, <AHREF="../../../../com/sun/syndication/io/impl/RSS094Generator.html"title="class in com.sun.syndication.io.impl">RSS094Generator</A>, <AHREF="../../../../com/sun/syndication/io/impl/RSS10Generator.html"title="class in com.sun.syndication.io.impl">RSS10Generator</A>, <AHREF="../../../../com/sun/syndication/io/impl/RSS20Generator.html"title="class in com.sun.syndication.io.impl">RSS20Generator</A></DD>
<TD><CODE><B><AHREF="../../../../com/sun/syndication/io/WireFeedGenerator.html#generate(com.sun.syndication.feed.WireFeed)">generate</A></B>(<AHREF="../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A> feed)</CODE>
<BR>
Creates an XML document (JDOM) for the given feed bean.</TD>
<CODE> <AHREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A></CODE></FONT></TD>
<AHREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A><B>getType</B>()</PRE>
<DD>Returns the type of feed the generator creates.
<p>
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the type of feed the generator creates.<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 this string.
org.jdom2.Document <B>generate</B>(<AHREF="../../../../com/sun/syndication/feed/WireFeed.html"title="class in com.sun.syndication.feed">WireFeed</A> feed)
throws <AHREF="http://docs.oracle.com/javase/6/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>
<DD><CODE><AHREF="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 type of the given feed
bean does not match with the type of the WireFeedGenerator.
<DD><CODE><AHREF="../../../../com/sun/syndication/io/FeedException.html"title="class in com.sun.syndication.io">FeedException</A></CODE> - thrown if the XML Document could not be created.</DL>