Unicorn XML Toolkit
Version 1.00.00

Namespace Xslt
Class CSpaceHandler

class CSpaceHandler: public CInterface {
public:
    CSpaceHandler();
    virtual ~CSpaceHandler();
public:
    virtual bool IsSpacePreserved(
        const CString &strNamespaceUri,
        const CString &strLocalName) = 0;
    };

The abstract interface for whitespace handling in stylesheets and source documents.

Implementation of the interface defined by this class is supplied by the toolkit; toolkit users do not need to implement this interface.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
Constructor/Destructor Summary
CSpaceHandler ();
����������Constructs the space handler.
~CSpaceHandler ();
����������Destroys the space handler.

Function Summary
bool IsSpacePreserved (const CString &strNamespaceUri, const CString &strLocalName);
����������Tests whether space must be preserved in the content of an element with the given name.

Constructor/Destructor Detail

CSpaceHandler

CSpaceHandler();

Constructs the space handler.

~CSpaceHandler

virtual ~CSpaceHandler();

Destroys the space handler.

Function Detail

IsSpacePreserved

virtual bool IsSpacePreserved(
    const CString &strNamespaceUri,
    const CString &strLocalName) = 0;

Tests whether space must be preserved in the content of an element with the given name.

Parameters:
strNamespaceUri - the namespace URI of the element
strLocalName - the local name of the element
Returns:
true if space must be preseved in the content of an element with the given name; false otherwise

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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