Draft of JIMS based on external object
[scilab.git] / scilab / modules / external_objects_java / src / cpp / ScilabObjects.giws.xml
1 <!--*
2     * JIMS ( http://forge.scilab.org/index.php/p/JIMS/ ) - This file is a part of JIMS
3     * Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
4     *
5     * This file must be used under the terms of the CeCILL.
6     * This source file is licensed as described in the file COPYING, which
7     * you should have received as part of this distribution.  The terms
8     * are also available at
9     * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
10     *
11     *-->
12
13 <package name="org.scilab.forge.jims">
14     
15     <object name="ScilabJavaObject">
16         <method name="invoke" returnType="int" modifier="static">
17             <param type="int" name="id" />
18             <param type="String" name="methodName" />
19             <param type="int[]" name="args" />
20         </method>
21         
22         <method name="initScilabJavaObject" returnType="void" modifier="static" />
23         
24         <method name="garbageCollect" returnType="void" modifier="static" />
25         
26         <method name="getRepresentation" returnType="String" modifier="static">
27             <param type="int" name="id" />
28         </method>
29         
30         <method name="isValidJavaObject" returnType="boolean" modifier="static">
31             <param type="int" name="id" />
32         </method>
33         
34         <method name="enableTrace" returnType="void" modifier="static">
35             <param type="String" name="filename" />
36         </method>
37         
38         <method name="disableTrace" returnType="void" modifier="static" />
39         
40         <method name="setField" returnType="void" modifier="static">
41             <param type="int" name="id" />
42             <param type="String" name="fieldName" />
43             <param type="int" name="idarg" />
44         </method>
45         
46         <method name="getField" returnType="int" modifier="static">
47             <param type="int" name="id" />
48             <param type="String" name="fieldName" />
49         </method>
50         
51         <method name="getFieldType" returnType="int" modifier="static">
52             <param type="int" name="id" />
53             <param type="String" name="fieldName" />
54         </method>
55         
56         <method name="javaCast" returnType="int" modifier="static">
57             <param type="int" name="id" />
58             <param type="String" name="objName" />
59         </method>
60         
61         <method name="javaCast" returnType="int" modifier="static">
62             <param type="int" name="id" />
63             <param type="int" name="classId" />
64         </method>
65         
66         <method name="getClassName" returnType="String" modifier="static">
67             <param type="int" name="id" />
68         </method>
69         
70         <method name="getArrayElement" returnType="int" modifier="static">
71             <param type="int" name="id" />
72             <param type="int[]" name="index" />
73         </method>
74         
75         <method name="setArrayElement" returnType="void" modifier="static">
76             <param type="int" name="id" />
77             <param type="int[]" name="index" />
78             <param type="int" name="idArg" />
79         </method>
80         
81         <method name="removeScilabJavaObject" returnType="void" modifier="static">
82             <param type="int" name="id" />
83         </method>
84         
85         <method name="limitDirectBuffer" returnType="void" modifier="static">
86             <param type="int" name="id" />
87         </method>
88         
89         <method name="isUnwrappable" returnType="int" modifier="static">
90             <param type="int" name="id" />
91         </method>
92         
93         <method name="wrapDouble" returnType="int" modifier="static">
94             <param type="double" name="x" />
95         </method>
96         
97         <method name="wrapDouble" returnType="int" modifier="static">
98             <param type="double[]" name="x" />
99         </method>
100         
101         <method name="wrapDouble" returnType="int" modifier="static">
102             <param type="double[][]" name="x" />
103         </method>
104         
105         <method name="wrapInt" returnType="int" modifier="static">
106             <param type="int" name="x" />
107         </method>
108         
109         <method name="wrapInt" returnType="int" modifier="static">
110             <param type="int[]" name="x" />
111         </method>
112         
113         <method name="wrapInt" returnType="int" modifier="static">
114             <param type="int[][]" name="x" />
115         </method>
116         
117         <method name="wrapUInt" returnType="int" modifier="static">
118             <param type="long" name="x" />
119         </method>
120         
121         <method name="wrapUInt" returnType="int" modifier="static">
122             <param type="long[]" name="x" />
123         </method>
124         
125         <method name="wrapUInt" returnType="int" modifier="static">
126             <param type="long[][]" name="x" />
127         </method>
128         
129         <method name="wrapByte" returnType="int" modifier="static">
130             <param type="byte" name="x" />
131         </method>
132         
133         <method name="wrapByte" returnType="int" modifier="static">
134             <param type="byte[]" name="x" />
135         </method>
136         
137         <method name="wrapByte" returnType="int" modifier="static">
138             <param type="byte[][]" name="x" />
139         </method>
140         
141         <method name="wrapUByte" returnType="int" modifier="static">
142             <param type="short" name="x" />
143         </method>
144         
145         <method name="wrapUByte" returnType="int" modifier="static">
146             <param type="short[]" name="x" />
147         </method>
148         
149         <method name="wrapUByte" returnType="int" modifier="static">
150             <param type="short[][]" name="x" />
151         </method>
152         
153         <method name="wrapShort" returnType="int" modifier="static">
154             <param type="short" name="x" />
155         </method>
156         
157         <method name="wrapShort" returnType="int" modifier="static">
158             <param type="short[]" name="x" />
159         </method>
160         
161         <method name="wrapShort" returnType="int" modifier="static">
162             <param type="short[][]" name="x" />
163         </method>
164         
165         <method name="wrapUShort" returnType="int" modifier="static">
166             <param type="int" name="x" />
167         </method>
168         
169         <method name="wrapUShort" returnType="int" modifier="static">
170             <param type="int[]" name="x" />
171         </method>
172         
173         <method name="wrapUShort" returnType="int" modifier="static">
174             <param type="int[][]" name="x" />
175         </method>
176         
177         <method name="wrapString" returnType="int" modifier="static">
178             <param type="String" name="x" />
179         </method>
180         
181         <method name="wrapString" returnType="int" modifier="static">
182             <param type="String[]" name="x" />
183         </method>
184         
185         <method name="wrapString" returnType="int" modifier="static">
186             <param type="String[][]" name="x" />
187         </method>
188         
189         <method name="wrapBoolean" returnType="int" modifier="static">
190             <param type="boolean" name="x" />
191         </method>
192         
193         <method name="wrapBoolean" returnType="int" modifier="static">
194             <param type="boolean[]" name="x" />
195         </method>
196         
197         <method name="wrapBoolean" returnType="int" modifier="static">
198             <param type="boolean[][]" name="x" />
199         </method>
200         
201         <method name="wrapChar" returnType="int" modifier="static">
202             <param type="char" name="x" />
203         </method>
204         
205         <method name="wrapChar" returnType="int" modifier="static">
206             <param type="char[]" name="x" />
207         </method>
208         
209         <method name="wrapChar" returnType="int" modifier="static">
210             <param type="char[][]" name="x" />
211         </method>
212         
213         <method name="wrapFloat" returnType="int" modifier="static">
214             <param type="float" name="x" />
215         </method>
216         
217         <method name="wrapFloat" returnType="int" modifier="static">
218             <param type="float[]" name="x" />
219         </method>
220         
221         <method name="wrapFloat" returnType="int" modifier="static">
222             <param type="float[][]" name="x" />
223         </method>
224         
225         <method name="wrapLong" returnType="int" modifier="static">
226             <param type="long" name="x" />
227         </method>
228         
229         <method name="wrapLong" returnType="int" modifier="static">
230             <param type="long[]" name="x" />
231         </method>
232         
233         <method name="wrapLong" returnType="int" modifier="static">
234             <param type="long[][]" name="x" />
235         </method>
236         
237     </object>
238     
239     <object name="ScilabJavaClass">
240         <method name="newInstance" returnType="int" modifier="static">
241             <param type="int" name="id" />
242             <param type="int[]" name="args" />
243         </method>
244     </object>
245     
246     <object name="ScilabClassLoader">
247         <method name="loadJavaClass" returnType="int" modifier="static">
248             <param type="String" name="name" />
249             <param type="boolean" name="allowReload" />
250         </method>
251     </object>
252     
253     <object name="ScilabJavaArray">
254         <method name="newInstance" returnType="int" modifier="static">
255             <param type="String" name="name" />
256             <param type="int[]" name="args" />
257         </method>
258     </object>
259     
260     <object name="ScilabJavaCompiler">
261         <method name="compileCode" returnType="int" modifier="static">
262             <param type="String" name="classname" />
263             <param type="String[]" name="code" />
264         </method>
265     </object>
266 </package>