CopperSpice API
1.9.2
|
The QDomComment class represents an XML comment. More...
Public Methods | |
QDomComment () | |
QDomComment (const QDomComment &other) | |
QDomNode::NodeType | nodeType () const |
QDomComment & | operator= (const QDomComment &other) |
Public Methods inherited from QDomCharacterData | |
QDomCharacterData () | |
QDomCharacterData (const QDomCharacterData &other) | |
void | appendData (const QString &arg) |
QString | data () const |
void | deleteData (unsigned long offset, unsigned long count) |
void | insertData (unsigned long offset, const QString &arg) |
int | length () const |
QDomNode::NodeType | nodeType () const |
QDomCharacterData & | operator= (const QDomCharacterData &other) |
void | replaceData (unsigned long offset, unsigned long count, const QString &arg) |
void | setData (const QString &data) |
QString | substringData (unsigned long offset, unsigned long count) |
Public Methods inherited from QDomNode | |
QDomNode () | |
QDomNode (const QDomNode &other) | |
~QDomNode () | |
QDomNode | appendChild (const QDomNode &newChild) |
QDomNamedNodeMap | attributes () const |
QDomNodeList | childNodes () const |
void | clear () |
QDomNode | cloneNode (bool deep=true) const |
int | columnNumber () const |
QDomNode | firstChild () const |
QDomElement | firstChildElement (const QString &tagName=QString ()) const |
bool | hasAttributes () const |
bool | hasChildNodes () const |
QDomNode | insertAfter (const QDomNode &newChild, const QDomNode &refChild) |
QDomNode | insertBefore (const QDomNode &newChild, const QDomNode &refChild) |
bool | isAttr () const |
bool | isCDATASection () const |
bool | isCharacterData () const |
bool | isComment () const |
bool | isDocument () const |
bool | isDocumentFragment () const |
bool | isDocumentType () const |
bool | isElement () const |
bool | isEntity () const |
bool | isEntityReference () const |
bool | isNotation () const |
bool | isNull () const |
bool | isProcessingInstruction () const |
bool | isSupported (const QString &feature, const QString &version) const |
bool | isText () const |
QDomNode | lastChild () const |
QDomElement | lastChildElement (const QString &tagName=QString ()) const |
int | lineNumber () const |
QString | localName () const |
QDomNode | namedItem (const QString &name) const |
QString | namespaceURI () const |
QDomNode | nextSibling () const |
QDomElement | nextSiblingElement (const QString &tagName=QString ()) const |
QString | nodeName () const |
NodeType | nodeType () const |
QString | nodeValue () const |
void | normalize () |
bool | operator!= (const QDomNode &n) const |
QDomNode & | operator= (const QDomNode &other) |
bool | operator== (const QDomNode &n) const |
QDomDocument | ownerDocument () const |
QDomNode | parentNode () const |
QString | prefix () const |
QDomNode | previousSibling () const |
QDomElement | previousSiblingElement (const QString &tagName=QString ()) const |
QDomNode | removeChild (const QDomNode &oldChild) |
QDomNode | replaceChild (const QDomNode &newChild, const QDomNode &oldChild) |
void | save (QTextStream &stream, int indent, QDomNode::EncodingPolicy policy=QDomNode::EncodingFromDocument) const |
void | setNodeValue (const QString &value) |
void | setPrefix (const QString &prefix) |
QDomAttr | toAttr () const |
QDomCDATASection | toCDATASection () const |
QDomCharacterData | toCharacterData () const |
QDomComment | toComment () const |
QDomDocument | toDocument () const |
QDomDocumentFragment | toDocumentFragment () const |
QDomDocumentType | toDocumentType () const |
QDomElement | toElement () const |
QDomEntity | toEntity () const |
QDomEntityReference | toEntityReference () const |
QDomNotation | toNotation () const |
QDomProcessingInstruction | toProcessingInstruction () const |
QDomText | toText () const |
Friends | |
class | QDomDocument |
class | QDomNode |
Additional Inherited Members | |
Public Types inherited from QDomNode | |
enum | EncodingPolicy |
enum | NodeType |
Related Functions inherited from QDomNode | |
QTextStream & | operator<< (QTextStream &str, const QDomNode &node) |
The QDomComment class represents an XML comment.
A comment in the parsed XML such as this:
is represented by QDomComment objects in the parsed Dom tree.
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.
QDomComment::QDomComment | ( | ) |
Constructs an empty comment. To construct a comment with content, use the QDomDocument::createComment() function.
QDomComment::QDomComment | ( | const QDomComment & | other | ) |
Copy constructs a new QDomPComment from other.
|
inline |
Returns CommentNode
.
QDomComment & QDomComment::operator= | ( | const QDomComment & | other | ) |
Copy assigns from other and returns a reference to this object.