|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.wireformats.output.CharacterGenerator<T>
com.google.gdata.wireformats.output.WireFormatOutputGenerator<T>
com.google.gdata.wireformats.output.DualModeGenerator<T>
T - expected source object typepublic abstract class DualModeGenerator<T>
A bridge between old and new data models for output generators.
| Constructor Summary | |
|---|---|
protected |
DualModeGenerator(CharacterGenerator<T> oldGen)
|
| Method Summary | |
|---|---|
void |
generate(java.io.Writer contentWriter,
OutputProperties outProps,
T source)
Generates content to the writer based upon the provided request/response. |
| Methods inherited from class com.google.gdata.wireformats.output.WireFormatOutputGenerator |
|---|
getWireFormat |
| 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 |
| Methods inherited from interface com.google.gdata.wireformats.output.OutputGenerator |
|---|
getAltFormat, getSourceType |
| Constructor Detail |
|---|
protected DualModeGenerator(CharacterGenerator<T> oldGen)
| Method Detail |
|---|
public void generate(java.io.Writer contentWriter,
OutputProperties outProps,
T source)
throws java.io.IOException
WireFormatOutputGenerator
generate in class WireFormatOutputGenerator<T>contentWriter - output writer.outProps - output properties for the generated output.source - source object for the generated output.
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||