|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openi.xml.RssFeedGenerator
public class RssFeedGenerator
Uses the informa rss feed parser library. Responsible for creating new rss channels, exporting to xml, retrieving rss feeds - both internal and external.
| Constructor Summary | |
|---|---|
RssFeedGenerator()
|
|
| Method Summary | |
|---|---|
static de.nava.informa.core.ChannelIF |
createChannel(Menu menu)
Create an rss ChannelIF object, based on a users' OpenI menu. |
static de.nava.informa.core.ChannelIF |
createChannel(java.lang.String feedUrl)
traps an IOException |
static de.nava.informa.core.ChannelIF |
createStaticChannel()
This method is not so cool b/c removes boundary between informa api and openi but when I exposed only the xml via servlet - user not authenticated problem so had to expose direct call to the actual channel object Malformed url exceptions are trapped. |
static void |
exportFeed(java.io.Writer writer,
de.nava.informa.core.ChannelIF channel)
Generates rss feed xml (v2.0) from the channel object, piping the results to the writer stream. |
static void |
exportFeed(java.io.Writer writer,
de.nava.informa.core.ChannelIF channel,
java.lang.String encoding)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RssFeedGenerator()
| Method Detail |
|---|
public static de.nava.informa.core.ChannelIF createStaticChannel()
public static de.nava.informa.core.ChannelIF createChannel(java.lang.String feedUrl)
feedUrl -
public static de.nava.informa.core.ChannelIF createChannel(Menu menu)
menu -
public static void exportFeed(java.io.Writer writer,
de.nava.informa.core.ChannelIF channel)
public static void exportFeed(java.io.Writer writer,
de.nava.informa.core.ChannelIF channel,
java.lang.String encoding)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||