Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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"
9 /**
10 * Interface for an XML filter.
11 *
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.
16 */
17 [scriptable, uuid(77a22cf0-6cdf-11da-be43-001422106990)]
18 interface nsISAXXMLFilter : nsISAXXMLReader {
20 /**
21 * The parent reader.
22 *
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.
27 */
28 attribute nsISAXXMLReader parent;
29 };