PythonQt.QtXmlPatterns.QAbstractXmlReceiver · declarations 001
Back to PythonQt.QtXmlPatterns.QAbstractXmlReceiver
atomicValue
atomicValue(value: Any) -> None
X.atomicValue(value)
Supplemental documentation: Qt 5 reference:
[pure virtual] void QAbstractXmlReceiver::atomicValue(const QVariant \&value)
This callback is called when an atomic value appears in the sequence. The value is a simple data value. It is guaranteed to be valid.
Upstream PySide2 reference signatures (binding differences may apply):
atomicValue(self, value: typing.Any) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractxmlreceiver.html#atomicValue
attribute
attribute(name: Any, value: str) -> None
X.attribute(name, value)
Supplemental documentation: Qt 5 reference:
[pure virtual] void QAbstractXmlReceiver::attribute(const QXmlName \&name, const QStringRef \&value)
This callback is called when an attribute node appears in the sequence. name is the attribute name and the value string contains the attribute value.
Upstream PySide2 reference signatures (binding differences may apply):
attribute(self, name: PySide2.QtXmlPatterns.QXmlName, value: str) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractxmlreceiver.html#attribute
characters
characters(value: str) -> None
X.characters(value)
Supplemental documentation: Qt 5 reference:
[pure virtual] void QAbstractXmlReceiver::characters(const QStringRef \&value)
This callback is called when a text node appears in the sequence. The value contains the text. Adjacent text nodes may not occur in the sequence, i.e., this callback must not be called twice in a row.
Upstream PySide2 reference signatures (binding differences may apply):
characters(self, value: str) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractxmlreceiver.html#characters
comment
comment(value: str) -> None
X.comment(value)
Supplemental documentation: Qt 5 reference:
[pure virtual] void QAbstractXmlReceiver::comment(const QString \&value)
This callback is called when a comment node appears in the sequence. The value is the comment text, which must not contain the string "--".
Upstream PySide2 reference signatures (binding differences may apply):
comment(self, value: str) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractxmlreceiver.html#comment
endDocument
endDocument() -> None
X.endDocument()
Supplemental documentation: Qt 5 reference:
[pure virtual] void QAbstractXmlReceiver::endDocument()
This callback is called when the end of a document node appears in the sequence.
Upstream PySide2 reference signatures (binding differences may apply):
endDocument(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractxmlreceiver.html#endDocument
endElement
endElement() -> None
X.endElement()
Supplemental documentation: Qt 5 reference:
[pure virtual] void QAbstractXmlReceiver::endElement()
This callback is called when the end of an element node appears in the sequence.
Upstream PySide2 reference signatures (binding differences may apply):
endElement(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractxmlreceiver.html#endElement
endOfSequence
endOfSequence() -> None
X.endOfSequence()
Supplemental documentation: Qt 5 reference:
[pure virtual] void QAbstractXmlReceiver::endOfSequence()
This callback is called once only, right after the sequence ends.
Upstream PySide2 reference signatures (binding differences may apply):
endOfSequence(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractxmlreceiver.html#endOfSequence
namespaceBinding
namespaceBinding(name: Any) -> None
X.namespaceBinding(name)
Supplemental documentation: Qt 5 reference:
[pure virtual] void QAbstractXmlReceiver::namespaceBinding(const QXmlName \&name)
This callback is called when a namespace binding is in scope of an element. A namespace is defined by a URI. In the QXmlName name, the value of QXmlName::namespaceUri() is that URI. The value of QXmlName::prefix() is the prefix that the URI is bound to. The local name is insignificant and can be an arbitrary value.
Upstream PySide2 reference signatures (binding differences may apply):
namespaceBinding(self, name: PySide2.QtXmlPatterns.QXmlName) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractxmlreceiver.html#namespaceBinding
processingInstruction
processingInstruction(target: Any, value: str) -> None
X.processingInstruction(target, value)
Supplemental documentation: Qt 5 reference:
[pure virtual] void QAbstractXmlReceiver::processingInstruction(const QXmlName \&target, const QString \&value)
This callback is called when a processing instruction appears in the sequence. A processing instruction is used in an XML document to tell the application reading the document to perform some action. A typical example is to use a processing instruction to tell the application to use a particular XSLT stylesheet to process the document.
<?xml-stylesheet type="test/xsl" href="formatter.xsl"?>
target is the name of the processing instruction. Its prefix and namespace URI must both be empty. Its local name is the target. In the above example, the name is xml-stylesheet.
The value specifies the action to be taken. Note that the value must not contain the string "?>". In the above example, the value is type\="test/xsl" href\="formatter.xsl.
Generally, use of processing instructions should be avoided, because they are not namespace aware and in many contexts are stripped out anyway. Processing instructions can often be replaced with elements from a custom namespace.
Upstream PySide2 reference signatures (binding differences may apply):
processingInstruction(self, target: PySide2.QtXmlPatterns.QXmlName, value: str) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractxmlreceiver.html#processingInstruction
startDocument
startDocument() -> None
X.startDocument()
Supplemental documentation: Qt 5 reference:
[pure virtual] void QAbstractXmlReceiver::startDocument()
This callback is called when a document node appears in the sequence.
Upstream PySide2 reference signatures (binding differences may apply):
startDocument(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractxmlreceiver.html#startDocument
startElement
startElement(name: Any) -> None
X.startElement(name)
Supplemental documentation: Qt 5 reference:
[pure virtual] void QAbstractXmlReceiver::startElement(const QXmlName \&name)
This callback is called when a new element node appears in the sequence. name is the valid name of the node element.
Upstream PySide2 reference signatures (binding differences may apply):
startElement(self, name: PySide2.QtXmlPatterns.QXmlName) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractxmlreceiver.html#startElement
startOfSequence
startOfSequence() -> None
X.startOfSequence()
Supplemental documentation: Qt 5 reference:
[pure virtual] void QAbstractXmlReceiver::startOfSequence()
This callback is called once only, right before the sequence begins.
Upstream PySide2 reference signatures (binding differences may apply):
startOfSequence(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractxmlreceiver.html#startOfSequence
whitespaceOnly
whitespaceOnly(value: str) -> None
X.whitespaceOnly(value)
Upstream PySide2 reference signatures (binding differences may apply):
whitespaceOnly(self, value: str) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractxmlreceiver.html#whitespaceOnly