wt.query.template
Class XSLFOPostProcessor

java.lang.Object
  extended by wt.query.template.XSLFOPostProcessor
All Implemented Interfaces:
ReportPostProcessor

public class XSLFOPostProcessor
extends Object
implements ReportPostProcessor

This post processor class provides an XSL Formatting Objects implementation.

Supported API: true

Extendable: false


Field Summary
 
Fields inherited from interface wt.query.template.ReportPostProcessor
FILE_EXTENSION, OUTPUT_ENCODING, OUTPUT_MEDIA_TYPE
 
Method Summary
 String getFileExtension()
          Gets the value of the attribute: fileExtension; File extension

Supported API: true
 String getOutputEncoding()
          Gets the value of the attribute: outputEncoding; Character encoding to be output by post processor.
 String getOutputMediaType()
          Gets the value of the attribute: outputMediaType; MIME type to be output by post processor.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOutputMediaType

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

Supported API: true

Specified by:
getOutputMediaType in interface ReportPostProcessor
Returns:
String

getOutputEncoding

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

Supported API: true

Specified by:
getOutputEncoding in interface ReportPostProcessor
Returns:
String

getFileExtension

public String getFileExtension()
Gets the value of the attribute: fileExtension; File extension

Supported API: true

Specified by:
getFileExtension in interface ReportPostProcessor
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

Specified by:
process in interface ReportPostProcessor
Parameters:
a_transform - Transform to use for psot-processing
a_outputStream - Output stream to write results to
Throws:
WTException