com.google.gdata.wireformats.output
Class RssGenerator

java.lang.Object
  extended by com.google.gdata.wireformats.output.CharacterGenerator<S>
      extended by com.google.gdata.wireformats.output.XmlGenerator<IAtom>
          extended by 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.


Field Summary
 
Fields inherited from class com.google.gdata.wireformats.output.XmlGenerator
XML_CONTENT_TYPES
 
Constructor Summary
RssGenerator()
           
 
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 com.google.gdata.wireformats.output.XmlGenerator
createMatchingXmlList, generate, getXmlWriter
 
Methods inherited from class com.google.gdata.wireformats.output.CharacterGenerator
generate, getCharsetEncoding, getContentWriter, usePrettyPrint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RssGenerator

public RssGenerator()
Method Detail

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