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