Syndication
parsercollection.h
78 virtual QSharedPointer<T> parse(const DocumentSource &source, const QString &formatHint = QString()) = 0;
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 Tue Mar 26 2024 11:14:15 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:14:15 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.