|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.macromedia.rssu.Generator
The generator is a base class for all the objects that will create RSS documents.
In general, a generator is the opposite of a parser, and produces RSS.
| Constructor Summary | |
Generator()
|
|
| Method Summary | |
void |
generate(Channel channel,
java.io.File file)
Generate xml to a file. |
abstract void |
generate(Channel channel,
java.io.OutputStream stream)
Given a channel object we will produce a valid XML document. |
java.lang.String |
generateToString(Channel channel)
Generate the xml from a channel and return it as a String. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Generator()
| Method Detail |
public abstract void generate(Channel channel,
java.io.OutputStream stream)
throws RssException
channel - is the object to convert to xmlstream - is where to write the xml document to
RssException
public void generate(Channel channel,
java.io.File file)
throws RssException
channel - is the object to create xml fromfile - is the file to write to
RssException
public java.lang.String generateToString(Channel channel)
throws RssException
channel - is the data to render as xml
RssException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||