com.google.gdata.wireformats.output
Class RssDualGenerator

java.lang.Object
  extended by com.google.gdata.wireformats.output.CharacterGenerator<T>
      extended by com.google.gdata.wireformats.output.WireFormatOutputGenerator<T>
          extended by com.google.gdata.wireformats.output.DualModeGenerator<IAtom>
              extended by com.google.gdata.wireformats.output.RssDualGenerator
All Implemented Interfaces:
OutputGenerator<IAtom>

public class RssDualGenerator
extends DualModeGenerator<IAtom>

An RSS generator that can generate from both old and new data model formats.


Constructor Summary
RssDualGenerator()
           
 
Method Summary
 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.
 WireFormat getWireFormat()
          Returns the wire format to use when generating this output.
 
Methods inherited from class com.google.gdata.wireformats.output.DualModeGenerator
generate
 
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

RssDualGenerator

public RssDualGenerator()
Method Detail

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.


getAltFormat

public AltFormat getAltFormat()
Description copied from interface: OutputGenerator
Returns the alternate representation format produced the generator.


getWireFormat

public WireFormat getWireFormat()
Description copied from class: WireFormatOutputGenerator
Returns the wire format to use when generating this output.

Specified by:
getWireFormat in class WireFormatOutputGenerator<IAtom>