|
|||||||||
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>
T
- the expected object type handled by the generatorpublic abstract class WireFormatOutputGenerator<T>
An OutputGenerator
using a WireFormat
to serialize to the
output stream.
Constructor Summary | |
---|---|
WireFormatOutputGenerator()
|
Method Summary | |
---|---|
void |
generate(java.io.Writer w,
OutputProperties outProps,
T source)
Generates content to the writer based upon the provided request/response. |
abstract WireFormat |
getWireFormat()
Returns the wire format to use when generating this output. |
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 |
---|
public WireFormatOutputGenerator()
Method Detail |
---|
public abstract WireFormat getWireFormat()
public void generate(java.io.Writer w, OutputProperties outProps, T source) throws java.io.IOException
generate
in class CharacterGenerator<T>
w
- 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 |