com.trolltech.qt.xml
Class QDomCDATASection
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.QDomText
com.trolltech.qt.xml.QDomCDATASection
- All Implemented Interfaces:
- QtJambiInterface
public class QDomCDATASection
- extends QDomText
The QDomCDATASection class represents an XML CDATA section.
CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. The only delimiter that is recognized in a CDATA section is the "]]>" string that terminates the CDATA section. CDATA sections cannot be nested. Their primary purpose is for including material such as XML fragments, without needing to escape all the delimiters.
Adjacent QDomCDATASection nodes are not merged by the QDomNode::normalize() function.
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.
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter |
QSignalEmitter.Signal0, QSignalEmitter.Signal1<A>, QSignalEmitter.Signal2<A,B>, QSignalEmitter.Signal3<A,B,C>, QSignalEmitter.Signal4<A,B,C,D>, QSignalEmitter.Signal5<A,B,C,D,E>, QSignalEmitter.Signal6<A,B,C,D,E,F>, QSignalEmitter.Signal7<A,B,C,D,E,F,G>, QSignalEmitter.Signal8<A,B,C,D,E,F,G,H>, QSignalEmitter.Signal9<A,B,C,D,E,F,G,H,I> |
Methods inherited from class com.trolltech.qt.xml.QDomNode |
appendChild, childNodes, clear, cloneNode, cloneNode, columnNumber, equals, 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 |
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QDomCDATASection
public QDomCDATASection(QDomCDATASection 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.
QDomCDATASection
public QDomCDATASection()
Constructs an empty CDATA section. To create a CDATA section with content, use the QDomDocument::createCDATASection() function.
fromNativePointer
public static QDomCDATASection fromNativePointer(QNativePointer nativePointer)
- This function returns the QDomCDATASection instance pointed to by nativePointer
- Parameters:
nativePointer
- the QNativePointer of which object should be returned.
nativePointerArray
public static QNativePointer nativePointerArray(QDomCDATASection[] array)
- This function returns a QNativePointer that is pointing to the specified QDomCDATASection array.
- Parameters:
array
- the array that the returned pointer will point to.
- Returns:
- a QNativePointer that is pointing to the specified array.