#include <xalanc/PlatformSupport/XalanTranscodingServices.hpp>
◆ size_type
◆ XalanXMLByte
◆ eCode
◆ destroyTranscoder()
Destroy a transcoder instance.
@theTranscoder The transcoder to destroy.
◆ encodingIsUTF16() [1/2]
Determine if the encoding name supplied is equivalent to UTF-16.
- Parameters
-
theEncodingName | The name of the output encoding. |
- Returns
- true or false
◆ encodingIsUTF16() [2/2]
Determine if the encoding name supplied is equivalent to UTF-16.
- Parameters
-
theEncodingName | The name of the output encoding. |
- Returns
- true or false
◆ encodingIsUTF32() [1/2]
Determine if the encoding name supplied is equivalent to UTF-32.
- Parameters
-
theEncodingName | The name of the output encoding. |
- Returns
- true or false
◆ encodingIsUTF32() [2/2]
Determine if the encoding name supplied is equivalent to UTF-32.
- Parameters
-
theEncodingName | The name of the output encoding. |
- Returns
- true or false
◆ encodingIsUTF8() [1/2]
Determine if the encoding name supplied is equivalent to UTF-8.
- Parameters
-
theEncodingName | The name of the output encoding. |
- Returns
- true or false
◆ encodingIsUTF8() [2/2]
Determine if the encoding name supplied is equivalent to UTF-8.
- Parameters
-
theEncodingName | The name of the output encoding. |
- Returns
- true or false
◆ getBytesEqualChars()
Determine if the output stage can safely skip transcoding by truncating.
- Parameters
-
theEncoding | The encoding name. |
- Returns
- true if truncation is possible, false if not.
◆ getMaximumCharacterValue() [1/2]
Get the maximum character value for the local code page.
This is now deprecated, since it's impossibly broken.
- Deprecated:
- Returns
- The maximum character value the local code page supports.
◆ getMaximumCharacterValue() [2/2]
Get the maximum character value for the encoding.
- Parameters
-
theEncoding | The encoding name. |
- Returns
- The maximum character value the encoding supports.
◆ getStreamProlog()
Get an array that contains any leading bytes that should be written to an XML stream for the specified encoding.
For example, if the encoding is UTF-16, the vector will contain the appropriate byte order mark for the current platform. If there is no prolog for the encoding, or the encoding is unknown, an empty array is returned.
- Parameters
-
theEncodingName | The name of the desired output encoding. |
- Returns
- An array containing the appropriate bytes.
◆ initialize()
static void xalanc::XalanTranscodingServices::initialize |
( |
MemoryManager & |
theManager | ) |
|
|
static |
◆ length()
◆ makeNewTranscoder() [1/2]
◆ makeNewTranscoder() [2/2]
Create a transcoder instance for the specified encoding.
- Parameters
-
theEncodingName | The name of the desired output encoding. |
theResult | The error code. |
theTarget | The target array for storing the transcoded data. |
theBlockSize | The block size the transcoder should use. |
- Returns
- The new transcoder, or 0 if there was an error.
◆ terminate()
static void xalanc::XalanTranscodingServices::terminate |
( |
| ) |
|
|
static |
◆ s_asciiString
◆ s_iso88591String
◆ s_shiftJISString
◆ s_usASCIIString
◆ s_utf16BEString
◆ s_utf16LEString
◆ s_utf16String
◆ s_utf32String
◆ s_utf8String
◆ s_windows1250String
The documentation for this class was generated from the following file: