1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include
"nsISupports.idl"
7 #include
"nsISAXXMLReader.idl"
10 * Interface for an XML filter.
12 * An XML filter is like an XML reader, except that it obtains its
13 * events from another XML reader rather than a primary source like an
14 * XML document or database. Filters can modify a stream of events as
15 * they pass on to the final application.
17 [scriptable
, uuid(77a22cf0
-6cdf
-11da
-be43
-001422106990)]
18 interface nsISAXXMLFilter
: nsISAXXMLReader
{
23 * Allows the application to query the parent reader (which may be
24 * another filter). It is generally a bad idea to perform any
25 * operations on the parent reader directly: they should all pass
26 * through this filter.
28 attribute nsISAXXMLReader parent
;