com.jclark.xsl.sax

Interface Destination

public interface Destination

represents the output destination for an XML document
Method Summary
StringgetEncoding()
Returns the IANA name of the encoding actually used.
OutputStreamgetOutputStream(String contentType, String encoding)
WritergetWriter(String contentType, String encoding)
booleankeepOpen()
Returns true if the OutputStream or Writer should be kept open by the caller and not closed when the caller is done with it.
Destinationresolve(String uri)

Method Detail

getEncoding

public String getEncoding()
Returns the IANA name of the encoding actually used.

getOutputStream

public OutputStream getOutputStream(String contentType, String encoding)

getWriter

public Writer getWriter(String contentType, String encoding)

keepOpen

public 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.

resolve

public Destination resolve(String uri)