public interface

OutputGenerator

com.google.gdata.wireformats.output.OutputGenerator<S>
Known Indirect Subclasses

Class Overview

Interface for generating GData output.

Summary

Public Methods
abstract void generate(OutputStream contentStream, OutputProperties outProps, S source)
Generates content to the output stream based upon the provided request/response.
abstract AltFormat getAltFormat()
Returns the alternate representation format produced the generator.
abstract Class<S> getSourceType()
Returns the Class that represents the expected source data type for output generation.

Public Methods

public abstract void generate (OutputStream contentStream, OutputProperties outProps, S source)

Generates content to the output stream based upon the provided request/response.

Parameters
contentStream The target stream for content generation.
outProps Output properties for the generated output
source Source object for output generation
Throws
IOException

public abstract AltFormat getAltFormat ()

Returns the alternate representation format produced the generator.

public abstract Class<S> getSourceType ()

Returns the Class that represents the expected source data type for output generation.