com.google.gdata.wireformats.output
Class AtomDualGenerator

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.AtomDualGenerator
All Implemented Interfaces:
OutputGenerator<IAtom>

public class AtomDualGenerator
extends DualModeGenerator<IAtom>

A dual-mode generator for atom.


Constructor Summary
AtomDualGenerator()
           
AtomDualGenerator(AltFormat altFormat)
           
 
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

AtomDualGenerator

public AtomDualGenerator()

AtomDualGenerator

public AtomDualGenerator(AltFormat altFormat)
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>