Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <xmlparser.h>
Public Member Functions | |
XmlParser (QXmlStreamReader &r, bool whitespaceOnlyData=false) | |
virtual | ~XmlParser ()=default |
bool | parse () |
Protected Member Functions | |
virtual bool | startElement (QStringView namespaceURI, QStringView localName, QStringView qName, const QXmlStreamAttributes &atts) |
virtual bool | endElement (QStringView namespaceURI, QStringView localName, QStringView qName) |
virtual bool | characters (QStringView text) |
virtual bool | endDocument () |
virtual bool | fatalError (qint64 line, qint64 column, const QString &message) |
Protected Attributes | |
QXmlStreamReader & | reader |
bool | reportWhitespaceOnlyData |
Definition at line 12 of file xmlparser.h.
|
inline |
Definition at line 15 of file xmlparser.h.
References XmlParser(), and reportWhitespaceOnlyData.
Referenced by XmlParser().
|
virtualdefault |
|
protectedvirtual |
Reimplemented in QphHandler, QphHandler, UiReader, UiReader, XLIFFHandler, and XLIFFHandler.
Definition at line 65 of file xmlparser.cpp.
|
protectedvirtual |
Reimplemented in XLIFFHandler, and XLIFFHandler.
Definition at line 79 of file xmlparser.cpp.
|
protectedvirtual |
Reimplemented in QphHandler, QphHandler, UiReader, UiReader, XLIFFHandler, and XLIFFHandler.
Definition at line 56 of file xmlparser.cpp.
Reimplemented in QphHandler, QphHandler, UiReader, UiReader, XLIFFHandler, and XLIFFHandler.
Definition at line 71 of file xmlparser.cpp.
QT_BEGIN_NAMESPACE bool XmlParser::parse | ( | ) |
Definition at line 8 of file xmlparser.cpp.
Referenced by PhraseBook::load(), loadUI(), and loadXLIFF().
|
protectedvirtual |
Reimplemented in QphHandler, QphHandler, UiReader, UiReader, XLIFFHandler, and XLIFFHandler.
Definition at line 46 of file xmlparser.cpp.
|
protected |
Definition at line 32 of file xmlparser.h.
|
protected |
Definition at line 33 of file xmlparser.h.
Referenced by XmlParser().