Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions

XalanOutputTranscoder Class Reference

#include <XalanTranscodingServices.hpp>

Inherited by XalanToXercesTranscoderWrapper, and XalanUTF16Transcoder.

List of all members.

Public Types

Public Member Functions


Detailed Description

Definition at line 332 of file XalanTranscodingServices.hpp.


Member Typedef Documentation

Definition at line 337 of file XalanTranscodingServices.hpp.

Definition at line 338 of file XalanTranscodingServices.hpp.

Definition at line 336 of file XalanTranscodingServices.hpp.


Constructor & Destructor Documentation

XalanOutputTranscoder::XalanOutputTranscoder ( MemoryManager &  theManager  )  [explicit]
virtual XalanOutputTranscoder::~XalanOutputTranscoder (  )  [virtual]

Member Function Documentation

virtual bool XalanOutputTranscoder::canTranscodeTo ( XalanUnicodeChar  theChar  )  const [pure virtual]
MemoryManager& XalanOutputTranscoder::getMemoryManager (  )  [inline]

Definition at line 347 of file XalanTranscodingServices.hpp.

virtual eCode XalanOutputTranscoder::transcode ( const XalanXMLByte theSourceData,
size_type  theSourceCount,
XalanDOMChar *  theTarget,
size_type  theTargetSize,
size_type theSourceCharsTranscoded,
size_type theTargetBytesUsed,
unsigned char *  theCharSizes 
) [pure virtual]

Transcode data from the transcoder's encoding to UTF-16.

If successfull, theResult will be set to OK. If not, it will be set to one of the other codes.

Parameters:
theSourceData The source data to transcode
theSourceCount The length of the source data.
theTarget The target array for storing the transcoded data.
theTargetSize The number of characters that can be stored in the target.
theSourceCharsTranscoded The count of the source characters that were transcoded.
theTargetBytesUsed The number of characters stored in the target array
theCharSizes For each character in theTarget, the number of characters consumed from theSourceData.
Returns:
The result code.

Implemented in XalanToXercesTranscoderWrapper, and XalanUTF16Transcoder.

virtual eCode XalanOutputTranscoder::transcode ( const XalanDOMChar *  theSourceData,
size_type  theSourceCount,
XalanXMLByte theTarget,
size_type  theTargetSize,
size_type theSourceCharsTranscoded,
size_type theTargetBytesUsed 
) [pure virtual]

Transcode data from UTF-16 to the transcoder's encoding.

If successfull, theResult will be set to OK. If not, it will be set to one of the other codes.

Parameters:
theSourceData The source data to transcode
theSourceCount The length of the source data.
theTarget The target array for storing the transcoded data.
theTargetSize The number of characters that can be stored in the target.
theSourceCharsTranscoded The count of the source characters that were transcoded.
theTargetBytesUsed The number of characters stored in the target array
Returns:
The result code.

Implemented in XalanToXercesTranscoderWrapper, and XalanUTF16Transcoder.


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++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo