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.
@param feed Abstract feed to create XML representation from. The type of the SyndFeedImplmust match the type given to the FeedOuptut constructor. @param file the file where to write the XML representation for the given SyndFeedImpl. @throws IOException thrown if there was some problem writing to the File. @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. 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.
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. @param file the file where to write the XML representation for the given WireFeed. @throws IllegalArgumentException thrown if the feed type of the WireFeedOutput and WireFeeddon't match. @throws IOException thrown if there was some problem writing to the File. @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. 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.
@param feed Abstract feed to create XML representation from. The type of the SyndFeedImpl must match the type given to the FeedOuptut constructor. @param file the file where to write the XML representation for the given SyndFeedImpl. @throws IOException thrown if there was some problem writing to the File. @throws FeedException thrown if the XML representation for the feed could not be created.
@param feed Abstract feed to create XML representation from. The type of the SyndFeed must matchthe type given to the FeedOuptut constructor. @param file the file where to write the XML representation for the given SyndFeed. @throws IOException thrown if there was some problem writing to the File. @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. 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.
NOTE: This method delages to the 'Document WireFeedOutput#outputJDom(WireFeed)'.
@param feed Abstract feed to create XML representation from. The type of the WireFeed must match the type given to the FeedOuptut constructor. @param file the file where to write the XML representation for the given WireFeed. @throws IllegalArgumentException thrown if the feed type of the WireFeedOutput and WireFeed don't match. @throws IOException thrown if there was some problem writing to the File. @throws FeedException thrown if the XML representation for the feed could not be created.
Document
to the given output stream. The characters are printed using the encoding specified in the constructor, or a default of UTF-8.
@param doc Document
to format.
@param out OutputStream
to use.
@throws IOException - if there's any problem writing.
Document
parameter to a DOM Document, returning the DOM version. The DOM implementation is the one chosen in the constructor.
@param document Document
to output.
@return an org.w3c.dom.Document
version
JDOM Document
, firing off the SAX events that have been registered.
@param document JDOM Document
to output.
@throws JDOMException if any error occurred.
Document
to the given output stream. The characters are printed using the encoding specified in the constructor, or a default of UTF-8.
@param doc Document
to format.
@param out OutputStream
to use.
@throws IOException - if there's any problem writing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|