com.jclark.xsl.sax
Class FileDescriptorDestination

java.lang.Object
  |
  +--com.jclark.xsl.sax.GenericDestination
        |
        +--com.jclark.xsl.sax.FileDescriptorDestination
All Implemented Interfaces:
Destination

public class FileDescriptorDestination
extends GenericDestination

e.g stdout


Constructor Summary
FileDescriptorDestination(java.io.FileDescriptor fd)
           
 
Method Summary
 java.io.OutputStream getOutputStream(java.lang.String contentType, java.lang.String encoding)
           
 boolean keepOpen()
          Returns true if the OutputStream or Writer should be kept open by the caller and not closed when the caller is done with it.
 Destination resolve(java.lang.String uri)
           
 
Methods inherited from class com.jclark.xsl.sax.GenericDestination
getEncoding, getWriter, setEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDescriptorDestination

public FileDescriptorDestination(java.io.FileDescriptor fd)
Method Detail

getOutputStream

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

keepOpen

public boolean keepOpen()
Description copied from interface: Destination
Returns true if the OutputStream or Writer should be kept open by the caller and not closed when the caller is done with it.
Overrides:
keepOpen in class GenericDestination

resolve

public Destination resolve(java.lang.String uri)
Overrides:
resolve in class GenericDestination