| Modifier and Type | Method and Description |
|---|---|
RSS |
RSSDoc.buildRSS(Channel channel,
List<Attribute> attributes,
List<Extension> extensions) |
RSS |
RSSDoc.readRSSToBean(File file)
This method reads an xml File object into a Feed element.
|
RSS |
RSSDoc.readRSSToBean(InputStream inputStream)
This method reads an rss file from an input stream into a RSS element.
|
RSS |
RSSDoc.readRSSToBean(String xmlString)
This method reads an xml string into a Feed element.
|
RSS |
RSSDoc.readRSSToBean(URL url)
This method reads an rss file from a URL into a Feed element.
|
| Modifier and Type | Method and Description |
|---|---|
String |
RSSDoc.readRSSToString(RSS rss,
String xmlStreamWriter)
This method reads in a Feed element and returns the contents as an rss
feed string with formatting specified by the fully qualified
XMLStreamWriter class name (uses reflection internally).
|
void |
RSSDoc.writeRSSDoc(File file,
RSS rss,
String encoding,
String version) |
void |
RSSDoc.writeRSSDoc(OutputStream output,
RSS rss,
String encoding,
String version) |
void |
RSSDoc.writeRSSDoc(XMLStreamWriter output,
RSS rss,
String encoding,
String version)
For example: to pass the TXW
com.sun.xml.txw2.output.IndentingXMLStreamWriter or the stax-utils
javanet.staxutils.IndentingXMLStreamWriter for indented printing do this:
|
Copyright © 2014. All rights reserved.