com.jclark.xsl.sax

Class OutputStreamDestination

Implemented Interfaces:
Destination

public class OutputStreamDestination
extends GenericDestination

A Destination on an already opened OutputStream

Constructor Summary

OutputStreamDestination(OutputStream outputStream)

Method Summary

OutputStream
getOutputStream(String contentType, String encoding)
initialize with the given (Java) character encoding name, ignore the mime contentType and return the OutputStream for an OutputHandler to write to

Methods inherited from class com.jclark.xsl.sax.GenericDestination

getEncoding, getWriter, keepOpen, resolve, setEncoding

Constructor Details

OutputStreamDestination

public OutputStreamDestination(OutputStream outputStream)

Method Details

getOutputStream

public OutputStream getOutputStream(String contentType,
                                    String encoding)
initialize with the given (Java) character encoding name, ignore the mime contentType and return the OutputStream for an OutputHandler to write to
Specified by:
getOutputStream in interface Destination