Eneboo - Documentación para desarrolladores
|
The QDomText class represents text data in the parsed XML document.XMLYou can split the text in a QDomText object over two QDomText objecs with splitText(). Más...
#include <qdom.h>
Métodos públicos | |
QDomText () | |
QDomText (const QDomText &x) | |
QDomText & | operator= (const QDomText &) |
~QDomText () | |
QDomText | splitText (int offset) |
QDomNode::NodeType | nodeType () const |
bool | isText () const |
QDomText () | |
QDomText (const QDomText &x) | |
QDomText & | operator= (const QDomText &) |
~QDomText () | |
QDomText | splitText (int offset) |
QDomNode::NodeType | nodeType () const |
bool | isText () const |
Amigas | |
class | QDomCDATASection |
class | QDomDocument |
class | QDomNode |
The QDomText class represents text data in the parsed XML document.
XML
You can split the text in a QDomText object over two QDomText objecs with splitText().
For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation.
QDomText::QDomText | ( | ) |
Constructs an empty QDomText object.
To construct a QDomText with content, use QDomDocument::createTextNode().
QDomText::QDomText | ( | const QDomText & | x | ) |
Constructs a copy of 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().
QDomText::~QDomText | ( | ) |
Destroys the object and frees its resources.
QDomText::QDomText | ( | ) |
QDomText::QDomText | ( | const QDomText & | x | ) |
QDomText::~QDomText | ( | ) |
bool QDomText::isText | ( | ) | const [virtual] |
QDomNode::NodeType QDomText::nodeType | ( | ) | const [virtual] |
Returns TextNode
.
Reimplementado de QDomCharacterData.
Reimplementado en QDomCDATASection y QDomCDATASection.
QDomNode::NodeType QDomText::nodeType | ( | ) | const [virtual] |
Returns the type of node this object refers to (i.e. TextNode
, CDATASectionNode
, CommentNode
or CharacterDataNode
). For a null node CharacterDataNode
is returned.
Reimplementado de QDomCharacterData.
Reimplementado en QDomCDATASection y QDomCDATASection.
Assigns x to this DOM text.
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().
Splits this DOM text object into two QDomText objects. This object keeps its first offset characters and the second (newly created) object is inserted into the document tree after this object with the remaining characters.
The function returns the newly created object.
QDomCDATASection [friend] |
QDomDocument [friend] |
Reimplementado de QDomCharacterData.
Reimplementado en QDomCDATASection.
QDomNode [friend] |
Reimplementado de QDomCharacterData.
Reimplementado en QDomCDATASection.