1QDomProcessingInstruction(3qt) QDomProcessingInstruction(3qt)
2
3
4
6 QDomProcessingInstruction - Represents an XML processing instruction
7
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 QDomNode.
15
16 Public Members
17 QDomProcessingInstruction ()
18 QDomProcessingInstruction ( const QDomProcessingInstruction & x )
19 QDomProcessingInstruction & operator= ( const QDomProcessingInstruction
20 & x )
21 ~QDomProcessingInstruction ()
22 virtual QString target () const
23 virtual QString data () const
24 virtual void setData ( const QString & d )
25 virtual QDomNode::NodeType nodeType () const
26 virtual bool isProcessingInstruction () const
27
29 The QDomProcessingInstruction class represents an XML processing
30 instruction.
31
32 Processing instructions are used in XML to keep processor-specific
33 information in the text of the document.
34
35 The content of the processing instruction is retrieved with data() and
36 set with setData(). The processing instruction's target is retrieved
37 with target().
38
39 For further information about the Document Object Model see
40 http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-
41 Level-2-Core/. For a more general introduction of the DOM
42 implementation see the QDomDocument documentation.
43
44 See also XML.
45
48 Constructs an empty processing instruction. Use
49 QDomDocument::createProcessingInstruction() to create a processing
50 instruction with content.
51
53 QDomProcessingInstruction & x )
54 Constructs a copy of x.
55
56 The data of the copy is shared (shallow copy): modifying one node will
57 also change the other. If you want to make a deep copy, use
58 cloneNode().
59
61 Destroys the object and frees its resources.
62
64 Returns the content of this processing instruction.
65
66 See also setData() and target().
67
69 Returns TRUE.
70
71 Reimplemented from QDomNode.
72
74 Returns ProcessingInstructionNode.
75
76 Reimplemented from QDomNode.
77
79 QDomProcessingInstruction & x )
80 Assigns x to this processing instruction.
81
82 The data of the copy is shared (shallow copy): modifying one node will
83 also change the other. If you want to make a deep copy, use
84 cloneNode().
85
87 Sets the data contained in the processing instruction to d.
88
89 See also data().
90
92 Returns the target of this processing instruction.
93
94 See also data().
95
96
98 http://doc.trolltech.com/qdomprocessinginstruction.html
99 http://www.trolltech.com/faq/tech.html
100
102 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
103 license file included in the distribution for a complete license
104 statement.
105
107 Generated automatically from the source code.
108
110 If you find a bug in Qt, please report it as described in
111 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
112 help you. Thank you.
113
114 The definitive Qt documentation is provided in HTML format; it is
115 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
116 web browser. This man page is provided as a convenience for those users
117 who prefer man pages, although this format is not officially supported
118 by Trolltech.
119
120 If you find errors in this manual page, please report them to qt-
121 bugs@trolltech.com. Please include the name of the manual page
122 (qdomprocessinginstruction.3qt) and the Qt version (3.3.8).
123
124
125
126Trolltech AS 2 February 2007 QDomProcessingInstruction(3qt)