Xalan-C++ API Documentation

The Xalan C++ XSL Transformer Version 1.1

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XalanOutputStream Class Reference

#include <XalanOutputStream.hpp>

Inheritance diagram for XalanOutputStream

Inheritance graph

[legend]
Collaboration diagram for XalanOutputStream:

Collaboration graph

[legend]
List of all members.

Public Types

Public Methods

Protected Methods


Member Typedef Documentation

typedef std::vector<XalanDOMChar> XalanOutputStream::BufferType
 

typedef std::vector<char> XalanOutputStream::TranscodeVectorType
 


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
eDefaultBufferSize  
eDefaultTranscoderBlockSize  


Constructor & Destructor Documentation

XalanOutputStream::XalanOutputStream ( BufferType::size_type theBufferSize = eDefaultBufferSize,
TranscodeVectorType::size_type theTranscoderBlockSize = eDefaultTranscoderBlockSize ) [explicit]
 

virtual XalanOutputStream::~XalanOutputStream ( ) [virtual]
 


Member Function Documentation

virtual void XalanOutputStream::doFlush ( ) [protected, pure virtual]
 

Reimplemented in XalanFileOutputStream, XalanStdOutputStream, and XalanTransformerOutputStream.

void XalanOutputStream::flush ( ) [virtual]
 

Flush the stream's buffer.

Reimplemented in XalanNullOutputStream.

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

void XalanOutputStream::transcode ( const XalanDOMChar * theBuffer,
unsigned long theBufferLength,
TranscodeVectorType & theDestination ) [protected]
 

Transcode a wide string.

Parameters:
theBuffer   The string to transcode.
theBufferLength   The length of the string.
theDestination   The destination vector.

void XalanOutputStream::transcode ( const XalanDOMChar * theBuffer,
TranscodeVectorType & theDestination ) [protected]
 

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]
 

Reimplemented in XalanFileOutputStream, XalanStdOutputStream, and XalanTransformerOutputStream.


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.1
Copyright © 2000, 2001 The Apache Software Foundation. All Rights Reserved.