Unicorn XML Toolkit
Version 1.00.00

Namespace Xslt
Class CBasicEncodingHandler

class CBasicEncodingHandler: public CEncodingHandler {
public:
    CBasicEncodingHandler();
    ~CBasicEncodingHandler();
public:
    XEncoding Find(const CString &strName);
public:
    void Add(const XEncoding &pEncoding);
    };

The default implementation of the encoding handler.

See CEncodingHandler for general discussion of encoding handlers.

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

Function Summary
XEncoding Find (const CString &strName);
����������Looks up a character encoding with the given name.
void Add (const XEncoding &pEncoding);
����������Adds the encoding object to the list of encodings supported by this encoding handler.

Constructor/Destructor Detail

CBasicEncodingHandler

CBasicEncodingHandler();

Constructs the basic encoding handler.

~CBasicEncodingHandler

~CBasicEncodingHandler();

Destroys the basic encoding handler.

Function Detail

Find

XEncoding Find(const CString &strName);

Looks up a character encoding with the given name.

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

Add

void Add(const XEncoding &pEncoding);

Adds the encoding object to the list of encodings supported by this encoding handler.

Parameters:
pEncoding - the encoding object to add

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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