KItinerary
textdocumentprocessor.cpp
21bool TextDocumentProcessor::canHandleData(const QByteArray &encodedData, QStringView fileName) const
27ExtractorDocumentNode TextDocumentProcessor::createNodeFromData(const QByteArray &encodedData) const
34bool TextDocumentProcessor::matches(const ExtractorFilter &filter, const ExtractorDocumentNode &node) const
39void TextDocumentProcessor::postExtract(ExtractorDocumentNode &node, [[maybe_unused]] const ExtractorEngine *engine) const
A node in the extracted document object tree.
Definition extractordocumentnode.h:50
void setContent(const QVariant &content)
Set decoded content.
Definition extractordocumentnode.cpp:120
Determines whether an extractor is applicable to a given email.
Definition extractorfilter.h:24
void postExtract(ExtractorDocumentNode &node, const ExtractorEngine *engine) const override
Called after extractors have been applied to node.
Definition textdocumentprocessor.cpp:39
bool canHandleData(const QByteArray &encodedData, QStringView fileName) const override
Fast check whether the given encoded data can possibly be processed by this instance.
Definition textdocumentprocessor.cpp:21
ExtractorDocumentNode createNodeFromData(const QByteArray &encodedData) const override
Create a document node from raw data.
Definition textdocumentprocessor.cpp:27
bool matches(const ExtractorFilter &filter, const ExtractorDocumentNode &node) const override
Checks whether the given filter matches node.
Definition textdocumentprocessor.cpp:34
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
iterator begin()
iterator end()
QString fromUtf8(QByteArrayView str)
bool endsWith(QChar ch) const const
CaseInsensitive
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Sep 27 2024 11:47:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Sep 27 2024 11:47:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.