|
AusweisApp2
|
#include <PaosParser.h>
Öffentliche Methoden | |
| PaosParser (const QString &pMessageName) | |
| ~PaosParser () override | |
| PaosMessage * | parse (const QByteArray &pXmlData) |
Öffentliche Methoden geerbt von governikus::ElementParser | |
| ElementParser (QSharedPointer< QXmlStreamReader > pXmlReader) | |
| virtual | ~ElementParser () |
| bool | parserFailed () const |
Geschützte Methoden | |
| virtual PaosMessage * | parseMessage ()=0 |
Geschützte Methoden geerbt von governikus::ElementParser | |
| bool | readNextStartElement () |
| Like QXmlStreamReader::readNextStartElement(), but also checks mParseError. Mehr ... | |
| QString | readElementText () |
| Returns the text (simplified()) between the current start element and the corresponding end element. Mehr ... | |
| 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. Mehr ... | |
| template<typename T > | |
| bool | assertMandatoryList (const QVector< T > &pList, const char *const pElementName) |
| Issues a log warning and sets the error when the list is empty. Mehr ... | |
| bool | assertNoDuplicateElement (bool pNotYetSeen) |
| Issues a log warning and sets the error when a duplicate element has been encountered. Mehr ... | |
| 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. Mehr ... | |
Geschützte Attribute | |
| QString | mMessageName |
| QString | mMessageID |
| QString | mRelatesTo |
Geschützte Attribute geerbt von governikus::ElementParser | |
| QSharedPointer< QXmlStreamReader > | mXmlReader |
| bool | mParseError |
|
explicit |
|
override |
| PaosMessage * PaosParser::parse | ( | const QByteArray & | pXmlData | ) |
|
protectedpure virtual |
|
protected |
|
protected |
|
protected |