Xalan-C++ API Reference
1.12.0
|
#include <xalanc/PlatformSupport/XalanTranscodingServices.hpp>
Classes | |
class | MakeTranscoderException |
class | UnrepresentableCharacterException |
Public Types | |
enum | eCode { OK, UnsupportedEncoding, InternalFailure, SupportFilesNotFound } |
typedef unsigned char | XalanXMLByte |
typedef XalanSize_t | size_type |
Static Public Member Functions | |
static void | initialize (MemoryManager &theManager) |
Perform static initialization. More... | |
static void | terminate () |
Perform static shut down. More... | |
static size_type | length (const XalanXMLByte *theBytes) |
static XalanOutputTranscoder * | makeNewTranscoder (MemoryManager &theManager, const XalanDOMString &theEncodingName, eCode &theResult, size_type theBlockSize) |
Create a transcoder instance for the specified encoding. More... | |
static XalanOutputTranscoder * | makeNewTranscoder (MemoryManager &theManager, const XalanDOMChar *theEncodingName, eCode &theResult, size_type theBlockSize) |
static void | destroyTranscoder (XalanOutputTranscoder *theTranscoder) |
Destroy a transcoder instance. More... | |
static bool | encodingIsUTF8 (const XalanDOMChar *theEncodingName) |
Determine if the encoding name supplied is equivalent to UTF-8. More... | |
static bool | encodingIsUTF8 (const XalanDOMString &theEncodingName) |
Determine if the encoding name supplied is equivalent to UTF-8. More... | |
static bool | encodingIsUTF16 (const XalanDOMChar *theEncodingName) |
Determine if the encoding name supplied is equivalent to UTF-16. More... | |
static bool | encodingIsUTF16 (const XalanDOMString &theEncodingName) |
Determine if the encoding name supplied is equivalent to UTF-16. More... | |
static bool | encodingIsUTF32 (const XalanDOMChar *theEncodingName) |
Determine if the encoding name supplied is equivalent to UTF-32. More... | |
static bool | encodingIsUTF32 (const XalanDOMString &theEncodingName) |
Determine if the encoding name supplied is equivalent to UTF-32. More... | |
static const XalanXMLByte * | getStreamProlog (const XalanDOMString &theEncodingName) |
Get an array that contains any leading bytes that should be written to an XML stream for the specified encoding. More... | |
static XalanDOMChar | getMaximumCharacterValue (const XalanDOMString &theEncoding) |
Get the maximum character value for the encoding. More... | |
static XalanDOMChar | getMaximumCharacterValue () |
Get the maximum character value for the local code page. More... | |
static bool | getBytesEqualChars (const XalanDOMString &theEncoding) |
Determine if the output stage can safely skip transcoding by truncating. More... | |
Static Public Attributes | |
static const XalanDOMChar | s_utf8String [] |
static const XalanDOMChar | s_utf16String [] |
static const XalanDOMChar | s_utf16LEString [] |
static const XalanDOMChar | s_utf16BEString [] |
static const XalanDOMChar | s_utf32String [] |
static const XalanDOMChar | s_asciiString [] |
static const XalanDOMChar | s_usASCIIString [] |
static const XalanDOMChar | s_windows1250String [] |
static const XalanDOMChar | s_iso88591String [] |
static const XalanDOMChar | s_shiftJISString [] |
Definition at line 45 of file XalanTranscodingServices.hpp.
typedef XalanSize_t xalanc::XalanTranscodingServices::size_type |
Definition at line 62 of file XalanTranscodingServices.hpp.
typedef unsigned char xalanc::XalanTranscodingServices::XalanXMLByte |
Definition at line 61 of file XalanTranscodingServices.hpp.
Enumerator | |
---|---|
OK | |
UnsupportedEncoding | |
InternalFailure | |
SupportFilesNotFound |
Definition at line 79 of file XalanTranscodingServices.hpp.
|
static |
Destroy a transcoder instance.
@theTranscoder The transcoder to destroy.
|
static |
Determine if the encoding name supplied is equivalent to UTF-16.
theEncodingName | The name of the output encoding. |
|
static |
Determine if the encoding name supplied is equivalent to UTF-16.
theEncodingName | The name of the output encoding. |
|
static |
Determine if the encoding name supplied is equivalent to UTF-32.
theEncodingName | The name of the output encoding. |
|
static |
Determine if the encoding name supplied is equivalent to UTF-32.
theEncodingName | The name of the output encoding. |
|
static |
Determine if the encoding name supplied is equivalent to UTF-8.
theEncodingName | The name of the output encoding. |
|
static |
Determine if the encoding name supplied is equivalent to UTF-8.
theEncodingName | The name of the output encoding. |
|
static |
Determine if the output stage can safely skip transcoding by truncating.
theEncoding | The encoding name. |
|
static |
Get the maximum character value for the local code page.
This is now deprecated, since it's impossibly broken.
|
static |
Get the maximum character value for the encoding.
theEncoding | The encoding name. |
|
static |
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.
theEncodingName | The name of the desired output encoding. |
|
static |
Perform static initialization.
See class PlatformSupportInit.
|
inlinestatic |
Definition at line 65 of file XalanTranscodingServices.hpp.
|
static |
|
static |
Create a transcoder instance for the specified encoding.
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. |
|
static |
Perform static shut down.
See class PlatformSupportInit.
|
static |
Definition at line 227 of file XalanTranscodingServices.hpp.
|
static |
Definition at line 233 of file XalanTranscodingServices.hpp.
|
static |
Definition at line 235 of file XalanTranscodingServices.hpp.
|
static |
Definition at line 229 of file XalanTranscodingServices.hpp.
|
static |
Definition at line 223 of file XalanTranscodingServices.hpp.
|
static |
Definition at line 221 of file XalanTranscodingServices.hpp.
|
static |
Definition at line 219 of file XalanTranscodingServices.hpp.
|
static |
Definition at line 225 of file XalanTranscodingServices.hpp.
|
static |
Definition at line 217 of file XalanTranscodingServices.hpp.
|
static |
Definition at line 231 of file XalanTranscodingServices.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:38 for Xalan-C++ API Reference by 1.8.17