T
- the expected object type handled by the generatorpublic abstract class WireFormatOutputGenerator<T> extends CharacterGenerator<T>
OutputGenerator
using a WireFormat
to serialize to the
output stream.Constructor and Description |
---|
WireFormatOutputGenerator() |
Modifier and Type | Method and Description |
---|---|
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.
|
generate
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAltFormat, getSourceType
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