QDomNotation Class
La classe QDomNotation représente une notation XML. Plus d'informations...
| En-tête : | #include <QDomNotation> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS Xml)target_link_libraries(mytarget PRIVATE Qt6::Xml) |
| qmake : | QT += xml |
| Héritages : | QDomNode |
- Liste de tous les membres, y compris les membres hérités
- QDomNotation fait partie des classes XML.
Note : Toutes les fonctions de cette classe sont réentrantes.
Fonctions publiques
| QDomNotation() | |
| QDomNotation(const QDomNotation ¬ation) | |
| QDomNode::NodeType | nodeType() const |
| QString | publicId() const |
| QString | systemId() const |
| QDomNotation & | operator=(const QDomNotation &other) |
Description détaillée
Une notation déclare, par nom, le format d'une entité non analysée (voir section 4.7 de la spécification XML 1.0), ou est utilisée pour la déclaration formelle des cibles d'instructions de traitement (voir section 2.6 de la spécification XML 1.0).
DOM ne supporte pas l'édition des nœuds de notation ; ils sont donc en lecture seule.
Un nœud de notation n'a pas de parent.
Vous pouvez récupérer les éléments publicId() et systemId() d'un nœud de notation.
Pour plus d'informations sur le modèle d'objet de document, voir les niveaux 1 et 2 du noyau. Pour une introduction plus générale à l'implémentation du DOM, voir la documentation QDomDocument.
Documentation sur les fonctions membres
QDomNotation::QDomNotation()
Constructeur.
QDomNotation::QDomNotation(const QDomNotation ¬ation)
Construit une copie de notation.
Les données de la copie sont partagées (copie superficielle) : modifier un noeud modifiera également l'autre. Si vous voulez faire une copie profonde, utilisez cloneNode().
QDomNode::NodeType QDomNotation::nodeType() const
Retourne NotationNode.
QString QDomNotation::publicId() const
Renvoie l'identifiant public de cette notation.
QString QDomNotation::systemId() const
Renvoie l'identifiant système de cette notation.
QDomNotation &QDomNotation::operator=(const QDomNotation &other)
Attribue other à cette notation DOM.
Les données de la copie sont partagées (copie superficielle) : modifier un nœud modifiera également l'autre. Si vous voulez faire une copie profonde, utilisez cloneNode().
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.