1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 //i20156 - new file for XML security module
31 #ifndef __com_sun_star_xml_csax_XCompressedDocumentHandler_idl__
32 #define __com_sun_star_xml_csax_XCompressedDocumentHandler_idl__
34 #include
<com
/sun
/star
/uno
/XInterface.idl
>
35 #include
<com
/sun
/star
/xml
/sax
/SAXException.idl
>
36 #include
<com
/sun
/star
/xml
/csax
/XMLAttribute.idl
>
39 module com
{ module sun
{ module star
{ module xml
{ module csax
{
42 * A compressed XDocumentHandler interface.
44 * All methods in this interface have the same function with methods
45 * in the XDocumentHandler interface.
47 * Because there is no interface parameter in these methods, so using
48 * this interface to transfer SAX event is thought to have better
49 * performance than using the XDocumentHandler interface, in case of
50 * when UNO C++/Java bridge is involved.
52 interface XCompressedDocumentHandler
: com
::sun
::star
::uno
::XInterface
55 raises
( com
::sun
::star
::xml
::sax
::SAXException
);
58 raises
( com
::sun
::star
::xml
::sax
::SAXException
);
60 void _startElement
( [in] string aName
, [in] sequence
< XMLAttribute
> aAttributes
)
61 raises
( com
::sun
::star
::xml
::sax
::SAXException
);
63 void _endElement
( [in] string aName
)
64 raises
( com
::sun
::star
::xml
::sax
::SAXException
);
66 void _characters
( [in] string aChars
)
67 raises
( com
::sun
::star
::xml
::sax
::SAXException
);
69 void _ignorableWhitespace
( [in] string aWhitespaces
)
70 raises
( com
::sun
::star
::xml
::sax
::SAXException
);
72 void _processingInstruction
( [in] string aTarget
, [in] string aData
)
73 raises
( com
::sun
::star
::xml
::sax
::SAXException
);
75 void _setDocumentLocator
( [in] long columnNumber
, [in] long lineNumber
, [in] string publicId
, [in] string systemId
)
76 raises
( com
::sun
::star
::xml
::sax
::SAXException
);
84 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */