xref: /AOO41X/main/ridljar/com/sun/star/uno/IMapping.java (revision a046d00f64f7897a53f3356d02ce7dd043873852)
1*a046d00fSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*a046d00fSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*a046d00fSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*a046d00fSAndrew Rist  * distributed with this work for additional information
6*a046d00fSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*a046d00fSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*a046d00fSAndrew Rist  * "License"); you may not use this file except in compliance
9*a046d00fSAndrew Rist  * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir  *
11*a046d00fSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir  *
13*a046d00fSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*a046d00fSAndrew Rist  * software distributed under the License is distributed on an
15*a046d00fSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*a046d00fSAndrew Rist  * KIND, either express or implied.  See the License for the
17*a046d00fSAndrew Rist  * specific language governing permissions and limitations
18*a046d00fSAndrew Rist  * under the License.
19cdf0e10cSrcweir  *
20*a046d00fSAndrew Rist  *************************************************************/
21*a046d00fSAndrew Rist 
22*a046d00fSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir package com.sun.star.uno;
25cdf0e10cSrcweir 
26cdf0e10cSrcweir /**
27cdf0e10cSrcweir  * With a mapping objets can be mapped from one environment to another.
28cdf0e10cSrcweir  *
29cdf0e10cSrcweir  * <p>This interface exists for compatibility with the binary UNO API.</p>
30cdf0e10cSrcweir  *
31cdf0e10cSrcweir  * @see com.sun.star.uno.IBridge
32cdf0e10cSrcweir  *
33cdf0e10cSrcweir  * @deprecated As of UDK 3.2, this interface is deprecated, without offering a
34cdf0e10cSrcweir  * replacement.
35cdf0e10cSrcweir  */
36cdf0e10cSrcweir public interface IMapping {
37cdf0e10cSrcweir     /**
38cdf0e10cSrcweir      * Maps an interface from one environment to another.
39cdf0e10cSrcweir      *
40cdf0e10cSrcweir      * @param object source object that is to be mapped
41cdf0e10cSrcweir      * @param type description of the interface that is to be mapped
42cdf0e10cSrcweir      * @return the object mapped to the destination environment
43cdf0e10cSrcweir      */
mapInterface(Object object, Type type)44cdf0e10cSrcweir     Object mapInterface(Object object, Type type);
45cdf0e10cSrcweir }
46