It delegates to a WireFeedOutput to generate all feed types.
| Modifier and Type | Field and Description |
|---|---|
| private final WireFeedOutput |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | output(final SyndFeed
Abstract feed to create XML representation from. The type of the SyndFeedImpl
must match the type given to the FeedOuptut constructor. feed, final File the file where to write the XML representation for the given SyndFeedImpl. file)Creates a File containing with the XML representation for the given SyndFeedImpl. |
| public void | output(final SyndFeed
Abstract feed to create XML representation from. The type of the SyndFeedImpl
must match the type given to the FeedOuptut constructor. feed, final File the file where to write the XML representation for the given SyndFeedImpl. file, final boolean pretty-print XML (true) oder collapsed prettyPrint)Creates a File containing with the XML representation for the given SyndFeedImpl. |
| public void | output(final SyndFeed
Abstract feed to create XML representation from. The type of the SyndFeedImpl
must match the type given to the FeedOuptut constructor. feed, final Writer Writer to write the XML representation for the given SyndFeedImpl. writer)Writes to an Writer the XML representation for the given SyndFeedImpl. |
| public void | output(final SyndFeed
Abstract feed to create XML representation from. The type of the SyndFeedImpl
must match the type given to the FeedOuptut constructor. feed, final Writer Writer to write the XML representation for the given SyndFeedImpl. writer, final boolean pretty-print XML (true) oder collapsed prettyPrint)Writes to an Writer the XML representation for the given SyndFeedImpl. |
| public Document | Returns: the JDOM document for the given SyndFeedImpl.Abstract feed to create JDOM document from. The type of the SyndFeedImpl must
match the type given to the FeedOuptut constructor. feed)Creates a JDOM document for the given SyndFeedImpl. |
| public String | Returns: a String with the XML representation for the given SyndFeedImpl.Abstract feed to create XML representation from. The type of the SyndFeedImpl
must match the type given to the FeedOuptut constructor. feed)Creates a String with the XML representation for the given SyndFeedImpl. |
| public String | Returns: a String with the XML representation for the given SyndFeedImpl.Abstract feed to create XML representation from. The type of the SyndFeedImpl
must match the type given to the FeedOuptut constructor. feed, final boolean pretty-print XML (true) oder collapsed prettyPrint)Creates a String with the XML representation for the given SyndFeedImpl. |
| public Document | Returns: the W3C DOM document for the given SyndFeedImpl.Abstract feed to create W3C DOM document from. The type of the SyndFeedImpl must
match the type given to the FeedOuptut constructor. feed)Creates a W3C DOM document for the given SyndFeedImpl. |
| feedOutput | back to summary |
|---|---|
| private final WireFeedOutput feedOutput | |
| SyndFeedOutput | back to summary |
|---|---|
| public SyndFeedOutput() | |
| output | back to summary |
|---|---|
| public void output(final SyndFeed feed, final File file) throws IOException, FeedException Creates a File containing with the XML representation for the given SyndFeedImpl. If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. The platform default charset encoding is used to write the feed to the file. It is the responsibility of the developer to ensure the feed encoding is set to the platform charset encoding.
| |
| output | back to summary |
|---|---|
| public void output(final SyndFeed feed, final File file, final boolean prettyPrint) throws IOException, FeedException Creates a File containing with the XML representation for the given SyndFeedImpl. If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. The platform default charset encoding is used to write the feed to the file. It is the responsibility of the developer to ensure the feed encoding is set to the platform charset encoding.
| |
| output | back to summary |
|---|---|
| public void output(final SyndFeed feed, final Writer writer) throws IOException, FeedException Writes to an Writer the XML representation for the given SyndFeedImpl. If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. It is the responsibility of the developer to ensure that if the String is written to a character stream the stream charset is the same as the feed encoding property.
| |
| output | back to summary |
|---|---|
| public void output(final SyndFeed feed, final Writer writer, final boolean prettyPrint) throws IOException, FeedException Writes to an Writer the XML representation for the given SyndFeedImpl. If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. It is the responsibility of the developer to ensure that if the String is written to a character stream the stream charset is the same as the feed encoding property.
| |
| outputJDom | back to summary |
|---|---|
| public Document outputJDom(final SyndFeed feed) throws FeedException Creates a JDOM document for the given SyndFeedImpl. This method does not use the feed encoding property.
| |
| outputString | back to summary |
|---|---|
| public String outputString(final SyndFeed feed) throws FeedException Creates a String with the XML representation for the given SyndFeedImpl. If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. It is the responsibility of the developer to ensure that if the String is written to a character stream the stream charset is the same as the feed encoding property.
| |
| outputString | back to summary |
|---|---|
| public String outputString(final SyndFeed feed, final boolean prettyPrint) throws FeedException Creates a String with the XML representation for the given SyndFeedImpl. If the feed encoding is not NULL, it will be used in the XML prolog encoding attribute. It is the responsibility of the developer to ensure that if the String is written to a character stream the stream charset is the same as the feed encoding property.
| |
| outputW3CDom | back to summary |
|---|---|
| public Document outputW3CDom(final SyndFeed feed) throws FeedException Creates a W3C DOM document for the given SyndFeedImpl. This method does not use the feed encoding property.
| |