com.jclark.xsl.sax
Interface Destination
- FileDescriptorDestination, FileDestination, GenericDestination, OutputStreamDestination, ServletDestination
public interface Destination
represents the output destination for an XML document
String | getEncoding() - Returns the IANA name of the encoding actually used.
|
OutputStream | getOutputStream(String contentType, String encoding)
|
Writer | getWriter(String contentType, 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(String uri)
|
getEncoding
public String getEncoding()
Returns the IANA name of the encoding actually used.
getOutputStream
public OutputStream getOutputStream(String contentType,
String encoding)
throws IOException
getWriter
public Writer getWriter(String contentType,
String encoding)
throws IOException,
UnsupportedEncodingException
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.