com.google.gdata.wireformats.output
Class RssGenerator
java.lang.Object
com.google.gdata.wireformats.output.CharacterGenerator<S>
com.google.gdata.wireformats.output.XmlGenerator<IAtom>
com.google.gdata.wireformats.output.RssGenerator
- All Implemented Interfaces:
- OutputGenerator<IAtom>
public class RssGenerator
- extends XmlGenerator<IAtom>
The RssGenerator class is a concrete implementation of the OutputGenerator
interface that generates GData feeds and entries using the RSS 2.0 Syntax.
Method Summary |
void |
generateXml(XmlWriter xw,
OutputProperties outProps,
IAtom source)
Generates the XML content to the provided XML writer instance based
upon the query request/response attributes. |
AltFormat |
getAltFormat()
Returns the alternate representation format produced the generator. |
java.lang.Class<IAtom> |
getSourceType()
Returns the Class that represents the expected source data type for
output generation. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RssGenerator
public RssGenerator()
getAltFormat
public AltFormat getAltFormat()
- Description copied from interface:
OutputGenerator
- Returns the alternate representation format produced the generator.
getSourceType
public java.lang.Class<IAtom> getSourceType()
- Description copied from interface:
OutputGenerator
- Returns the
Class
that represents the expected source data type for
output generation.
generateXml
public void generateXml(XmlWriter xw,
OutputProperties outProps,
IAtom source)
throws java.io.IOException
- Description copied from class:
XmlGenerator
- Generates the XML content to the provided XML writer instance based
upon the query request/response attributes.
- Specified by:
generateXml
in class XmlGenerator<IAtom>
- Throws:
java.io.IOException