KItinerary
extractordocumentprocessor.h
71 virtual QJSValue contentToScriptValue(const ExtractorDocumentNode &node, QJSEngine *engine) const;
85 static bool matchesGadget(const ExtractorFilter &filter, const QMetaObject *mo, const void *obj);
virtual void expandNode(ExtractorDocumentNode &node, const ExtractorEngine *engine) const
Create child nodes for node, as far as that's necessary for this document type.
Definition: extractordocumentprocessor.cpp:37
A node in the extracted document object tree.
Definition: extractordocumentnode.h:49
Determines whether an extractor is applicable to a given email.
Definition: extractorfilter.h:23
Definition: berelement.h:17
virtual void reduceNode(ExtractorDocumentNode &node) const
Propagate results from child nodes up to node.
Definition: extractordocumentprocessor.cpp:41
virtual ExtractorDocumentNode createNodeFromContent(const QVariant &decodedData) const
Create a document node from an already decoded data type.
Definition: extractordocumentprocessor.cpp:30
Abstract base class of a document type processor.
Definition: extractordocumentprocessor.h:23
virtual bool canHandleData(const QByteArray &encodedData, QStringView fileName) const
Fast check whether the given encoded data can possibly be processed by this instance.
Definition: extractordocumentprocessor.cpp:20
virtual bool matches(const ExtractorFilter &filter, const ExtractorDocumentNode &node) const
Checks whether the given filter matches node.
Definition: extractordocumentprocessor.cpp:55
virtual void destroyNode(ExtractorDocumentNode &node) const
Destroys type-specific data in node.
Definition: extractordocumentprocessor.cpp:112
virtual void postExtract(ExtractorDocumentNode &node, const ExtractorEngine *engine) const
Called after extractors have been applied to node.
Definition: extractordocumentprocessor.cpp:103
virtual QJSValue contentToScriptValue(const ExtractorDocumentNode &node, QJSEngine *engine) const
Create a QJSValue for the node content.
Definition: extractordocumentprocessor.cpp:107
virtual void preExtract(ExtractorDocumentNode &node, const ExtractorEngine *engine) const
Called before extractors are applied to node.
Definition: extractordocumentprocessor.cpp:51
virtual ExtractorDocumentNode createNodeFromData(const QByteArray &encodedData) const
Create a document node from raw data.
Definition: extractordocumentprocessor.cpp:25
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 22 2023 04:02:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 22 2023 04:02:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.