19#if !defined(XALAN_XSLTRESULTTARGET_HEADER_GUARD)
20#define XALAN_XSLTRESULTTARGET_HEADER_GUARD
40class FormatterListener;
250 return m_characterStream;
294 return m_formatterListener;
299#if defined(XALAN_DEVELOPMENT)
306 StreamType* m_byteStream;
310 Writer* m_characterStream;
#define XALAN_XSLT_EXPORT
#define XALAN_DEFAULT_CONSTRUCTOR_MEMMGR
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
void setFormatterListener(FormatterListener *handler)
Set a FormatterListener to process the result tree events.
XSLTResultTarget(MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
void setByteStream(StreamType *byteStream)
Set the byte stream for this output target.
XSLTResultTarget(StreamType &theStream, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
Create a new output target with a stream.
XSLTResultTarget(FILE *characterStream, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
Create a new output target with a stream.
FormatterListener * getFormatterListener() const
Get the FormatterListener that will process the result tree events.
StreamType * getByteStream() const
Get the byte stream for this output target.
XSLTResultTarget(const char *fileName, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
Create a new output target with a file name.
void setEncoding(const XalanDOMChar *encoding)
Set the character encoding, if known.
XSLTResultTarget(const XalanDOMString &fileName, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
Create a new output target with a file name.
XSLTResultTarget(const XalanDOMChar *fileName, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
Create a new output target with a file name.
void setStream(FILE *theStream)
Set the stream for this output target.
XSLTResultTarget(FormatterListener &flistener, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
Create a new output target with a FormatterListener.
void setEncoding(const XalanDOMString &encoding)
Set the character encoding, if known.
const XalanDOMString & getEncoding() const
Get the character encoding in use.
void setFileName(const char *fileName)
Set the file name where the results will be written.
Writer * getCharacterStream() const
Get the character stream for this output target.
FILE * getStream() const
Get the stream for this output target.
void setCharacterStream(Writer *characterStream)
Set the character stream for this output target.
const XalanDOMString & getFileName() const
Get the file name where the results will be written to.
XSLTResultTarget(StreamType *theStream, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
Create a new output target with a stream.
void setFileName(const XalanDOMString &fileName)
Set the file name where the results will be written.
XSLTResultTarget(Writer *characterStream, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)
Create a new output target with a character stream.
XSLTResultTarget(const XSLTResultTarget &other, MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR)