xref: /AOO41X/main/offapi/com/sun/star/xml/crypto/sax/XSAXEventKeeperStatusChangeListener.idl (revision d1766043198e81d0bcfc626e12893e7b4d7e31ca)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24//i20156 - new file for xmlsecurity module
25
26/** -- idl definition -- **/
27
28#ifndef __com_sun_star_xml_crypto_sax_xsaxeventkeeperstatuschangelistener_idl_
29#define __com_sun_star_xml_crypto_sax_xsaxeventkeeperstatuschangelistener_idl_
30
31#include <com/sun/star/uno/XInterface.idl>
32#include <com/sun/star/uno/Exception.idl>
33
34module com { module sun { module star { module xml { module crypto { module sax {
35
36/**
37 * Interface of SAXEventKeeper Status Change Listener.
38 * <p>
39 * This interface is used to receive the SAXEventKeeper status change notification.
40 */
41interface XSAXEventKeeperStatusChangeListener : com::sun::star::uno::XInterface
42{
43    /**
44     * Notifies the SAXEventKeeper is entering/leaving blocking state.
45     *
46     * @param isBlocking   <code>true</code> if the SAXEventKeeper is
47     *                     entering blocking state, <code>false</code>
48     *                     otherwise
49     */
50    void blockingStatusChanged([in] boolean isBlocking);
51
52    /**
53     * Notifies the SAXEventKeeper is entering/leaving collecting state.
54     *
55     * @param isInsideCollectedElement   <code>true</code> if the SAXEventKeeper is
56     *                                   collecting some element, <code>false</code>
57     *                                   otherwise
58     */
59    void collectionStatusChanged([in] boolean isInsideCollectedElement);
60
61    /**
62     * Notifies the SAXEventKeeper's buffer is empty/not empty
63     *
64     * @param isBufferEmpty   <code>true</code> if the SAXEventKeeper has no buffer
65     *                        at all; <code>false</code> otherwise.
66     */
67    void bufferStatusChanged([in] boolean isBufferEmpty);
68};
69
70} ; } ; } ; } ; } ; } ;
71
72
73#endif
74
75