T - expected source object typepublic abstract class DualModeGenerator<T> extends WireFormatOutputGenerator<T>
| Modifier | Constructor and Description |
|---|---|
protected |
DualModeGenerator(CharacterGenerator<T> oldGen) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(java.io.Writer contentWriter,
OutputProperties outProps,
T source)
Generates content to the writer based upon the provided request/response.
|
getWireFormatgenerate, getCharsetEncoding, getContentWriter, usePrettyPrintclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAltFormat, getSourceTypeprotected DualModeGenerator(CharacterGenerator<T> oldGen)
public void generate(java.io.Writer contentWriter,
OutputProperties outProps,
T source)
throws java.io.IOException
WireFormatOutputGeneratorgenerate in class WireFormatOutputGenerator<T>contentWriter - output writer.outProps - output properties for the generated output.source - source object for the generated output.java.io.IOException