|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jclark.xsl.sax.GenericDestination
public abstract class GenericDestination
A base class for output Destinations, providing some common default behaviors
Constructor Summary | |
---|---|
GenericDestination()
|
Method Summary | |
---|---|
java.lang.String |
getEncoding()
returns the IANA character encoding name |
java.io.Writer |
getWriter(java.lang.String contentType,
java.lang.String encoding)
get a Writer for an OutputHandler to write characters to our default behavior is to construct a new Writer around the OutputStream associated with this Destination. |
boolean |
keepOpen()
determines whether the output stream should be closed when the transformation is completed. |
Destination |
resolve(java.lang.String uri)
By default return a FileDestination to the given (local) URI |
protected void |
setEncoding(java.lang.String encoding)
sets the IANA character encoding name from a Java character encoding name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jclark.xsl.sax.Destination |
---|
getOutputStream |
Constructor Detail |
---|
public GenericDestination()
Method Detail |
---|
public java.lang.String getEncoding()
getEncoding
in interface Destination
protected void setEncoding(java.lang.String encoding)
public boolean keepOpen()
true
keepOpen
in interface Destination
public java.io.Writer getWriter(java.lang.String contentType, java.lang.String encoding) throws java.io.IOException, java.io.UnsupportedEncodingException
getWriter
in interface Destination
java.io.IOException
java.io.UnsupportedEncodingException
public Destination resolve(java.lang.String uri)
resolve
in interface Destination
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |