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