java.lang.Object
io.qt.QtObject
io.qt.xml.QDomNode
io.qt.xml.QDomDocument
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents an XML document
Java wrapper for Qt class QDomDocument
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.xml.QDomNode
QDomNode.EncodingPolicy, QDomNode.NodeType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QDomDocument arg__1) clone()
Creates and returns a copy of this object.final QDomAttr
createAttribute
(String name) final QDomAttr
createAttributeNS
(String nsURI, String qName) final QDomCDATASection
createCDATASection
(String data) final QDomComment
createComment
(String data) final QDomDocumentFragment
final QDomElement
createElement
(String tagName) final QDomElement
createElementNS
(String nsURI, String qName) final QDomEntityReference
createEntityReference
(String name) createProcessingInstruction
(String target, String data) final QDomText
createTextNode
(String data) final QDomDocumentType
doctype()
final QDomElement
final QDomElement
elementById
(String elementId) final QDomNodeList
elementsByTagName
(String tagname) final QDomNodeList
elementsByTagNameNS
(String nsURI, String localName) final QDomImplementation
final QDomNode
importNode
(QDomNode importedNode, boolean deep) final QDomDocument.Result
setContent
(byte [] text) Overloaded function forsetContent(io.qt.core.QByteArray)
.final QDomDocument.Result
setContent
(byte [] text, boolean namespaceProcessing) Overloaded function forsetContent(io.qt.core.QByteArray, boolean)
.final QDomDocument.Result
setContent
(QByteArray text) final QDomDocument.Result
setContent
(QByteArray text, boolean namespaceProcessing) final QDomDocument.Result
setContent
(QIODevice dev) final QDomDocument.Result
setContent
(QIODevice dev, boolean namespaceProcessing) final QDomDocument.Result
setContent
(QXmlStreamReader reader, boolean namespaceProcessing) final QDomDocument.Result
setContent
(QXmlInputSource source, boolean namespaceProcessing) final QDomDocument.Result
setContent
(QXmlInputSource source, QXmlReader reader) final QDomDocument.Result
setContent
(String text) final QDomDocument.Result
setContent
(String text, boolean namespaceProcessing) final QByteArray
Overloaded function fortoByteArray(int)
witharg__1 = 1
.final QByteArray
toByteArray
(int arg__1) final String
toString()
Overloaded function fortoString(int)
witharg__1 = 1
.final String
toString
(int arg__1) Methods inherited from class io.qt.xml.QDomNode
appendChild, assign, childNodes, clear, cloneNode, cloneNode, columnNumber, equals, equals, firstChild, firstChildElement, firstChildElement, hasAttributes, hasChildNodes, hashCode, insertAfter, insertBefore, isAttr, isCDATASection, isCharacterData, isComment, isDocument, isDocumentFragment, isDocumentType, isElement, isEntity, isEntityReference, isNotation, isNull, isProcessingInstruction, isSupported, isText, lastChild, lastChildElement, lastChildElement, lineNumber, localName, namedItem, namespaceURI, 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 io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QDomDocument
public QDomDocument() -
QDomDocument
- Parameters:
x
-
-
QDomDocument
- Parameters:
doctype
-
-
QDomDocument
- Parameters:
name
-
-
-
Method Details
-
createAttribute
- Parameters:
name
-- Returns:
-
createAttributeNS
- Parameters:
nsURI
-qName
-- Returns:
-
createCDATASection
- Parameters:
data
-- Returns:
-
createComment
- Parameters:
data
-- Returns:
-
createDocumentFragment
- Returns:
-
createElement
- Parameters:
tagName
-- Returns:
-
createElementNS
- Parameters:
nsURI
-qName
-- Returns:
-
createEntityReference
- Parameters:
name
-- Returns:
-
createProcessingInstruction
@QtUninvokable public final QDomProcessingInstruction createProcessingInstruction(String target, String data) - Parameters:
target
-data
-- Returns:
-
createTextNode
- Parameters:
data
-- Returns:
-
doctype
- Returns:
-
documentElement
- Returns:
-
elementById
- Parameters:
elementId
-- Returns:
-
elementsByTagName
- Parameters:
tagname
-- Returns:
-
elementsByTagNameNS
- Parameters:
nsURI
-localName
-- Returns:
-
implementation
- Returns:
-
importNode
- Parameters:
importedNode
-deep
-- Returns:
-
assign
- Parameters:
arg__1
-
-
setContent
- Parameters:
text
-- Returns:
-
setContent
@QtUninvokable public final QDomDocument.Result setContent(QByteArray text, boolean namespaceProcessing) - Parameters:
text
-namespaceProcessing
-- Returns:
-
setContent
- Parameters:
dev
-- Returns:
-
setContent
@QtUninvokable public final QDomDocument.Result setContent(QIODevice dev, boolean namespaceProcessing) - Parameters:
dev
-namespaceProcessing
-- Returns:
-
setContent
- Parameters:
text
-- Returns:
-
setContent
@QtUninvokable public final QDomDocument.Result setContent(String text, boolean namespaceProcessing) - Parameters:
text
-namespaceProcessing
-- Returns:
-
setContent
@QtUninvokable public final QDomDocument.Result setContent(QXmlInputSource source, QXmlReader reader) - Parameters:
source
-reader
-- Returns:
-
setContent
@QtUninvokable public final QDomDocument.Result setContent(QXmlInputSource source, boolean namespaceProcessing) - Parameters:
source
-namespaceProcessing
-- Returns:
- Since:
- This function was introduced in Qt 4.5.
-
setContent
@QtUninvokable public final QDomDocument.Result setContent(QXmlStreamReader reader, boolean namespaceProcessing) - Parameters:
reader
-namespaceProcessing
-- Returns:
- Since:
- This function was introduced in Qt 5.15.
-
toByteArray
- Parameters:
arg__1
-- Returns:
-
toString
- Parameters:
arg__1
-- Returns:
-
clone
Creates and returns a copy of this object.
-
setContent
Overloaded function for
setContent(io.qt.core.QByteArray)
. -
setContent
@QtUninvokable public final QDomDocument.Result setContent(byte [] text, boolean namespaceProcessing) Overloaded function for
setContent(io.qt.core.QByteArray, boolean)
. -
toByteArray
Overloaded function for
toByteArray(int)
witharg__1 = 1
. -
toString
Overloaded function for
toString(int)
witharg__1 = 1
.
-