Provides character transcoding from and to the xercesc internal charset (which is UTF-16, the corresponding datatype is XMLCh).
More...
#include <libppbase/base_soap/SOAPTranscoder.h>
List of all members.
Public Member Functions |
| | SOAPTranscoder (const char *charset) |
| | Constructor.
|
|
| ~SOAPTranscoder () |
| | Destructor.
|
| XMLCh * | transcode (const char *src) |
| | Transcodes a string into xercesc's internal charset.
|
| XMLCh * | transcode (const base::String &src) |
| | Transcodes a string into xercesc's internal charset.
|
| char * | transcode (const XMLCh *src) |
| | Transcodes a string from xercesc's internal charset.
|
Static Public Member Functions |
| static xercesc::XMLTranscoder * | createTranscoder (const char *charset) |
| | Creates a new transcoder for a given charset.
|
| static void | release (char **ch) |
| | Frees a string from stranscode.
|
| static void | release (XMLCh **ch) |
| | Frees a string from stranscode.
|
| static XMLCh * | stranscode (const char *src) |
| | Transcodes a string from the local charset to xercesc's internal charset.
|
| static XMLCh * | stranscode (const base::String &src) |
| | Transcodes a string from the local charset to xercesc's internal charset.
|
| static char * | stranscode (const XMLCh *src) |
| | Transcodes a string from xercesc's internal charset to the local charset.
|
Detailed Description
Provides character transcoding from and to the xercesc internal charset (which is UTF-16, the corresponding datatype is XMLCh).
- Author:
- Christoph Schwarz
- Version:
- Id:
- SOAPTranscoder.h 21 2010-09-05 04:18:17Z cschwarz1
Constructor & Destructor Documentation
| base_soap::SOAPTranscoder::SOAPTranscoder |
( |
const char * |
charset |
) |
|
Constructor.
- Parameters:
-
| charset | the character set that the transcoder converts from/to |
Member Function Documentation
| static xercesc::XMLTranscoder* base_soap::SOAPTranscoder::createTranscoder |
( |
const char * |
charset |
) |
[static] |
Creates a new transcoder for a given charset.
- Parameters:
-
| charset | the character set that the transcoder converts from/to |
- Returns:
- the new transcoder
- Exceptions:
-
| static void base_soap::SOAPTranscoder::release |
( |
char ** |
ch |
) |
[static] |
Frees a string from stranscode.
- Parameters:
-
| ch | pointer to the string to free, the pointer is set to NULL afterwards |
| static void base_soap::SOAPTranscoder::release |
( |
XMLCh ** |
ch |
) |
[static] |
Frees a string from stranscode.
- Parameters:
-
| ch | pointer to the string to free, the pointer is set to NULL afterwards |
| static XMLCh* base_soap::SOAPTranscoder::stranscode |
( |
const char * |
src |
) |
[static] |
Transcodes a string from the local charset to xercesc's internal charset.
- Parameters:
-
| src | the string to transcode |
- Returns:
- the transcoded string, must be freed with release
| static XMLCh* base_soap::SOAPTranscoder::stranscode |
( |
const base::String & |
src |
) |
[static] |
Transcodes a string from the local charset to xercesc's internal charset.
- Parameters:
-
| src | the string to transcode |
- Returns:
- the transcoded string, must be freed with release
| static char* base_soap::SOAPTranscoder::stranscode |
( |
const XMLCh * |
src |
) |
[static] |
Transcodes a string from xercesc's internal charset to the local charset.
- Parameters:
-
| src | the string to transcode |
- Returns:
- the transcoded string, must be freed with release
| char* base_soap::SOAPTranscoder::transcode |
( |
const XMLCh * |
src |
) |
|
Transcodes a string from xercesc's internal charset.
- Parameters:
-
| src | the string to transcode |
- Returns:
- the transcoded string, must be freed with free
| XMLCh* base_soap::SOAPTranscoder::transcode |
( |
const char * |
src |
) |
|
Transcodes a string into xercesc's internal charset.
- Parameters:
-
| src | the string to transcode |
- Returns:
- the transcoded string, must be freed with free
| XMLCh* base_soap::SOAPTranscoder::transcode |
( |
const base::String & |
src |
) |
|
Transcodes a string into xercesc's internal charset.
- Parameters:
-
| src | the string to transcode |
- Returns:
- the transcoded string, must be freed with free
The documentation for this class was generated from the following file: