1QDomText(3qt)                                                    QDomText(3qt)
2
3
4

NAME

6       QDomText - Represents text data in the parsed XML document
7

SYNOPSIS

9       All the functions in this class are reentrant when Qt is built with
10       thread support.</p>
11
12       #include <qdom.h>
13
14       Inherits QDomCharacterData.
15
16       Inherited by QDomCDATASection.
17
18   Public Members
19       QDomText ()
20       QDomText ( const QDomText & x )
21       QDomText & operator= ( const QDomText & x )
22       ~QDomText ()
23       QDomText splitText ( int offset )
24       virtual QDomNode::NodeType nodeType () const
25       virtual bool isText () const
26

DESCRIPTION

28       The QDomText class represents text data in the parsed XML document.
29
30       You can split the text in a QDomText object over two QDomText objecs
31       with splitText().
32
33       For further information about the Document Object Model see
34       http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-
35       Level-2-Core/. For a more general introduction of the DOM
36       implementation see the QDomDocument documentation.
37
38       See also XML.
39

MEMBER FUNCTION DOCUMENTATION

QDomText::QDomText ()

42       Constructs an empty QDomText object.
43
44       To construct a QDomText with content, use
45       QDomDocument::createTextNode().
46

QDomText::QDomText ( const QDomText & x )

48       Constructs a copy of x.
49
50       The data of the copy is shared (shallow copy): modifying one node will
51       also change the other. If you want to make a deep copy, use
52       cloneNode().
53

QDomText::~QDomText ()

55       Destroys the object and frees its resources.
56

bool QDomText::isText () const [virtual]

58       Returns TRUE.
59
60       Reimplemented from QDomNode.
61

QDomNode::NodeType QDomText::nodeType () const [virtual]

63       Returns TextNode.
64
65       Reimplemented from QDomCharacterData.
66
67       Reimplemented in QDomCDATASection.
68

QDomText & QDomText::operator= ( const QDomText & x )

70       Assigns x to this DOM text.
71
72       The data of the copy is shared (shallow copy): modifying one node will
73       also change the other. If you want to make a deep copy, use
74       cloneNode().
75

QDomText QDomText::splitText ( int offset )

77       Splits this DOM text object into two QDomText objects. This object
78       keeps its first offset characters and the second (newly created) object
79       is inserted into the document tree after this object with the remaining
80       characters.
81
82       The function returns the newly created object.
83
84       See also QDomNode::normalize().
85
86

SEE ALSO

88       http://doc.trolltech.com/qdomtext.html
89       http://www.trolltech.com/faq/tech.html
90
92       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
93       license file included in the distribution for a complete license
94       statement.
95

AUTHOR

97       Generated automatically from the source code.
98

BUGS

100       If you find a bug in Qt, please report it as described in
101       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
102       help you. Thank you.
103
104       The definitive Qt documentation is provided in HTML format; it is
105       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
106       web browser. This man page is provided as a convenience for those users
107       who prefer man pages, although this format is not officially supported
108       by Trolltech.
109
110       If you find errors in this manual page, please report them to qt-
111       bugs@trolltech.com.  Please include the name of the manual page
112       (qdomtext.3qt) and the Qt version (3.3.8).
113
114
115
116Trolltech AS                    2 February 2007                  QDomText(3qt)
Impressum