Unicorn XML Toolkit
Version 1.00.00

Namespace Dom
Class IText

class IText: virtual public ICharacterData {
public:
    IText();
    virtual ~IText();
public:
    virtual XText SplitText(int nOffset) = 0;
    };

The textual content of an element or an attribute.

This class implements the C++ binding for the Text interface specified by DOM.

Since:
1.00.00
Version:
1.00.00
Author:
Alexey Gokhberg
Constructor/Destructor Summary
IText ();
����������Constructs the text node.
~IText ();
����������Destroys the text node.

Function Summary
XText SplitText (int nOffset);
����������Splits this text node. The node content is split at the offset specified by nOffset . The leading portion of the content remains with this node; the rest forms the content of the newly created text node.

Constructor/Destructor Detail

IText

IText();

Constructs the text node.

~IText

virtual ~IText();

Destroys the text node.

Function Detail

SplitText

virtual XText SplitText(int nOffset) = 0;

Splits this text node. The node content is split at the offset specified by nOffset . The leading portion of the content remains with this node; the rest forms the content of the newly created text node.

Parameters:
nOffset - the offset that specifies the split point
Returns:
the newly created text node which receives the trailing part of the split content of this text node

Unicorn XML Toolkit
Version 1.00.00


This document was created using Unicorn DOC++.

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