|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.internal.QSignalEmitterInternal
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.xml.QDomNode
com.trolltech.qt.xml.QDomCharacterData
com.trolltech.qt.xml.QDomText
public class QDomText
The QDomText class represents text data in the parsed XML document. You can split the text in a QDomText object over two QDomText objecs with splitText()
.
For further information about the Document Object Model see Level 1 and Level 2 Core. For a more general introduction of the DOM implementation see the QDomDocument
documentation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.trolltech.qt.xml.QDomNode |
---|
QDomNode.EncodingPolicy, QDomNode.NodeType |
Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal |
Field Summary |
---|
Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
currentSender |
Constructor Summary | |
---|---|
QDomText()
Constructs an empty QDomText object. |
|
QDomText(QDomText x)
Constructs a copy of x. |
Method Summary | |
---|---|
QDomText |
clone()
This method is reimplemented for internal reasons |
QDomText |
splitText(int offset)
Splits this DOM text object into two QDomText objects. |
Methods inherited from class com.trolltech.qt.xml.QDomCharacterData |
---|
appendData, data, deleteData, insertData, length, replaceData, setData, substringData |
Methods inherited from class com.trolltech.qt.QtJambiObject |
---|
dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr |
Methods inherited from class com.trolltech.qt.QSignalEmitter |
---|
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread |
Methods inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
__qt_signalInitialization |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.trolltech.qt.QtJambiInterface |
---|
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership |
Constructor Detail |
---|
public QDomText()
To construct a QDomText with content, use QDomDocument::createTextNode()
.
public QDomText(QDomText x)
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 cloneNode()
.
Method Detail |
---|
public final QDomText splitText(int offset)
The function returns the newly created object.
QDomNode::normalize()
.
public QDomText clone()
clone
in class QDomCharacterData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |