http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Installation
Build

API Docs
Samples
Programming
Migration
FAQs

Releases
Feedback
Bug-Todo

Download
CVS Repository
Mail Archive

API Docs for SAX and DOM
 

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XMLTranscoder Class Reference

#include <TransService.hpp>

List of all members.

Public Types

enum  UnRepOpts { UnRep_Throw, UnRep_RepChar }

Public Methods

virtual ~XMLTranscoder ()
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
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)


Member Enumeration Documentation

enum XMLTranscoder::UnRepOpts
 

Enumeration values:
UnRep_Throw  
UnRep_RepChar  


Constructor & Destructor Documentation

virtual XMLTranscoder::~XMLTranscoder ( ) [virtual]
 

XMLTranscoder::XMLTranscoder ( const XMLCh *const encodingName,
const unsigned int blockSize ) [protected]
 


Member Function Documentation

virtual bool XMLTranscoder::canTranscodeTo ( const unsigned int toCheck ) const [pure virtual]
 

void XMLTranscoder::checkBlockSize ( const unsigned int toCheck ) [protected]
 

unsigned int XMLTranscoder::getBlockSize ( ) const
 

const XMLCh * XMLTranscoder::getEncodingName ( ) const
 

virtual unsigned int XMLTranscoder::transcodeFrom ( const XMLByte *const srcData,
const unsigned int srcCount,
XMLCh *const toFill,
const unsigned int maxChars,
unsigned int & bytesEaten,
unsigned char *const charSizes ) [pure virtual]
 

virtual unsigned int XMLTranscoder::transcodeTo ( const XMLCh *const srcData,
const unsigned int srcCount,
XMLByte *const toFill,
const unsigned int maxBytes,
unsigned int & charsEaten,
const UnRepOpts options ) [pure virtual]
 


The documentation for this class was generated from the following file:


Copyright © 2000 The Apache Software Foundation. All Rights Reserved.