Search for usage in LXR

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 () const =0

Detailed Description

Abstract base class for data extractors.

Definition at line 19 of file abstractextractor.h.

Member Function Documentation

◆ canHandle()

virtual bool KItinerary::AbstractExtractor::canHandle ( const ExtractorDocumentNode node) const
pure virtual

Fast check whether this extractor is applicable for node.

Implemented in KItinerary::ActivityPubExtractor, KItinerary::GenericBoardingPassExtractor, and KItinerary::ScriptExtractor.

◆ extract()

virtual ExtractorResult KItinerary::AbstractExtractor::extract ( const ExtractorDocumentNode node,
const ExtractorEngine engine 
) const
pure virtual

◆ QString()

virtual KItinerary::AbstractExtractor::QString ( ) const
pure virtual

Identifier for this extractor.

Mainly used for diagnostics and tooling.

Implemented in KItinerary::ScriptExtractor, KItinerary::ActivityPubExtractor, and KItinerary::GenericBoardingPassExtractor.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 28 2023 04:00:17 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.