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(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(Writer contentWriter, OutputProperties outProps, T source) throws IOException
WireFormatOutputGeneratorgenerate in class WireFormatOutputGenerator<T>contentWriter - output writer.outProps - output properties for the generated output.source - source object for the generated output.IOExceptionCopyright © 2012. All Rights Reserved.