KItinerary
htmldocumentprocessor.h
25 QJSValue contentToScriptValue(const ExtractorDocumentNode &node, QJSEngine *engine) const override;
29 void expandElementRecursive(ExtractorDocumentNode &node, const HtmlElement &elem, const ExtractorEngine *engine) const;
30 void expandDataUrl(ExtractorDocumentNode &node, QStringView data, const ExtractorEngine *engine) const;
A node in the extracted document object tree.
Definition extractordocumentnode.h:50
Abstract base class of a document type processor.
Definition extractordocumentprocessor.h:24
void preExtract(ExtractorDocumentNode &node, const ExtractorEngine *engine) const override
Called before extractors are applied to node.
Definition htmldocumentprocessor.cpp:259
void postExtract(ExtractorDocumentNode &node, const ExtractorEngine *engine) const override
Called after extractors have been applied to node.
Definition htmldocumentprocessor.cpp:271
void destroyNode(ExtractorDocumentNode &node) const override
Destroys type-specific data in node.
Definition htmldocumentprocessor.cpp:286
ExtractorDocumentNode createNodeFromData(const QByteArray &encodedData) const override
Create a document node from raw data.
Definition htmldocumentprocessor.cpp:52
void expandNode(ExtractorDocumentNode &node, const ExtractorEngine *engine) const override
Create child nodes for node, as far as that's necessary for this document type.
Definition htmldocumentprocessor.cpp:65
ExtractorDocumentNode createNodeFromContent(const QVariant &decodedData) const override
Create a document node from an already decoded data type.
Definition htmldocumentprocessor.cpp:57
QJSValue contentToScriptValue(const ExtractorDocumentNode &node, QJSEngine *engine) const override
Create a QJSValue for the node content.
Definition htmldocumentprocessor.cpp:281
bool canHandleData(const QByteArray &encodedData, QStringView fileName) const override
Fast check whether the given encoded data can possibly be processed by this instance.
Definition htmldocumentprocessor.cpp:34
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 Mon Nov 4 2024 16:28:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:28:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.