Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / xml / crypto / XUriBinding.idl
blob85f7d04e65b5766e252aab9e408dae0d4782ead6
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: XUriBinding.idl,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 //i20156 - new file for xmlsecurity module
33 /** -- idl definition -- **/
35 #ifndef __com_sun_star_xml_crypto_xuribinding_idl_
36 #define __com_sun_star_xml_crypto_xuribinding_idl_
38 #include <com/sun/star/uno/XInterface.idl>
39 #include <com/sun/star/uno/Exception.idl>
40 #include <com/sun/star/io/XInputStream.idl>
42 module com { module sun { module star { module xml { module crypto {
44 /**
45 * Interface of Uri Binding.
46 * <p>
47 * This interface is used to dynamically bind a uri with a
48 * XInputStream interface.
50 interface XUriBinding : com::sun::star::uno::XInterface
52 /**
53 * Sets the XInputStream interface for a uri.
55 * @param uri the uri to bind
56 * @param aStream the XInputStream to be binded
58 void setUriBinding([in] string uri, [in] com::sun::star::io::XInputStream aInputStream)
59 raises( com::sun::star::uno::Exception );
61 /**
62 * Gets the XInputStream interface for a uri.
64 * @param uri the uri whose binding is to get
65 * @return the XInputStream binded with the uri
67 com::sun::star::io::XInputStream getUriBinding([in] string uri)
68 raises( com::sun::star::uno::Exception );
71 } ; } ; } ; } ; } ;
74 #endif