Xalan-C++ API Reference  1.12.0
Public Member Functions | Static Public Member Functions | List of all members
xalanc::XalanUTF16Transcoder Class Reference

#include <xalanc/PlatformSupport/XalanUTF16Transcoder.hpp>

Inheritance diagram for xalanc::XalanUTF16Transcoder:
[legend]
Collaboration diagram for xalanc::XalanUTF16Transcoder:
[legend]

Public Member Functions

 XalanUTF16Transcoder (MemoryManager &theManager)
 
virtual ~XalanUTF16Transcoder ()
 
virtual eCode transcode (const XalanDOMChar *theSourceData, size_type theSourceCount, XalanXMLByte *theTarget, size_type theTargetSize, size_type &theSourceCharsTranscoded, size_type &theTargetBytesUsed)
 Transcode data from UTF-16 to UTF-16. More...
 
virtual eCode transcode (const XalanXMLByte *theSourceData, size_type theSourceCount, XalanDOMChar *theTarget, size_type theTargetSize, size_type &theSourceCharsTranscoded, size_type &theTargetBytesUsed, unsigned char *theCharSizes)
 Transcode data from UTF-16 to UTF-16. More...
 
virtual bool canTranscodeTo (XalanUnicodeChar theChar) const
 
- Public Member Functions inherited from xalanc::XalanOutputTranscoder
 XalanOutputTranscoder (MemoryManager &theManager)
 
virtual ~XalanOutputTranscoder ()
 
MemoryManager & getMemoryManager ()
 

Static Public Member Functions

static XalanUTF16Transcodercreate (MemoryManager &theManager)
 

Additional Inherited Members

- Public Types inherited from xalanc::XalanOutputTranscoder
typedef XalanTranscodingServices::XalanXMLByte XalanXMLByte
 
typedef XalanTranscodingServices::eCode eCode
 
typedef XalanTranscodingServices::size_type size_type
 

Detailed Description

Definition at line 37 of file XalanUTF16Transcoder.hpp.

Constructor & Destructor Documentation

◆ XalanUTF16Transcoder()

xalanc::XalanUTF16Transcoder::XalanUTF16Transcoder ( MemoryManager &  theManager)
explicit

◆ ~XalanUTF16Transcoder()

virtual xalanc::XalanUTF16Transcoder::~XalanUTF16Transcoder ( )
virtual

Member Function Documentation

◆ canTranscodeTo()

virtual bool xalanc::XalanUTF16Transcoder::canTranscodeTo ( XalanUnicodeChar  theChar) const
virtual

◆ create()

static XalanUTF16Transcoder* xalanc::XalanUTF16Transcoder::create ( MemoryManager &  theManager)
static

◆ transcode() [1/2]

virtual eCode xalanc::XalanUTF16Transcoder::transcode ( const XalanDOMChar *  theSourceData,
size_type  theSourceCount,
XalanXMLByte theTarget,
size_type  theTargetSize,
size_type theSourceCharsTranscoded,
size_type theTargetBytesUsed 
)
virtual

Transcode data from UTF-16 to UTF-16.

Parameters
theSourceDataThe source data to transcode
theSourceCountThe length of the source data.
theResultThe error code, if any.
theTargetThe target array for storing the transcoded data.
theTargetSizeThe number of characters that can be stored in the target.
theSourceCharsTranscodedThe count of the source characters that were transcoded.
theTargetBytesUsedThe number of characters stored in the target array
Returns
The result code.

Implements xalanc::XalanOutputTranscoder.

◆ transcode() [2/2]

virtual eCode xalanc::XalanUTF16Transcoder::transcode ( const XalanXMLByte theSourceData,
size_type  theSourceCount,
XalanDOMChar *  theTarget,
size_type  theTargetSize,
size_type theSourceCharsTranscoded,
size_type theTargetBytesUsed,
unsigned char *  theCharSizes 
)
virtual

Transcode data from UTF-16 to UTF-16.

Parameters
theSourceDataThe source data to transcode
theSourceCountThe length of the source data.
theResultThe error code, if any.
theTargetThe target array for storing the transcoded data.
theTargetSizeThe number of characters that can be stored in the target.
theSourceCharsTranscodedThe count of the source characters that were transcoded.
theTargetBytesUsedThe number of characters stored in the target array
Returns
The result code.

Implements xalanc::XalanOutputTranscoder.


The documentation for this class was generated from the following file: