wt.query.template
Class XSLFOPostProcessor

java.lang.Object
  extended bywt.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
private static String CLASSNAME
           
private static String PDF_EXTENSION
           
private static String RESOURCE
           
 
Fields inherited from interface wt.query.template.ReportPostProcessor
FILE_EXTENSION, OUTPUT_ENCODING, OUTPUT_MEDIA_TYPE
 
Constructor Summary
XSLFOPostProcessor()
           
 
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
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

PDF_EXTENSION

private static final String PDF_EXTENSION
See Also:
Constant Field Values
Constructor Detail

XSLFOPostProcessor

public XSLFOPostProcessor()
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