Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.jclark.xsl.sax
Class ServletDestination

    java.lang.Object
      com.jclark.xsl.sax.GenericDestination
          com.jclark.xsl.sax.ServletDestination

All Implemented Interfaces:
  Destination

public class ServletDestination
extends GenericDestination

provides and initializes an output stream to (through) a ServletResponse

Constructor Summary
`ServletDestination(javax.servlet.ServletResponse response)`

Method Summary
`java.io.OutputStream` | `getOutputStream(java.lang.String contentType, java.lang.String encoding)` gets an OutputStream for the named (Java style) character encoding and mime content type.

Methods inherited from class com.jclark.xsl.sax.GenericDestination
`getEncoding, getWriter, keepOpen, resolve, setEncoding`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ServletDestination

    public ServletDestination(javax.servlet.ServletResponse response)

Method Detail

### getOutputStream

    public java.io.OutputStream getOutputStream(java.lang.String contentType,
                                                java.lang.String encoding)
                                         throws java.io.IOException

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

  Throws:
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD