QDomNotation Class
QDomNotation 클래스는 XML 표기법을 나타냅니다. 더 보기...
Header: | #include <QDomNotation> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Xml) target_link_libraries(mytarget PRIVATE Qt6::Xml) |
qmake: | QT += xml |
상속합니다: | QDomNode |
- 상속된 멤버를 포함한 모든 멤버의 목록
- QDomNotation은 XML 클래스의 일부입니다.
참고: 이 클래스의 모든 함수는 재진입합니다.
공용 함수
QDomNotation() | |
QDomNotation(const QDomNotation ¬ation) | |
QDomNode::NodeType | nodeType() const |
QString | publicId() const |
QString | systemId() const |
QDomNotation & | operator=(const QDomNotation &other) |
상세 설명
표기법은 이름으로 구문 분석되지 않은 엔티티의 형식을 선언하거나(XML 1.0 사양의 4.7 절 참조), 처리 명령 대상의 공식 선언에 사용됩니다(XML 1.0 사양의 2.6 절 참조).
DOM은 표기법 노드 편집을 지원하지 않으므로 읽기 전용입니다.
표기법 노드에는 부모가 없습니다.
표기법 노드에서 publicId() 및 systemId()을 검색할 수 있습니다.
문서 객체 모델에 대한 자세한 내용은 레벨 1 및 레벨 2 코어를 참조하세요. DOM 구현에 대한 보다 일반적인 소개는 QDomDocument 문서를 참조하세요.
멤버 함수 문서
QDomNotation::QDomNotation()
생성자.
QDomNotation::QDomNotation(const QDomNotation ¬ation)
notation 의 복사본을 생성합니다.
복사본의 데이터는 공유됩니다(얕은 복사본): 한 노드를 수정하면 다른 노드도 변경됩니다. 심층 복사본을 만들려면 cloneNode()를 사용합니다.
QDomNode::NodeType QDomNotation::nodeType() const
반환값 NotationNode
.
QString QDomNotation::publicId() const
이 표기법의 공개 식별자를 반환합니다.
QString QDomNotation::systemId() const
이 표기법의 시스템 식별자를 반환합니다.
QDomNotation &QDomNotation::operator=(const QDomNotation &other)
이 DOM 표기법에 other 을 할당합니다.
복사본의 데이터는 공유됩니다(얕은 복사본): 한 노드를 수정하면 다른 노드도 변경됩니다. 심층 복사본을 만들려면 cloneNode()를 사용합니다.
© 2025 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.