Xalan-C++ API Reference 1.12.0
|
#include <xalanc/PlatformSupport/XalanTranscodingServices.hpp>
Public Types | |
typedef XalanTranscodingServices::XalanXMLByte | XalanXMLByte |
typedef XalanTranscodingServices::eCode | eCode |
typedef XalanTranscodingServices::size_type | size_type |
Public Member Functions | |
XalanOutputTranscoder (MemoryManager &theManager) | |
virtual | ~XalanOutputTranscoder () |
MemoryManager & | getMemoryManager () |
virtual eCode | transcode (const XalanDOMChar *theSourceData, size_type theSourceCount, XalanXMLByte *theTarget, size_type theTargetSize, size_type &theSourceCharsTranscoded, size_type &theTargetBytesUsed)=0 |
Transcode data from UTF-16 to the transcoder's encoding. | |
virtual eCode | transcode (const XalanXMLByte *theSourceData, size_type theSourceCount, XalanDOMChar *theTarget, size_type theTargetSize, size_type &theSourceCharsTranscoded, size_type &theTargetBytesUsed, unsigned char *theCharSizes)=0 |
Transcode data from the transcoder's encoding to UTF-16. | |
virtual bool | canTranscodeTo (XalanUnicodeChar theChar) const =0 |
Definition at line 332 of file XalanTranscodingServices.hpp.
Definition at line 337 of file XalanTranscodingServices.hpp.
Definition at line 338 of file XalanTranscodingServices.hpp.
Definition at line 336 of file XalanTranscodingServices.hpp.
|
explicit |
Referenced by canTranscodeTo().
|
virtual |
|
pure virtual |
Implemented in xalanc::XalanToXercesTranscoderWrapper, and xalanc::XalanUTF16Transcoder.
References XalanOutputTranscoder().
|
inline |
Definition at line 347 of file XalanTranscodingServices.hpp.
|
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.
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 |
Implemented in xalanc::XalanToXercesTranscoderWrapper, and xalanc::XalanUTF16Transcoder.
|
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.
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. |
Implemented in xalanc::XalanToXercesTranscoderWrapper, and xalanc::XalanUTF16Transcoder.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sat May 17 2025 11:34:29 for Xalan-C++ API Reference by