com.jclark.xsl.sax

Class ServletDestination

public class ServletDestination extends GenericDestination

provides and initializes an output stream to (through) a ServletResponse
Constructor Summary
ServletDestination(ServletResponse response)
Method Summary
OutputStreamgetOutputStream(String contentType, String encoding)
gets an OutputStream for the named (Java style) character encoding and mime content type.

Constructor Detail

ServletDestination

public ServletDestination(ServletResponse response)

Method Detail

getOutputStream

public OutputStream getOutputStream(String contentType, String encoding)
gets an OutputStream for the named (Java style) character encoding and mime content type. Sets the ServletResponse's content type and encoding