#include <xalanc/PlatformSupport/XalanTranscodingServices.hpp>
|
| | 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. More...
|
| |
| 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. More...
|
| |
| virtual bool | canTranscodeTo (XalanUnicodeChar theChar) const =0 |
| |
| xalanc::XalanOutputTranscoder::XalanOutputTranscoder |
( |
MemoryManager & |
theManager | ) |
|
|
explicit |
| virtual xalanc::XalanOutputTranscoder::~XalanOutputTranscoder |
( |
| ) |
|
|
virtual |
| virtual bool xalanc::XalanOutputTranscoder::canTranscodeTo |
( |
XalanUnicodeChar |
theChar | ) |
const |
|
pure virtual |
| MemoryManager& xalanc::XalanOutputTranscoder::getMemoryManager |
( |
| ) |
|
|
inline |
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 xalanc::XalanUTF16Transcoder, and xalanc::XalanToXercesTranscoderWrapper.
| virtual eCode xalanc::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 xalanc::XalanUTF16Transcoder, and xalanc::XalanToXercesTranscoderWrapper.
The documentation for this class was generated from the following file: