PythonQt.QtXmlPatterns.QSimpleXmlNodeModel · declarations 001
Back to PythonQt.QtXmlPatterns.QSimpleXmlNodeModel
attributes
attributes(element: Any) -> tuple
X.attributes(element) -> tuple
baseUri
baseUri(node: Any) -> Any
X.baseUri(node) -> PythonQt.QtCore.QUrl
Supplemental documentation: Qt 5 reference:
[override virtual] QUrl QSimpleXmlNodeModel::baseUri(const QXmlNodeModelIndex \&node) const
Reimplements: QAbstractXmlNodeModel::baseUri(const QXmlNodeModelIndex \&n) const.
Returns the base URI for node. This is always the document URI.
See also documentUri().
Source: https://doc.qt.io/archives/qt-5.15/qsimplexmlnodemodel.html#baseUri
compareOrder
compareOrder(ni1: Any, ni2: Any) -> Any
X.compareOrder(ni1, ni2)
createIndex
createIndex(data: Any, additionalData: Any) -> Any
X.createIndex(data, additionalData) -> PythonQt.QtXmlPatterns.QXmlNodeModelIndex
documentUri
documentUri(ni: Any) -> Any
X.documentUri(ni) -> PythonQt.QtCore.QUrl
elementById
elementById(id: Any) -> Any
X.elementById(id) -> PythonQt.QtXmlPatterns.QXmlNodeModelIndex
Supplemental documentation: Qt 5 reference:
[override virtual] QXmlNodeModelIndex QSimpleXmlNodeModel::elementById(const QXmlName \&id) const
Reimplements: QAbstractXmlNodeModel::elementById(const QXmlName \&id) const.
Always returns a default constructed QXmlNodeModelIndex instance, regardless of id.
This effectively means the model has no elements that have an id.
Source: https://doc.qt.io/archives/qt-5.15/qsimplexmlnodemodel.html#elementById
isDeepEqual
isDeepEqual(ni1: Any, ni2: Any) -> bool
X.isDeepEqual(ni1, ni2) -> bool
kind
kind(ni: Any) -> Any
X.kind(ni)
name
name(ni: Any) -> Any
X.name(ni) -> PythonQt.QtXmlPatterns.QXmlName
namePool
namePool() -> Any
X.namePool() -> PythonQt.QtXmlPatterns.QXmlNamePool
Supplemental documentation: Qt 5 reference:
QXmlNamePool \&QSimpleXmlNodeModel::namePool() const
Returns the name pool associated with this model. The implementation of name() will use this name pool to create names.
Source: https://doc.qt.io/archives/qt-5.15/qsimplexmlnodemodel.html#namePool
namespaceBindings
namespaceBindings(arg__1: Any) -> tuple
X.namespaceBindings(arg__1) -> tuple
Supplemental documentation: Qt 5 reference:
[override virtual] QVector\<QXmlName> QSimpleXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex \&node) const
Reimplements: QAbstractXmlNodeModel::namespaceBindings(const QXmlNodeModelIndex \&n) const.
Always returns an empty QVector. This signals that no namespace bindings are in scope for node.
Source: https://doc.qt.io/archives/qt-5.15/qsimplexmlnodemodel.html#namespaceBindings
namespaceForPrefix
namespaceForPrefix(ni: Any, prefix: Any) -> int
X.namespaceForPrefix(ni, prefix) -> int
nextFromSimpleAxis
nextFromSimpleAxis(axis: Any, origin: Any) -> Any
X.nextFromSimpleAxis(axis, origin) -> PythonQt.QtXmlPatterns.QXmlNodeModelIndex
nodesByIdref
nodesByIdref(idref: Any) -> tuple
X.nodesByIdref(idref) -> tuple
Supplemental documentation: Qt 5 reference:
[override virtual] QVector\<QXmlNodeModelIndex> QSimpleXmlNodeModel::nodesByIdref(const QXmlName \&idref) const
Reimplements: QAbstractXmlNodeModel::nodesByIdref(const QXmlName \&idref) const.
Always returns an empty vector, regardless of idref.
This effectively means the model has no elements or attributes of type IDREF.
Source: https://doc.qt.io/archives/qt-5.15/qsimplexmlnodemodel.html#nodesByIdref
root
root(n: Any) -> Any
X.root(n) -> PythonQt.QtXmlPatterns.QXmlNodeModelIndex
sourceLocation
sourceLocation(index: Any) -> Any
X.sourceLocation(index) -> PythonQt.QtXmlPatterns.QSourceLocation
stringValue
stringValue(node: Any) -> str
X.stringValue(node) -> str
Supplemental documentation: Qt 5 reference:
[override virtual] QString QSimpleXmlNodeModel::stringValue(const QXmlNodeModelIndex \&node) const
Reimplements: QAbstractXmlNodeModel::stringValue(const QXmlNodeModelIndex \&n) const.
If node is an element or attribute, typedValue() is called, and the return value converted to a string, as per XQuery's rules.
If node is another type of node, the empty string is returned.
If this function is overridden for comments or processing instructions, it is important
to remember to call it (for elements and attributes having values not of type
xs:string) to ensure that the values are formatted according to
XQuery.
Source: https://doc.qt.io/archives/qt-5.15/qsimplexmlnodemodel.html#stringValue
typedValue
typedValue(n: Any) -> Any
X.typedValue(n) -> object