- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents an XML document
Java wrapper for Qt class QDomDocument
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQDomDocument::ParseOption
static final class
QFlags
type for enumQDomDocument.ParseOption
static class
Struct is used to store the result of QDomDocument::setContent()static final class
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.ParseResult
setContent
(byte [] data) Overloaded function forsetContent(byte[], io.qt.xml.QDomDocument.ParseOptions)
withoptions = new io.qt.xml.QDomDocument.ParseOptions(0)
.final QDomDocument.Result
setContent
(byte [] text, boolean namespaceProcessing) Overloaded function forsetContent(io.qt.core.QByteArray, boolean)
.final QDomDocument.ParseResult
setContent
(byte [] data, QDomDocument.ParseOption ... options) Overloaded function forsetContent(io.qt.core.QByteArray, io.qt.xml.QDomDocument.ParseOptions)
.final QDomDocument.ParseResult
setContent
(byte [] data, QDomDocument.ParseOptions options) Overloaded function forsetContent(io.qt.core.QByteArray, io.qt.xml.QDomDocument.ParseOptions)
.final QDomDocument.ParseResult
setContent
(QByteArray data) Overloaded function forsetContent(io.qt.core.QByteArray, io.qt.xml.QDomDocument.ParseOptions)
withoptions = new io.qt.xml.QDomDocument.ParseOptions(0)
.final QDomDocument.Result
setContent
(QByteArray text, boolean namespaceProcessing) SeeQDomDocument::
setContent(QByteArray, bool, QString*, int*, int*) final QDomDocument.ParseResult
setContent
(QByteArray data, QDomDocument.ParseOption ... options) Overloaded function forsetContent(io.qt.core.QByteArray, io.qt.xml.QDomDocument.ParseOptions)
.final QDomDocument.ParseResult
setContent
(QByteArray data, QDomDocument.ParseOptions options) final QDomDocument.ParseResult
setContent
(QIODevice device) Overloaded function forsetContent(io.qt.core.QIODevice, io.qt.xml.QDomDocument.ParseOptions)
withoptions = new io.qt.xml.QDomDocument.ParseOptions(0)
.final QDomDocument.Result
setContent
(QIODevice dev, boolean namespaceProcessing) SeeQDomDocument::
setContent(QIODevice*, bool, QString*, int*, int*) final QDomDocument.ParseResult
setContent
(QIODevice device, QDomDocument.ParseOption ... options) Overloaded function forsetContent(io.qt.core.QIODevice, io.qt.xml.QDomDocument.ParseOptions)
.final QDomDocument.ParseResult
setContent
(QIODevice device, QDomDocument.ParseOptions options) final QDomDocument.ParseResult
setContent
(QXmlStreamReader reader) Overloaded function forsetContent(io.qt.core.QXmlStreamReader, io.qt.xml.QDomDocument.ParseOptions)
withoptions = new io.qt.xml.QDomDocument.ParseOptions(0)
.final QDomDocument.Result
setContent
(QXmlStreamReader reader, boolean namespaceProcessing) SeeQDomDocument::
setContent(QXmlStreamReader*, bool, QString*, int*, int*) final QDomDocument.ParseResult
setContent
(QXmlStreamReader reader, QDomDocument.ParseOption ... options) Overloaded function forsetContent(io.qt.core.QXmlStreamReader, io.qt.xml.QDomDocument.ParseOptions)
.final QDomDocument.ParseResult
setContent
(QXmlStreamReader reader, QDomDocument.ParseOptions options) final QDomDocument.ParseResult
setContent
(String data) Overloaded function forsetContent(java.lang.String, io.qt.xml.QDomDocument.ParseOptions)
withoptions = new io.qt.xml.QDomDocument.ParseOptions(0)
.final QDomDocument.Result
setContent
(String text, boolean namespaceProcessing) SeeQDomDocument::
setContent(QString, bool, QString*, int*, int*) final QDomDocument.ParseResult
setContent
(String data, QDomDocument.ParseOption ... options) Overloaded function forsetContent(java.lang.String, io.qt.xml.QDomDocument.ParseOptions)
.final QDomDocument.ParseResult
setContent
(String data, QDomDocument.ParseOptions options) 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, firstChildElement, hasAttributes, hasChildNodes, hashCode, insertAfter, insertBefore, isAttr, isCDATASection, isCharacterData, isComment, isDocument, isDocumentFragment, isDocumentType, isElement, isEntity, isEntityReference, isNotation, isNull, isProcessingInstruction, isSupported, isText, lastChild, lastChildElement, lastChildElement, lastChildElement, lineNumber, localName, namedItem, namespaceURI, nextSibling, nextSiblingElement, nextSiblingElement, nextSiblingElement, nodeName, nodeType, nodeValue, normalize, ownerDocument, parentNode, prefix, previousSibling, previousSiblingElement, 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
@QtUninvokable public final QDomDocument.ParseResult setContent(String data, QDomDocument.ParseOptions options) - Parameters:
data
-options
-- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
setContent
@QtUninvokable public final QDomDocument.Result setContent(QByteArray text, boolean namespaceProcessing) See
QDomDocument::
setContent(QByteArray, bool, QString*, int*, int*) - Parameters:
text
-namespaceProcessing
-- Returns:
-
setContent
@QtUninvokable public final QDomDocument.ParseResult setContent(QIODevice device, QDomDocument.ParseOptions options) - Parameters:
device
-options
-- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
setContent
@QtUninvokable public final QDomDocument.Result setContent(QIODevice dev, boolean namespaceProcessing) See
QDomDocument::
setContent(QIODevice*, bool, QString*, int*, int*) - Parameters:
dev
-namespaceProcessing
-- Returns:
-
setContent
@QtUninvokable public final QDomDocument.Result setContent(String text, boolean namespaceProcessing) See
QDomDocument::
setContent(QString, bool, QString*, int*, int*) - Parameters:
text
-namespaceProcessing
-- Returns:
-
setContent
@QtUninvokable public final QDomDocument.ParseResult setContent(QXmlStreamReader reader, QDomDocument.ParseOptions options) - Parameters:
reader
-options
-- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
setContent
@QtUninvokable public final QDomDocument.Result setContent(QXmlStreamReader reader, boolean namespaceProcessing) See
QDomDocument::
setContent(QXmlStreamReader*, bool, QString*, int*, int*) - Parameters:
reader
-namespaceProcessing
-- Returns:
-
setContent
@QtUninvokable public final QDomDocument.ParseResult setContent(QByteArray data, QDomDocument.ParseOptions options) - Parameters:
data
-options
-- Returns:
- Since:
- This function was introduced in Qt 6.5.
-
toByteArray
- Parameters:
arg__1
-- Returns:
-
toString
- Parameters:
arg__1
-- Returns:
-
clone
Creates and returns a copy of this object.
-
setContent
Overloaded function for
setContent(java.lang.String, io.qt.xml.QDomDocument.ParseOptions)
withoptions = new io.qt.xml.QDomDocument.ParseOptions(0)
. -
setContent
@QtUninvokable public final QDomDocument.ParseResult setContent(String data, QDomDocument.ParseOption ... options) Overloaded function for
setContent(java.lang.String, io.qt.xml.QDomDocument.ParseOptions)
. -
setContent
@QtUninvokable public final QDomDocument.Result setContent(byte [] text, boolean namespaceProcessing) Overloaded function for
setContent(io.qt.core.QByteArray, boolean)
. -
setContent
Overloaded function for
setContent(io.qt.core.QIODevice, io.qt.xml.QDomDocument.ParseOptions)
withoptions = new io.qt.xml.QDomDocument.ParseOptions(0)
. -
setContent
@QtUninvokable public final QDomDocument.ParseResult setContent(QIODevice device, QDomDocument.ParseOption ... options) Overloaded function for
setContent(io.qt.core.QIODevice, io.qt.xml.QDomDocument.ParseOptions)
. -
setContent
Overloaded function for
setContent(io.qt.core.QXmlStreamReader, io.qt.xml.QDomDocument.ParseOptions)
withoptions = new io.qt.xml.QDomDocument.ParseOptions(0)
. -
setContent
@QtUninvokable public final QDomDocument.ParseResult setContent(QXmlStreamReader reader, QDomDocument.ParseOption ... options) Overloaded function for
setContent(io.qt.core.QXmlStreamReader, io.qt.xml.QDomDocument.ParseOptions)
. -
setContent
Overloaded function for
setContent(io.qt.core.QByteArray, io.qt.xml.QDomDocument.ParseOptions)
withoptions = new io.qt.xml.QDomDocument.ParseOptions(0)
. -
setContent
Overloaded function for
setContent(byte[], io.qt.xml.QDomDocument.ParseOptions)
withoptions = new io.qt.xml.QDomDocument.ParseOptions(0)
. -
setContent
@QtUninvokable public final QDomDocument.ParseResult setContent(byte [] data, QDomDocument.ParseOptions options) Overloaded function for
setContent(io.qt.core.QByteArray, io.qt.xml.QDomDocument.ParseOptions)
. -
setContent
@QtUninvokable public final QDomDocument.ParseResult setContent(QByteArray data, QDomDocument.ParseOption ... options) Overloaded function for
setContent(io.qt.core.QByteArray, io.qt.xml.QDomDocument.ParseOptions)
. -
setContent
@QtUninvokable public final QDomDocument.ParseResult setContent(byte [] data, QDomDocument.ParseOption ... options) Overloaded function for
setContent(io.qt.core.QByteArray, io.qt.xml.QDomDocument.ParseOptions)
. -
toByteArray
Overloaded function for
toByteArray(int)
witharg__1 = 1
. -
toString
Overloaded function for
toString(int)
witharg__1 = 1
.
-