wt.query.template
Interface ReportPostProcessor

All Known Implementing Classes:
SVGPostProcessor, XSLFOPostProcessor

public interface ReportPostProcessor

This interface specifies post-processing methods for reports.

Supported API: true

Extendable: true


Field Summary
static String FILE_EXTENSION
          Label for the attribute; File extension

Supported API: true
static String OUTPUT_ENCODING
          Label for the attribute; Character encoding to be output by post processor.
static String OUTPUT_MEDIA_TYPE
          Label for the attribute; MIME type to be output by post processor.
 
Method Summary
 String getFileExtension()
          Gets the value of the attribute: FILE_EXTENSION.
 String getOutputEncoding()
          Gets the value of the attribute: OUTPUT_ENCODING.
 String getOutputMediaType()
          Gets the value of the attribute: OUTPUT_MEDIA_TYPE.
 void process(XSLTransform a_transform, OutputStream a_outputStream)
          Execute post-processing by requesting transform output via XSLTransform API and output transform results to output stream.
 

Field Detail

OUTPUT_MEDIA_TYPE

public static final String OUTPUT_MEDIA_TYPE
Label for the attribute; MIME type to be output by post processor.

Supported API: true

See Also:
Constant Field Values

OUTPUT_ENCODING

public static final String OUTPUT_ENCODING
Label for the attribute; Character encoding to be output by post processor.

Supported API: true

See Also:
Constant Field Values

FILE_EXTENSION

public static final String FILE_EXTENSION
Label for the attribute; File extension

Supported API: true

See Also:
Constant Field Values
Method Detail

getOutputMediaType

public String getOutputMediaType()
Gets the value of the attribute: OUTPUT_MEDIA_TYPE. MIME type to be output by post processor.

Supported API: true

Returns:
String

getOutputEncoding

public String getOutputEncoding()
Gets the value of the attribute: OUTPUT_ENCODING. Character encoding to be output by post processor.

Supported API: true

Returns:
String

getFileExtension

public String getFileExtension()
Gets the value of the attribute: FILE_EXTENSION. File extension

Supported API: true

Returns:
String

process

public void process(XSLTransform a_transform,
                    OutputStream a_outputStream)
             throws WTException
Execute post-processing by requesting transform output via XSLTransform API and output transform results to output stream.

Supported API: true

Parameters:
a_transform - Transform to use for psot-processing
a_outputStream - Output stream to write results to
Throws:
WTException