added japanese translation of java external object.
[scilab.git] / scilab / modules / external_objects_java / help / ja_JP / jwrap.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4 *
5 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
6 * Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
7 *
8 * This file must be used under the terms of the CeCILL.
9 * This source file is licensed as described in the file COPYING, which
10 * you should have received as part of this distribution.  The terms
11 * are also available at
12 * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
13 *
14 *
15 -->
16
17 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="ja" xml:id="jwrap">
18     
19     <refnamediv>
20         
21         <refname>jwrap</refname>
22         
23         <refpurpose>
24             
25             Scilab変数をJava変数にラップする
26             
27         </refpurpose>
28         
29     </refnamediv>
30     
31     <refsynopsisdiv>
32         
33         <title>呼び出し手順</title>
34         
35         <synopsis>
36             
37             [jw_1, jw_2, ...] = jwrap(sc_1 [, sc_2 [, sc_3 [,... ]]])
38             
39         </synopsis>
40         
41     </refsynopsisdiv>
42     
43     <refsection>
44         
45         <title>パラメータ</title>
46         
47         <variablelist>
48             
49             <varlistentry>
50                 
51                 <term>sc_i</term>
52                 
53                 <listitem>
54                     
55                     <para>Scilab変数</para>
56                     
57                 </listitem>
58                 
59             </varlistentry>
60             
61             <varlistentry>
62                 
63                 <term>jw_i</term>
64                 
65                 <listitem>
66                     
67                     <para>
68                         
69                         指定したScilab変数を
70                         
71                         Javaラッピングしたもの
72                         
73                     </para>
74                     
75                 </listitem>
76                 
77             </varlistentry>
78             
79         </variablelist>
80         
81     </refsection>
82     
83     <refsection>
84         
85         <title>説明</title>
86         
87         <para>
88             
89             Scilab変数をJava変数にラップします.
90             
91             現時点では,以下のプリミティブな型のみがラップできます:
92             
93             <simplelist type="inline">
94                 
95                 <member>定数 (複素数でない実数) は double;</member>
96                 
97                 <member>文字列は String;</member>
98                 
99                 <member>論理値は boolean;</member>
100                 
101                 <member>int8 は byte;</member>
102                 
103                 <member>uint8 は short;</member>
104                 
105                 <member>int16 は short;</member>
106                 
107                 <member>uint16 は int;</member>
108                 
109                 <member>int32 は int;</member>
110                 
111                 <member>uint32 は long</member>に変換されます.
112                 
113             </simplelist>
114             
115             行列は配列にラップされます.
116             
117             例えば, 3x4のint8行列は,
118             
119             <link linkend="jconvMatrixMethod">jconvMatrixMethod</link>
120             
121             コマンドにより変更可能な変換法により,
122             
123             <literal>byte[3][4]</literal> または <literal>byte[4][3]</literal>
124             
125             にラップされます.
126             
127             添字の範囲はJavaと同じであることに注意してください,
128             
129             このため,<literal>a(0)</literal> は有効です.
130             
131         </para>
132         
133         <para>
134             
135             <link linkend="jwrapinfloat">jwrapinfloat</link> 
136             
137             および <link linkend="jwrapinchar">jwrapinchar</link>により,
138             
139             それぞれJava型floatまたはcharにラップすることも可能です.
140             
141         </para>
142         
143     </refsection>
144     
145     <refsection>
146         
147         <title>例</title>
148         
149         <programlisting role="example"><![CDATA[
150                [a,b,c] = jwrap(1, [1 2;3 4], ["hello" "world"]);
151                a, b(1, 1), c(1)
152       ]]></programlisting>
153         
154     </refsection>
155     
156     <refsection role="see also">
157         
158         <title>参照</title>
159         
160         <simplelist type="inline">
161             
162             <member>
163                 
164                 <link linkend="jconvMatrixMethod">jconvMatrixMethod</link>
165                 
166             </member>
167             
168             <member>
169                 
170                 <link linkend="jwrapinfloat">jwrapinfloat</link>
171                 
172             </member>
173             
174             <member>
175                 
176                 <link linkend="jwrapinchar">jwrapinchar</link>
177                 
178             </member>
179             
180             <member>
181                 
182                 <link linkend="junwrap">junwrap</link>
183                 
184             </member>
185             
186         </simplelist>
187         
188     </refsection>
189     
190     <refsection>
191         
192         <title>履歴</title>
193         
194         <revhistory>
195             
196             <revision>
197                 
198                 <revnumber>5.5.0</revnumber>
199                 
200                 <revremark>
201                     
202                     関数が導入されました. 'JIMS'モジュールに基づきます.
203                     
204                     JIMSモジュールとの動作上の主な違いは,
205                     
206                     <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
207                     
208                     有効になっていることです.
209                     
210                 </revremark>
211                 
212             </revision>
213             
214         </revhistory>
215         
216     </refsection>
217     
218 </refentry>
219
220
221