public abstract class

DualModeGenerator

extends WireFormatOutputGenerator<T>
java.lang.Object
   ↳ com.google.gdata.wireformats.output.CharacterGenerator<S>
     ↳ com.google.gdata.wireformats.output.WireFormatOutputGenerator<T>
       ↳ com.google.gdata.wireformats.output.DualModeGenerator<T>
Known Direct Subclasses

Class Overview

A bridge between old and new data models for output generators.

Summary

Fields
private final CharacterGenerator<T> oldGen
Protected Constructors
DualModeGenerator(CharacterGenerator<T> oldGen)
Public Methods
void generate(Writer contentWriter, OutputProperties outProps, T source)
Generates content to the writer based upon the provided request/response.
[Expand]
Inherited Methods
From class com.google.gdata.wireformats.output.WireFormatOutputGenerator
From class com.google.gdata.wireformats.output.CharacterGenerator
From class java.lang.Object
From interface com.google.gdata.wireformats.output.OutputGenerator

Fields

private final CharacterGenerator<T> oldGen

Protected Constructors

protected DualModeGenerator (CharacterGenerator<T> oldGen)

Parameters
oldGen

Public Methods

public void generate (Writer contentWriter, OutputProperties outProps, T source)

Generates content to the writer based upon the provided request/response.

Parameters
contentWriter Output writer.
outProps Output properties for the generated output.
source Source object for the generated output.
Throws
IOException