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.
NOTE: This method delages to the 'Document WireFeedOutput#outputJDom(WireFeed)'.
@param feed Abstract feed to create XML representation from. The type of the WireFeed mustmatch the type given to the FeedOuptut constructor. @return a String with the XML representation for the given WireFeed. @throws IllegalArgumentException thrown if the feed type of the WireFeedOutput and WireFeeddon't match. @throws FeedException thrown if the XML representation for the feed could not be created.
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.
@param feed Abstract feed to create XML representation from. The type of the SyndFeedImpl must match the type given to the FeedOuptut constructor. @return a String with the XML representation for the given SyndFeedImpl. @throws FeedException thrown if the XML representation for the feed could not be created.
Document
to format.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|