Syndication Library
parsercollection.h
Represents the source of a syndication document, as read from the downloaded file.
Definition: documentsource.h:51
A collection of format-specific parser implementations.
Definition: parsercollection.h:74
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 boost::shared_ptr< T > parse(const DocumentSource &source, const QString &formatHint=QString())=0
tries to parse a given source with the parsers registered.
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-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.