S
- source data type that will be used as the input to the generatorpublic interface OutputGenerator<S>
Modifier and Type | Method and Description |
---|---|
void |
generate(java.io.OutputStream contentStream,
OutputProperties outProps,
S source)
Generates content to the output stream based upon the provided
request/response.
|
AltFormat |
getAltFormat()
Returns the alternate representation format produced the generator.
|
java.lang.Class<S> |
getSourceType()
Returns the
Class that represents the expected source data type for
output generation. |
AltFormat getAltFormat()
java.lang.Class<S> getSourceType()
Class
that represents the expected source data type for
output generation.void generate(java.io.OutputStream contentStream, OutputProperties outProps, S source) throws java.io.IOException
contentStream
- the target stream for content generation.outProps
- output properties for the generated outputsource
- source object for output generationjava.io.IOException