public class MediaMultipartGenerator extends java.lang.Object implements OutputGenerator<MediaMultipart>
MediaGenerator class.| Constructor and Description |
|---|
MediaMultipartGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(java.io.OutputStream contentStream,
OutputProperties request,
MediaMultipart source)
Generates output for requests that target media resources.
|
AltFormat |
getAltFormat()
Returns the alternate representation format produced the generator.
|
java.lang.Class<MediaMultipart> |
getSourceType()
Returns the
Class that represents the expected source data type for
output generation. |
public AltFormat getAltFormat()
OutputGeneratorgetAltFormat in interface OutputGenerator<MediaMultipart>public java.lang.Class<MediaMultipart> getSourceType()
OutputGeneratorClass that represents the expected source data type for
output generation.getSourceType in interface OutputGenerator<MediaMultipart>public void generate(java.io.OutputStream contentStream,
OutputProperties request,
MediaMultipart source)
throws java.io.IOException
generate in interface OutputGenerator<MediaMultipart>contentStream - the target stream for content generation.request - output properties for the generated outputsource - source object for output generationjava.io.IOException