nsRDFXMLParser.h 782 B

1234567891011121314151617181920212223242526272829303132
  1. /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  2. *
  3. * This Source Code Form is subject to the terms of the Mozilla Public
  4. * License, v. 2.0. If a copy of the MPL was not distributed with this
  5. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  6. #ifndef nsRDFParser_h__
  7. #define nsRDFParser_h__
  8. #include "nsCOMPtr.h"
  9. #include "nsString.h"
  10. #include "nsIRDFXMLParser.h"
  11. #include "nsIRDFDataSource.h"
  12. /**
  13. * A helper class that is used to parse RDF/XML.
  14. */
  15. class nsRDFXMLParser : public nsIRDFXMLParser {
  16. public:
  17. static nsresult
  18. Create(nsISupports* aOuter, REFNSIID aIID, void** aResult);
  19. NS_DECL_ISUPPORTS
  20. NS_DECL_NSIRDFXMLPARSER
  21. protected:
  22. nsRDFXMLParser();
  23. virtual ~nsRDFXMLParser();
  24. };
  25. #endif // nsRDFParser_h__