Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / xml / csax / XCompressedDocumentHandler.idl
blob6d714caa2ae9859d60d5db0648e61bd5b18e550b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef __com_sun_star_xml_csax_XCompressedDocumentHandler_idl__
21 #define __com_sun_star_xml_csax_XCompressedDocumentHandler_idl__
23 #include <com/sun/star/uno/XInterface.idl>
24 #include <com/sun/star/xml/sax/SAXException.idl>
25 #include <com/sun/star/xml/csax/XMLAttribute.idl>
27 module com { module sun { module star { module xml { module csax {
29 /**
30 * A compressed XDocumentHandler interface.
31 * <p>
32 * All methods in this interface have the same function with methods
33 * in the XDocumentHandler interface.
34 * <p>
35 * Because there is no interface parameter in these methods, so using
36 * this interface to transfer SAX event is thought to have better
37 * performance than using the XDocumentHandler interface, in case of
38 * when UNO C++/Java bridge is involved.
40 interface XCompressedDocumentHandler: com::sun::star::uno::XInterface
42 void compressedStartDocument()
43 raises( com::sun::star::xml::sax::SAXException );
45 void compressedEndDocument()
46 raises( com::sun::star::xml::sax::SAXException );
48 void compressedStartElement( [in] string aName, [in] sequence< XMLAttribute > aAttributes)
49 raises( com::sun::star::xml::sax::SAXException );
51 void compressedEndElement( [in] string aName )
52 raises( com::sun::star::xml::sax::SAXException );
54 void compressedCharacters( [in] string aChars )
55 raises( com::sun::star::xml::sax::SAXException );
57 void compressedIgnorableWhitespace( [in] string aWhitespaces )
58 raises( com::sun::star::xml::sax::SAXException );
60 void compressedProcessingInstruction( [in] string aTarget, [in] string aData )
61 raises( com::sun::star::xml::sax::SAXException );
63 void compressedSetDocumentLocator( [in] long columnNumber, [in] long lineNumber, [in] string publicId, [in] string systemId)
64 raises( com::sun::star::xml::sax::SAXException );
68 } ; } ; } ; } ; } ;
70 #endif
72 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */