KItinerary::AbstractExtractor
KItinerary::AbstractExtractor Class Referenceabstract
#include <abstractextractor.h>
Inheritance diagram for KItinerary::AbstractExtractor:
Public Member Functions | |
virtual bool | canHandle (const ExtractorDocumentNode &node) const =0 |
virtual ExtractorResult | extract (const ExtractorDocumentNode &node, const ExtractorEngine *engine) const =0 |
virtual QString | name () const =0 |
Detailed Description
Abstract base class for data extractors.
Definition at line 19 of file abstractextractor.h.
Member Function Documentation
◆ canHandle()
|
pure virtual |
Fast check whether this extractor is applicable for node
.
Implemented in KItinerary::ActivityPubExtractor, KItinerary::GenericBoardingPassExtractor, and KItinerary::ScriptExtractor.
◆ extract()
|
pure virtual |
Extract data from node
.
Implemented in KItinerary::ActivityPubExtractor, KItinerary::GenericBoardingPassExtractor, and KItinerary::ScriptExtractor.
◆ name()
|
pure virtual |
Identifier for this extractor.
Mainly used for diagnostics and tooling.
Implemented in KItinerary::ActivityPubExtractor, KItinerary::GenericBoardingPassExtractor, and KItinerary::ScriptExtractor.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.