<class name="QDomText" doc="/** <p>The <a href="QDomText.html#QDomText(com.trolltech.qt.xml.QDomText)"><tt>QDomText</tt></a> class represents text data in the parsed XML document.</p> <p>You can split the text in a <a href="QDomText.html#QDomText(com.trolltech.qt.xml.QDomText)"><tt>QDomText</tt></a> object over two <a href="QDomText.html#QDomText(com.trolltech.qt.xml.QDomText)"><tt>QDomText</tt></a> objecs with <a href="QDomText.html#splitText(int)"><tt>splitText</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 QDomText()" doc="/** <p>Constructs an empty <a href="QDomText.html#QDomText(com.trolltech.qt.xml.QDomText)"><tt>QDomText</tt></a> object.</p> <p>To construct a <a href="QDomText.html#QDomText(com.trolltech.qt.xml.QDomText)"><tt>QDomText</tt></a> with content, use QDomDocument::createTextNode().</p> */"/> <method name="public QDomText(com.trolltech.qt.xml.QDomText 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 com.trolltech.qt.xml.QDomText splitText(int offset)" doc="/** <p>Splits this DOM text object into two <a href="QDomText.html#QDomText(com.trolltech.qt.xml.QDomText)"><tt>QDomText</tt></a> objects. This object keeps its first <tt>offset</tt> characters and the second (newly created) object is inserted into the document tree after this object with the remaining characters.</p> <p>The function returns the newly created object.</p> @see <tt>QDomNode::normalize</tt> */"/> </class>