michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- michael@0: * michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsRDFParser_h__ michael@0: #define nsRDFParser_h__ michael@0: michael@0: #include "nsCOMPtr.h" michael@0: #include "nsString.h" michael@0: #include "nsIRDFXMLParser.h" michael@0: #include "nsIRDFDataSource.h" michael@0: michael@0: /** michael@0: * A helper class that is used to parse RDF/XML. michael@0: */ michael@0: class nsRDFXMLParser : public nsIRDFXMLParser { michael@0: public: michael@0: static nsresult michael@0: Create(nsISupports* aOuter, REFNSIID aIID, void** aResult); michael@0: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIRDFXMLPARSER michael@0: michael@0: protected: michael@0: nsRDFXMLParser(); michael@0: virtual ~nsRDFXMLParser(); michael@0: }; michael@0: michael@0: #endif // nsRDFParser_h__