com.trolltech.qt.xml
Class QDomComment
java.lang.Object
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.xml.QDomNode
com.trolltech.qt.xml.QDomCharacterData
com.trolltech.qt.xml.QDomComment
- All Implemented Interfaces:
- QtJambiInterface, java.lang.Cloneable
public class QDomComment
- extends QDomCharacterData
- implements java.lang.Cloneable
The QDomComment
class represents an XML comment. A comment in the parsed XML such as this:
<!-- this is a comment -->
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.
Methods inherited from class com.trolltech.qt.xml.QDomNode |
appendChild, childNodes, clear, cloneNode, cloneNode, columnNumber, firstChild, firstChildElement, firstChildElement, hasAttributes, hasChildNodes, insertAfter, insertBefore, isAttr, isCDATASection, isCharacterData, isComment, isDocument, isDocumentFragment, isDocumentType, isElement, isEntity, isEntityReference, isNotation, isNull, isProcessingInstruction, isSupported, isText, lastChild, lastChildElement, lastChildElement, lineNumber, localName, namedItem, namespaceURI, nativePointerArray, nextSibling, nextSiblingElement, nextSiblingElement, nodeName, nodeType, nodeValue, normalize, ownerDocument, parentNode, prefix, previousSibling, previousSiblingElement, previousSiblingElement, removeChild, replaceChild, save, save, setNodeValue, setPrefix, toAttr, toCDATASection, toCharacterData, toComment, toDocument, toDocumentFragment, toDocumentType, toElement, toEntity, toEntityReference, toNotation, toProcessingInstruction, toText, writeTo |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QDomComment
public QDomComment()
- Constructs an empty comment. To construct a comment with content, use the
QDomDocument::createComment()
function.
QDomComment
public QDomComment(QDomComment 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()
.
fromNativePointer
public static QDomComment fromNativePointer(QNativePointer nativePointer)
- This method returns the QDomComment instance pointed to by nativePointer.
nativePointerArray
public static QNativePointer nativePointerArray(QDomComment[] array)
- This function returns a QNativePointer that is pointing to the specified QDomComment array.
clone
public QDomComment clone()
- This method is reimplemented for internal reasons
- Overrides:
clone
in class QDomCharacterData