2001-09-29 00:14:13 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
1999-05-04 07:37:07 +04:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
2001-05-15 23:56:28 +04:00
|
|
|
#include "nsIOutputStream.idl"
|
1999-05-04 07:37:07 +04:00
|
|
|
|
2001-07-25 01:09:09 +04:00
|
|
|
[scriptable, uuid(4DA56F10-99FE-11d2-8EBB-00805F29F370)]
|
1999-05-04 07:37:07 +04:00
|
|
|
interface nsIRDFXMLSource : nsISupports
|
|
|
|
{
|
2001-05-15 23:56:28 +04:00
|
|
|
/**
|
|
|
|
* Serialize the contents of the datasource to aStream.
|
2006-08-29 00:12:37 +04:00
|
|
|
* @param aStream the output stream the will receive the
|
2001-05-15 23:56:28 +04:00
|
|
|
* RDF/XML. Currently, the output stream need only
|
|
|
|
* implement the |write()| method.
|
|
|
|
*/
|
|
|
|
void Serialize(in nsIOutputStream aStream);
|
1999-05-04 07:37:07 +04:00
|
|
|
};
|
|
|
|
|