Xalan-C++ API Documentation
Xalan-C++ API Documentation
The Xalan-C++ XSL Transformer Version 1.0
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
XalanOutputStream Class Reference
#include <XalanOutputStream.hpp>
Inheritance diagram for XalanOutputStream:
Collaboration diagram for XalanOutputStream:
List of all members.
Public Types
Public Methods
- explicit XalanOutputStream ( BufferType::size_type theBufferSize = eDefaultBufferSize, TranscodeVectorType::size_type theTranscoderBlockSize = eDefaultTranscoderBlockSize)
- virtual ~XalanOutputStream ()
- virtual void flush ()
- Flush the stream's buffer.
- virtual void write (char theChar)
- Write a character to the output stream. More...
- virtual void write (XalanDOMChar theChar)
- Write a wide character to the output stream. More...
- virtual void write (const char* theBuffer)
- Write a null-terminated string to the output file. More...
- virtual void write (const XalanDOMChar* theBuffer)
- Write a null-terminated wide string to the output file. More...
- virtual void write ( const char* theBuffer, unsigned long theBufferLength)
- Write a specified number of characters to the output stream. More...
- virtual void write ( const XalanDOMChar* theBuffer, unsigned long theBufferLength)
- Write a specified number of characters to the output stream. More...
- virtual const XalanDOMString& getOutputEncoding () const
- Get the output encoding for the stream. More...
- virtual void setOutputEncoding (const XalanDOMString& theEncoding)
- Set the output encoding for the stream. More...
- virtual void setBufferSize (BufferType::size_type theBufferSize)
- Set the size of the output buffer. More...
Protected Methods
Detailed Description
Member Typedef Documentation
typedef std::vector<XalanDOMChar> XalanOutputStream::BufferType |
|
typedef std::vector<char> XalanOutputStream::TranscodeVectorType |
|
Enumeration Value Documentation
XalanOutputStream::eDefaultBufferSize = 512 |
|
XalanOutputStream::eDefaultTranscoderBlockSize = 1024 |
|
Constructor & Destructor Documentation
explicit XalanOutputStream::XalanOutputStream (
|
BufferType::size_type theBufferSize = eDefaultBufferSize, |
|
TranscodeVectorType::size_type theTranscoderBlockSize = eDefaultTranscoderBlockSize) |
|
virtual XalanOutputStream::~XalanOutputStream () [virtual] |
|
Member Function Documentation
virtual void XalanOutputStream::doFlush () [protected, pure virtual] |
|
void XalanOutputStream::flush () [virtual] |
|
const XalanDOMString & XalanOutputStream::getOutputEncoding () const [virtual] |
|
Get the output encoding for the stream.
-
Returns:
-
The encoding name
void XalanOutputStream::setBufferSize (
|
BufferType::size_type theBufferSize) [virtual] |
|
Set the size of the output buffer.
-
Parameters:
-
theBufferSize
|
The buffer size.
|
void XalanOutputStream::setOutputEncoding (
|
const XalanDOMString & theEncoding) [virtual] |
|
Set the output encoding for the stream.
-
Parameters:
-
theEncoding
|
The encoding name
|
Transcode a wide string.
-
Parameters:
-
theBuffer
|
The string to transcode.
|
theBufferLength
|
The length of the string.
|
theDestination
|
The destination vector.
|
Transcode a null-terminated wide string.
-
Parameters:
-
theBuffer
|
The string to transcode.
|
theDestination
|
The destination vector.
|
void XalanOutputStream::write (
|
const XalanDOMChar * theBuffer, |
|
unsigned long theBufferLength) [virtual] |
|
Write a specified number of characters to the output stream.
The string
will be transcoded, if an output encoding is specified.
-
Parameters:
-
theBuffer
|
character buffer to write
|
theBufferLength
|
number of characters to write
|
Reimplemented in XalanNullOutputStream.
void XalanOutputStream::write (
|
const char * theBuffer, |
|
unsigned long theBufferLength) [virtual] |
|
Write a specified number of characters to the output stream.
The string
will not be transcoded.
-
Parameters:
-
theBuffer
|
character buffer to write
|
theBufferLength
|
number of characters to write
|
Reimplemented in XalanNullOutputStream.
void XalanOutputStream::write (
|
const XalanDOMChar * theBuffer) [virtual] |
|
Write a null-terminated wide string to the output file.
The string
will be transcoded, if an output encoding is specified.
-
Parameters:
-
theBuffer
|
character buffer to write
|
Reimplemented in XalanNullOutputStream.
void XalanOutputStream::write (
|
const char * theBuffer) [virtual] |
|
Write a null-terminated string to the output file.
The character
will not be transcoded.
-
Parameters:
-
theBuffer
|
character buffer to write
|
Reimplemented in XalanNullOutputStream.
void XalanOutputStream::write (
|
XalanDOMChar theChar) [virtual] |
|
Write a wide character to the output stream.
The character
will be transcoded, if an output encoding is specified.
-
Parameters:
-
theChar
|
the character to write
|
Reimplemented in XalanNullOutputStream.
void XalanOutputStream::write (
|
char theChar) [virtual] |
|
Write a character to the output stream.
The character
will not be transcoded.
-
Parameters:
-
theChar
|
the character to write
|
Reimplemented in XalanNullOutputStream.
virtual void XalanOutputStream::writeData (
|
const char * theBuffer, |
|
unsigned long theBufferLength) [protected, pure virtual] |
|
The documentation for this class was generated from the following file:
Interpreting class diagrams
Doxygen and
GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSL Transformer Version 1.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.
|
|