Syndication
parsercollection.h
78 virtual QSharedPointer<T> parse(const DocumentSource &source, const QString &formatHint = QString()) = 0;
Represents the source of a syndication document, as read from the downloaded file.
Definition documentsource.h:36
A collection of format-specific parser implementations.
Definition parsercollection.h:58
virtual QSharedPointer< T > parse(const DocumentSource &source, const QString &formatHint=QString())=0
tries to parse a given source with the parsers registered.
virtual ErrorCode lastError() const =0
returns the error code of the last parse() call.
virtual void changeMapper(const QString &format, Mapper< T > *mapper)=0
Changes the specific format to abstraction mapping for a parser.
virtual bool registerParser(AbstractParser *parser, Mapper< T > *mapper)=0
Adds a parser and corresponding mapper to the collection.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.