Inheritance diagram for XMLTranscoder:
Public Types | |
enum | UnRepOpts { UnRep_Throw, UnRep_RepChar } |
Public Methods | |
Destructor. | |
virtual | ~XMLTranscoder () |
The virtual transcoding interface | |
virtual unsigned int | transcodeFrom (const XMLByte *const srcData, const unsigned int srcCount, XMLCh *const toFill, const unsigned int maxChars, unsigned int &bytesEaten, unsigned char *const charSizes)=0 |
virtual unsigned int | transcodeTo (const XMLCh *const srcData, const unsigned int srcCount, XMLByte *const toFill, const unsigned int maxBytes, unsigned int &charsEaten, const UnRepOpts options)=0 |
virtual bool | canTranscodeTo (const unsigned int toCheck) const=0 |
Getter methods | |
unsigned int | getBlockSize () const |
const XMLCh * | getEncodingName () const |
Protected Methods | |
XMLTranscoder (const XMLCh *const encodingName, const unsigned int blockSize) | |
void | checkBlockSize (const unsigned int toCheck) |
XMLTranscoder
is for transcoding non-local code page encodings, i.e. named encodings. These are used internally by the scanner to internalize raw XML into the internal Unicode format, and by writer classes to convert that internal Unicode format (which comes out of the parser) back out to a format that the receiving client code wants to use.
|
This enum is used by the |
|
Destructor for XMLTranscoder |
|
Query whether the transcoder can handle a given character
|
|
Get the internal block size
|
|
Get the encoding name
|
|
Converts from the encoding of the service to the internal XMLCh* encoding
|
|
Converts from the internal XMLCh* encoding to the encoding of the service
|