AusweisApp
|
#include <TransmitParser.h>
Öffentliche Methoden | |
TransmitParser () | |
~TransmitParser () override=default | |
![]() | |
PaosParser (const QString &pMessageName) | |
~PaosParser () override | |
PaosMessage * | parse (const QByteArray &pXmlData) |
![]() | |
ElementParser (QSharedPointer< QXmlStreamReader > pXmlReader) | |
virtual | ~ElementParser () |
bool | parserFailed () const |
Geschützte Methoden | |
PaosMessage * | parseMessage () override |
![]() | |
QStringView | getElementType () const |
![]() | |
ConnectionHandle | parseConnectionHandle () |
bool | readNextStartElement () |
Like QXmlStreamReader::readNextStartElement(), but also checks mParseError. | |
QString | readElementText () |
Returns the text (simplified()) between the current start element and the corresponding end element. | |
void | assertMandatoryElement (const QString &pValue, const char *const pElementName) |
Issues a log warning and sets the error when the element has not been set, i.e. | |
template<typename T > | |
bool | assertMandatoryList (const QList< T > &pList, const char *const pElementName) |
Issues a log warning and sets the error when the list is empty. | |
bool | assertNoDuplicateElement (bool pNotYetSeen) |
Issues a log warning and sets the error when a duplicate element has been encountered. | |
bool | readUniqueElementText (QString &pText) |
Returns the text (simplified()) between the current start element and the corresponding end element, if the element has not been encountered yet. | |
void | skipCurrentElement () const |
Skips parsing of the current element Used to ignore unknown or unrecognized elements while parsing. | |
QStringView | getElementName () const |
Returns the name of the current element and issues a log message with it. | |
void | setParserFailed () |
void | initData (const QByteArray &pXmlData) |
QStringView | getElementTypeByNamespace (const QString &pNamespace) const |
TransmitParser::TransmitParser | ( | ) |
|
overridedefault |
|
overrideprotectedvirtual |