JIMS: plug extraction
[scilab.git] / scilab / modules / external_objects_java / src / jni / 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.modules.external_objects_java">
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="extract" returnType="int" modifier="static">
23             <param type="int" name="id" />
24             <param type="int[]" name="args" />
25         </method>
26         
27         <method name="initScilabJavaObject" returnType="void" modifier="static" />
28         
29         <method name="garbageCollect" returnType="void" modifier="static" />
30         
31         <method name="getRepresentation" returnType="String" modifier="static">
32             <param type="int" name="id" />
33         </method>
34         
35         <method name="isValidJavaObject" returnType="boolean" modifier="static">
36             <param type="int" name="id" />
37         </method>
38         
39         <method name="enableTrace" returnType="void" modifier="static">
40             <param type="String" name="filename" />
41         </method>
42         
43         <method name="disableTrace" returnType="void" modifier="static" />
44         
45         <method name="setField" returnType="void" modifier="static">
46             <param type="int" name="id" />
47             <param type="String" name="fieldName" />
48             <param type="int" name="idarg" />
49         </method>
50         
51         <method name="getField" returnType="int" modifier="static">
52             <param type="int" name="id" />
53             <param type="String" name="fieldName" />
54         </method>
55         
56         <method name="getFieldType" returnType="int" modifier="static">
57             <param type="int" name="id" />
58             <param type="String" name="fieldName" />
59         </method>
60         
61         <method name="javaCast" returnType="int" modifier="static">
62             <param type="int" name="id" />
63             <param type="String" name="objName" />
64         </method>
65         
66         <method name="javaCast" returnType="int" modifier="static">
67             <param type="int" name="id" />
68             <param type="int" name="classId" />
69         </method>
70         
71         <method name="getClassName" returnType="String" modifier="static">
72             <param type="int" name="id" />
73         </method>
74         
75         <method name="getArrayElement" returnType="int" modifier="static">
76             <param type="int" name="id" />
77             <param type="int[]" name="index" />
78         </method>
79         
80         <method name="setArrayElement" returnType="void" modifier="static">
81             <param type="int" name="id" />
82             <param type="int[]" name="index" />
83             <param type="int" name="idArg" />
84         </method>
85         
86         <method name="removeScilabJavaObject" returnType="void" modifier="static">
87             <param type="int" name="id" />
88         </method>
89         
90         <method name="limitDirectBuffer" returnType="void" modifier="static">
91             <param type="int" name="id" />
92         </method>
93         
94         <method name="isUnwrappable" returnType="int" modifier="static">
95             <param type="int" name="id" />
96         </method>
97         
98         <method name="wrap" returnType="int" modifier="static">
99             <param type="double" name="x" />
100         </method>
101         
102         <method name="wrap" returnType="int" modifier="static">
103             <param type="double[]" name="x" />
104         </method>
105         
106         <method name="wrap" returnType="int" modifier="static">
107             <param type="double[][]" name="x" />
108         </method>
109         
110         <method name="wrap" returnType="int" modifier="static">
111             <param type="int" name="x" />
112         </method>
113         
114         <method name="wrap" returnType="int" modifier="static">
115             <param type="int[]" name="x" />
116         </method>
117         
118         <method name="wrap" returnType="int" modifier="static">
119             <param type="int[][]" name="x" />
120         </method>
121         
122         <method name="wrap" returnType="int" modifier="static">
123             <param type="byte" name="x" />
124         </method>
125         
126         <method name="wrap" returnType="int" modifier="static">
127             <param type="byte[]" name="x" />
128         </method>
129         
130         <method name="wrap" returnType="int" modifier="static">
131             <param type="byte[][]" name="x" />
132         </method>
133         
134         <method name="wrap" returnType="int" modifier="static">
135             <param type="short" name="x" />
136         </method>
137         
138         <method name="wrap" returnType="int" modifier="static">
139             <param type="short[]" name="x" />
140         </method>
141         
142         <method name="wrap" returnType="int" modifier="static">
143             <param type="short[][]" name="x" />
144         </method>
145         
146         <method name="wrap" returnType="int" modifier="static">
147             <param type="String" name="x" />
148         </method>
149         
150         <method name="wrap" returnType="int" modifier="static">
151             <param type="String[]" name="x" />
152         </method>
153         
154         <method name="wrap" returnType="int" modifier="static">
155             <param type="String[][]" name="x" />
156         </method>
157         
158         <method name="wrap" returnType="int" modifier="static">
159             <param type="boolean" name="x" />
160         </method>
161         
162         <method name="wrap" returnType="int" modifier="static">
163             <param type="boolean[]" name="x" />
164         </method>
165         
166         <method name="wrap" returnType="int" modifier="static">
167             <param type="boolean[][]" name="x" />
168         </method>
169         
170         <method name="wrap" returnType="int" modifier="static">
171             <param type="char" name="x" />
172         </method>
173         
174         <method name="wrap" returnType="int" modifier="static">
175             <param type="char[]" name="x" />
176         </method>
177         
178         <method name="wrap" returnType="int" modifier="static">
179             <param type="char[][]" name="x" />
180         </method>
181         
182         <method name="wrap" returnType="int" modifier="static">
183             <param type="float" name="x" />
184         </method>
185         
186         <method name="wrap" returnType="int" modifier="static">
187             <param type="float[]" name="x" />
188         </method>
189         
190         <method name="wrap" returnType="int" modifier="static">
191             <param type="float[][]" name="x" />
192         </method>
193         
194         <method name="wrap" returnType="int" modifier="static">
195             <param type="long" name="x" />
196         </method>
197         
198         <method name="wrap" returnType="int" modifier="static">
199             <param type="long[]" name="x" />
200         </method>
201         
202         <method name="wrap" returnType="int" modifier="static">
203             <param type="long[][]" name="x" />
204         </method>
205         
206         <method name="unwrapDouble" returnType="double" modifier="static">
207             <param type="int" name="x" />
208         </method>
209         
210         <method name="unwrapRowDouble" returnType="double[]" modifier="static">
211             <param type="int" name="x" />
212         </method>
213         
214         <method name="unwrapMatDouble" returnType="double[][]" modifier="static">
215             <param type="int" name="x" />
216         </method>
217         
218         <method name="unwrapInt" returnType="int" modifier="static">
219             <param type="int" name="x" />
220         </method>
221         
222         <method name="unwrapRowInt" returnType="int[]" modifier="static">
223             <param type="int" name="x" />
224         </method>
225         
226         <method name="unwrapMatInt" returnType="int[][]" modifier="static">
227             <param type="int" name="x" />
228         </method>
229         
230         <method name="unwrapUInt" returnType="long" modifier="static">
231             <param type="int" name="x" />
232         </method>
233         
234         <method name="unwrapRowUInt" returnType="long[]" modifier="static">
235             <param type="int" name="x" />
236         </method>
237         
238         <method name="unwrapMatUInt" returnType="long[][]" modifier="static">
239             <param type="int" name="x" />
240         </method>
241         
242         <method name="unwrapByte" returnType="byte" modifier="static">
243             <param type="int" name="x" />
244         </method>
245         
246         <method name="unwrapRowByte" returnType="byte[]" modifier="static">
247             <param type="int" name="x" />
248         </method>
249         
250         <method name="unwrapMatByte" returnType="byte[][]" modifier="static">
251             <param type="int" name="x" />
252         </method>
253         
254         <method name="unwrapUByte" returnType="short" modifier="static">
255             <param type="int" name="x" />
256         </method>
257         
258         <method name="unwrapRowUByte" returnType="short[]" modifier="static">
259             <param type="int" name="x" />
260         </method>
261         
262         <method name="unwrapMatUByte" returnType="short[][]" modifier="static">
263             <param type="int" name="x" />
264         </method>
265         
266         <method name="unwrapShort" returnType="short" modifier="static">
267             <param type="int" name="x" />
268         </method>
269         
270         <method name="unwrapRowShort" returnType="short[]" modifier="static">
271             <param type="int" name="x" />
272         </method>
273         
274         <method name="unwrapMatShort" returnType="short[][]" modifier="static">
275             <param type="int" name="x" />
276         </method>
277         
278         <method name="unwrapUShort" returnType="int" modifier="static">
279             <param type="int" name="x" />
280         </method>
281         
282         <method name="unwrapRowUShort" returnType="int[]" modifier="static">
283             <param type="int" name="x" />
284         </method>
285         
286         <method name="unwrapMatUShort" returnType="int[][]" modifier="static">
287             <param type="int" name="x" />
288         </method>
289         
290         <method name="unwrapString" returnType="String" modifier="static">
291             <param type="int" name="x" />
292         </method>
293         
294         <method name="unwrapRowString" returnType="String[]" modifier="static">
295             <param type="int" name="x" />
296         </method>
297         
298         <method name="unwrapMatString" returnType="String[][]" modifier="static">
299             <param type="int" name="x" />
300         </method>
301         
302         <method name="unwrapBoolean" returnType="boolean" modifier="static">
303             <param type="int" name="x" />
304         </method>
305         
306         <method name="unwrapRowBoolean" returnType="boolean[]" modifier="static">
307             <param type="int" name="x" />
308         </method>
309         
310         <method name="unwrapMatBoolean" returnType="boolean[][]" modifier="static">
311             <param type="int" name="x" />
312         </method>
313         
314         <method name="unwrapChar" returnType="char" modifier="static">
315             <param type="int" name="x" />
316         </method>
317         
318         <method name="unwrapRowChar" returnType="char[]" modifier="static">
319             <param type="int" name="x" />
320         </method>
321         
322         <method name="unwrapMatChar" returnType="char[][]" modifier="static">
323             <param type="int" name="x" />
324         </method>
325         
326         <method name="unwrapFloat" returnType="float" modifier="static">
327             <param type="int" name="x" />
328         </method>
329         
330         <method name="unwrapRowFloat" returnType="float[]" modifier="static">
331             <param type="int" name="x" />
332         </method>
333         
334         <method name="unwrapMatFloat" returnType="float[][]" modifier="static">
335             <param type="int" name="x" />
336         </method>
337         
338         <method name="unwrapLong" returnType="long" modifier="static">
339             <param type="int" name="x" />
340         </method>
341         
342         <method name="unwrapRowLong" returnType="long[]" modifier="static">
343             <param type="int" name="x" />
344         </method>
345         
346         <method name="unwrapMatLong" returnType="long[][]" modifier="static">
347             <param type="int" name="x" />
348         </method>
349         
350     </object>
351     
352     <object name="ScilabJavaClass">
353         <method name="newInstance" returnType="int" modifier="static">
354             <param type="int" name="id" />
355             <param type="int[]" name="args" />
356         </method>
357     </object>
358     
359     <object name="ScilabClassLoader">
360         <method name="loadJavaClass" returnType="int" modifier="static">
361             <param type="String" name="name" />
362             <param type="boolean" name="allowReload" />
363         </method>
364     </object>
365     
366     <object name="ScilabJavaArray">
367         <method name="newInstance" returnType="int" modifier="static">
368             <param type="String" name="name" />
369             <param type="int[]" name="args" />
370         </method>
371     </object>
372     
373     <object name="ScilabJavaCompiler">
374         <method name="compileCode" returnType="int" modifier="static">
375             <param type="String" name="classname" />
376             <param type="String[]" name="code" />
377         </method>
378     </object>
379 </package>