![]() |
Qt 6.x
The Qt SDK
|
#include <qdomhelpers_p.h>
Public Member Functions | |
QDomBuilder (QDomDocumentPrivate *d, QXmlStreamReader *r, QDomDocument::ParseOptions options) | |
~QDomBuilder () | |
bool | endDocument () |
bool | startElement (const QString &nsURI, const QString &qName, const QXmlStreamAttributes &atts) |
bool | endElement () |
bool | characters (const QString &characters, bool cdata=false) |
bool | processingInstruction (const QString &target, const QString &data) |
bool | skippedEntity (const QString &name) |
bool | startEntity (const QString &name) |
bool | endEntity () |
bool | startDTD (const QString &name, const QString &publicId, const QString &systemId) |
bool | parseDTD (const QString &dtd) |
bool | comment (const QString &characters) |
bool | externalEntityDecl (const QString &name, const QString &publicId, const QString &systemId) |
bool | notationDecl (const QString &name, const QString &publicId, const QString &systemId) |
bool | unparsedEntityDecl (const QString &name, const QString &publicId, const QString &systemId, const QString ¬ationName) |
void | fatalError (const QString &message) |
QDomDocument::ParseResult | result () const |
bool | preserveSpacingOnlyNodes () const |
Definition at line 34 of file qdomhelpers_p.h.
QDomBuilder::QDomBuilder | ( | QDomDocumentPrivate * | d, |
QXmlStreamReader * | r, | ||
QDomDocument::ParseOptions | options | ||
) |
Definition at line 26 of file qdomhelpers.cpp.
References Q_ASSERT.
QDomBuilder::~QDomBuilder | ( | ) |
Definition at line 34 of file qdomhelpers.cpp.
Definition at line 121 of file qdomhelpers.cpp.
References QDomNodePrivate::appendChild(), QDomDocumentTypePrivate::appendChild(), characters, QDomDocumentPrivate::createCDATASection(), QDomDocumentPrivate::createEntityReference(), QDomDocumentPrivate::createTextNode(), QDomDocumentPrivate::doctype(), e, QString::isEmpty(), and Q_UNUSED.
bool QDomBuilder::comment | ( | const QString & | characters | ) |
Definition at line 187 of file qdomhelpers.cpp.
References QDomNodePrivate::appendChild(), characters, QDomDocumentPrivate::createComment(), and QDomNodePrivate::setLocation().
bool QDomBuilder::endDocument | ( | ) |
Definition at line 36 of file qdomhelpers.cpp.
bool QDomBuilder::endElement | ( | ) |
Definition at line 112 of file qdomhelpers.cpp.
References QDomNodePrivate::parent().
bool QDomBuilder::endEntity | ( | ) |
Definition at line 181 of file qdomhelpers.cpp.
References QString::clear().
bool QDomBuilder::externalEntityDecl | ( | const QString & | name, |
const QString & | publicId, | ||
const QString & | systemId | ||
) |
Definition at line 207 of file qdomhelpers.cpp.
References unparsedEntityDecl().
Definition at line 168 of file qdomhelpers.cpp.
References QDomDocument::ParseResult::errorColumn, QDomDocument::ParseResult::errorLine, and QDomDocument::ParseResult::errorMessage.
bool QDomBuilder::notationDecl | ( | const QString & | name, |
const QString & | publicId, | ||
const QString & | systemId | ||
) |
Definition at line 213 of file qdomhelpers.cpp.
References QDomDocumentTypePrivate::appendChild(), and QDomDocumentPrivate::doctype().
bool QDomBuilder::parseDTD | ( | const QString & | dtd | ) |
Definition at line 75 of file qdomhelpers.cpp.
References QDomDocumentPrivate::doctype(), and QDomDocumentTypePrivate::internalSubset.
|
inline |
Definition at line 59 of file qdomhelpers_p.h.
References QDomDocument::PreserveSpacingOnlyNodes.
Definition at line 148 of file qdomhelpers.cpp.
References QDomNodePrivate::appendChild(), QDomDocumentPrivate::createProcessingInstruction(), and QDomNodePrivate::setLocation().
|
inline |
Definition at line 57 of file qdomhelpers_p.h.
Referenced by QDomParser::result().
bool QDomBuilder::skippedEntity | ( | const QString & | name | ) |
Definition at line 160 of file qdomhelpers.cpp.
References QDomNodePrivate::appendChild(), QDomDocumentPrivate::createEntityReference(), and QDomNodePrivate::setLocation().
bool QDomBuilder::startDTD | ( | const QString & | name, |
const QString & | publicId, | ||
const QString & | systemId | ||
) |
Definition at line 44 of file qdomhelpers.cpp.
References QDomDocumentPrivate::doctype(), QDomNodePrivate::name, QDomDocumentTypePrivate::publicId, and QDomDocumentTypePrivate::systemId.
bool QDomBuilder::startElement | ( | const QString & | nsURI, |
const QString & | qName, | ||
const QXmlStreamAttributes & | atts | ||
) |
Definition at line 81 of file qdomhelpers.cpp.
References QDomNodePrivate::appendChild(), QDomDocumentPrivate::createElement(), QDomDocumentPrivate::createElementNS(), QDomElementPrivate::setAttributeNS(), QDomNodePrivate::setLocation(), and QDomDocument::UseNamespaceProcessing.
bool QDomBuilder::startEntity | ( | const QString & | name | ) |
Definition at line 175 of file qdomhelpers.cpp.
bool QDomBuilder::unparsedEntityDecl | ( | const QString & | name, |
const QString & | publicId, | ||
const QString & | systemId, | ||
const QString & | notationName | ||
) |
Definition at line 196 of file qdomhelpers.cpp.
References QDomDocumentTypePrivate::appendChild(), QDomDocumentPrivate::doctype(), and e.
Referenced by externalEntityDecl().