Classes | |
class | UnrepresentableCharacterException |
Public Types | |
enum | eCode { OK, UnsupportedEncoding, InternalFailure, SupportFilesNotFound } |
typedef unsigned char | XalanXMLByte |
typedef unsigned int | size_type |
typedef unsigned int | UnicodeCharType |
Static Public Member Functions | |
static void | initialize (MemoryManagerType &theManager) |
Perform static initialization. More... | |
static void | terminate () |
Perform static shut down. More... | |
static size_type | length (const XalanXMLByte *theBytes) |
static XalanOutputTranscoder * | makeNewTranscoder (MemoryManagerType &theManager, const XalanDOMString &theEncodingName, eCode &theResult, size_type theBlockSize) |
Create a transcoder instance for the specified encoding. More... | |
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 bool | canTranscodeToLocalCodePage (UnicodeCharType theChar) |
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 [] |
typedef unsigned int XalanTranscodingServices::size_type |
typedef unsigned int XalanTranscodingServices::UnicodeCharType |
typedef unsigned char XalanTranscodingServices::XalanXMLByte |
|
static |
|
static |
Destroy a transcoder instance.
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 encoding.
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 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.
|
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 |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|