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);
A node in the extracted document object tree.
Definition extractordocumentnode.h:50
Abstract base class of a document type processor.
Definition extractordocumentprocessor.h:24
virtual bool matches(const ExtractorFilter &filter, const ExtractorDocumentNode &node) const
Checks whether the given filter matches node.
Definition extractordocumentprocessor.cpp:55
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 void preExtract(ExtractorDocumentNode &node, const ExtractorEngine *engine) const
Called before extractors are applied to node.
Definition extractordocumentprocessor.cpp:51
virtual void postExtract(ExtractorDocumentNode &node, const ExtractorEngine *engine) const
Called after extractors have been applied to node.
Definition extractordocumentprocessor.cpp:103
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
virtual QJSValue contentToScriptValue(const ExtractorDocumentNode &node, QJSEngine *engine) const
Create a QJSValue for the node content.
Definition extractordocumentprocessor.cpp:107
virtual void reduceNode(ExtractorDocumentNode &node) const
Propagate results from child nodes up to node.
Definition extractordocumentprocessor.cpp:41
virtual ExtractorDocumentNode createNodeFromData(const QByteArray &encodedData) const
Create a document node from raw data.
Definition extractordocumentprocessor.cpp:25
virtual void destroyNode(ExtractorDocumentNode &node) const
Destroys type-specific data in node.
Definition extractordocumentprocessor.cpp:112
virtual ExtractorDocumentNode createNodeFromContent(const QVariant &decodedData) const
Create a document node from an already decoded data type.
Definition extractordocumentprocessor.cpp:30
Determines whether an extractor is applicable to a given email.
Definition extractorfilter.h:24
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:00:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:00:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.