Unicorn XML Toolkit
Version 1.00.00

Namespace Xslt
Class CEncodingHandler

class CEncodingHandler: public CInterface {
public:
    CEncodingHandler();
    virtual ~CEncodingHandler();
public:
    virtual XEncoding Find(const CString &strName) = 0;
    };

The abstract interface for mapping character encoding names to encoding objects.

At least one derived class must be supplied to provide implementation of this interface. The default implementation is provided via the CBasicEncodingHandler class.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
See Also:
Unicode::CEncoding
Constructor/Destructor Summary
CEncodingHandler ();
����������Constructs the encoding handler.
~CEncodingHandler ();
����������Destroys the encoding handler.

Function Summary
XEncoding Find (const CString &strName);
����������Looks up an encoding with the given name.

Constructor/Destructor Detail

CEncodingHandler

CEncodingHandler();

Constructs the encoding handler.

~CEncodingHandler

virtual ~CEncodingHandler();

Destroys the encoding handler.

Function Detail

Find

virtual XEncoding Find(const CString &strName) = 0;

Looks up an encoding with the given name.

Parameters:
strName - the name of the character encoding
Returns:
the encoding object corresponding to the given encoding name, or NULL if the encoding is not supported

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

Copyright 1999-2001 Unicorn Enterprises SA.
All Rights Reserved.