Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

qdomtext(3qt) [redhat man page]

QDomText(3qt)															     QDomText(3qt)

NAME
QDomText - Represents text data in the parsed XML document SYNOPSIS
#include <qdom.h> Inherits QDomCharacterData. Inherited by QDomCDATASection. Public Members QDomText () QDomText ( const QDomText & x ) QDomText & operator= ( const QDomText & x ) ~QDomText () QDomText splitText ( int offset ) virtual QDomNode::NodeType nodeType () const virtual bool isText () const DESCRIPTION
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 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. See also XML. MEMBER FUNCTION 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. bool QDomText::isText () const [virtual] Returns TRUE. Reimplemented from QDomNode. QDomNode::NodeType QDomText::nodeType () const [virtual] Returns TextNode. Reimplemented from QDomCharacterData. Reimplemented in QDomCDATASection. QDomText &; QDomText::operator= ( const QDomText & x ) 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(). QDomText QDomText::splitText ( int offset ) 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. See also QDomNode::normalize(). SEE ALSO
http://doc.trolltech.com/qdomtext.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qdomtext.3qt) and the Qt version (3.1.1). Trolltech AS 9 December 2002 QDomText(3qt)

Check Out this Related Man Page

QDomCharacterData(3qt)													    QDomCharacterData(3qt)

NAME
QDomCharacterData - Represents a generic string in the DOM SYNOPSIS
All the functions in this class are reentrant when Qt is built with thread support.</p> #include <qdom.h> Inherits QDomNode. Inherited by QDomText and QDomComment. Public Members QDomCharacterData () QDomCharacterData ( const QDomCharacterData & x ) QDomCharacterData & operator= ( const QDomCharacterData & x ) ~QDomCharacterData () virtual QString substringData ( unsigned long offset, unsigned long count ) virtual void appendData ( const QString & arg ) virtual void insertData ( unsigned long offset, const QString & arg ) virtual void deleteData ( unsigned long offset, unsigned long count ) virtual void replaceData ( unsigned long offset, unsigned long count, const QString & arg ) virtual uint length () const virtual QString data () const virtual void setData ( const QString & v ) virtual QDomNode::NodeType nodeType () const virtual bool isCharacterData () const DESCRIPTION
The QDomCharacterData class represents a generic string in the DOM. Character data as used in XML specifies a generic data string. More specialized versions of this class are QDomText, QDomComment and QDomCDATASection. The data string is set with setData() and retrieved with data(). You can retrieve a portion of the data string using substringData(). Extra data can be appended with appendData(), or inserted with insertData(). Portions of the data string can be deleted with deleteData() or replaced with replaceData(). The length of the data string is returned by length(). The node type of the node containing this character data is returned by nodeType(). See also QDomText, QDomComment, QDomCDATASection, and XML. MEMBER FUNCTION DOCUMENTATION
QDomCharacterData::QDomCharacterData () Constructs an empty character data object. QDomCharacterData::QDomCharacterData ( const QDomCharacterData & 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(). QDomCharacterData::~QDomCharacterData () Destroys the object and frees its resources. void QDomCharacterData::appendData ( const QString & arg ) [virtual] Appends the string arg to the stored string. QString QDomCharacterData::data () const [virtual] Returns the string stored in this object. If the node is a null node, it will return QString::null. void QDomCharacterData::deleteData ( unsigned long offset, unsigned long count ) [virtual] Deletes a substring of length count from position offset. void QDomCharacterData::insertData ( unsigned long offset, const QString & arg ) [virtual] Inserts the string arg into the stored string at position offset. bool QDomCharacterData::isCharacterData () const [virtual] Returns TRUE. Reimplemented from QDomNode. uint QDomCharacterData::length () const [virtual] Returns the length of the stored string. QDomNode::NodeType QDomCharacterData::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. Reimplemented from QDomNode. Reimplemented in QDomText and QDomComment. QDomCharacterData &; QDomCharacterData::operator= ( const QDomCharacterData & x ) Assigns x to this character data. 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(). void QDomCharacterData::replaceData ( unsigned long offset, unsigned long count, const QString & arg ) [virtual] Replaces the substring of length count starting at position offset with the string arg. void QDomCharacterData::setData ( const QString & v ) [virtual] Sets this object's string to v. QString QDomCharacterData::substringData ( unsigned long offset, unsigned long count ) [virtual] Returns the substring of length count from position offset. SEE ALSO
http://doc.trolltech.com/qdomcharacterdata.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qdomcharacterdata.3qt) and the Qt version (3.3.8). Trolltech AS 2 February 2007 QDomCharacterData(3qt)
Man Page