<class name="QDomProcessingInstruction" doc="/** <p>The <a href="QDomProcessingInstruction.html#QDomProcessingInstruction(com.trolltech.qt.xml.QDomProcessingInstruction)"><tt>QDomProcessingInstruction</tt></a> class represents an XML processing instruction.</p> <p>Processing instructions are used in XML to keep processor-specific information in the text of the document.</p> <p>The XML declaration that appears at the top of an XML document, typically <tt>&lt;?xml version='1.0' encoding='UTF-8'?&gt;</tt>, is treated by QDom as a processing instruction. This is unfortunate, since the XML declaration is not a processing instruction; among other differences, it cannot be inserted into a document anywhere but on the first line.</p> <p>Do not use this function to create an xml declaration, since although it has the same syntax as a processing instruction, it isn't, and might not be treated by QDom as such.</p> <p>The content of the processing instruction is retrieved with <a href="QDomProcessingInstruction.html#data()"><tt>data</tt></a> and set with <a href="QDomProcessingInstruction.html#setData(java.lang.String)"><tt>setData</tt></a>. The processing instruction's target is retrieved with <a href="QDomProcessingInstruction.html#target()"><tt>target</tt></a>.</p> <p>For further information about the Document Object Model see <a href="http://www.w3.org/TR/REC-DOM-Level-1/">Level 1</tt></a> and <a href="http://www.w3.org/TR/DOM-Level-2-Core/">Level 2 Core</tt></a>. For a more general introduction of the DOM implementation see the <a href="QDomDocument.html"><tt>QDomDocument</tt></a> documentation.</p> */"> <method name="public QDomProcessingInstruction()" doc="/** <p>Constructs an empty processing instruction. Use QDomDocument::createProcessingInstruction() to create a processing instruction with content.</p> */"/> <method name="public QDomProcessingInstruction(com.trolltech.qt.xml.QDomProcessingInstruction x)" doc="/** <p>Constructs a copy of <tt>x</tt>.</p> <p>The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use <a href="QDomNode.html#cloneNode(boolean)"><tt>cloneNode</tt></a>.</p> */"/> <method name="public final java.lang.String data()" doc="/** <p>Returns the content of this processing instruction.</p> @see <a href="QDomProcessingInstruction.html#setData(java.lang.String)"><tt>setData</tt></a> @see <a href="QDomProcessingInstruction.html#target()"><tt>target</tt></a> */"/> <method name="public final void setData(java.lang.String d)" doc="/** <p>Sets the data contained in the processing instruction to <tt>d</tt>.</p> @see <a href="QDomProcessingInstruction.html#data()"><tt>data</tt></a> */"/> <method name="public final java.lang.String target()" doc="/** <p>Returns the target of this processing instruction.</p> @see <a href="QDomProcessingInstruction.html#data()"><tt>data</tt></a> */"/> </class>