added japanese translation of java external object.
[scilab.git] / scilab / modules / external_objects_java / help / ja_JP / jautoUnwrap.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="jautoUnwrap">
18     
19     <refnamediv>
20         
21         <refname>jautoUnwrap</refname>
22         
23         <refpurpose>返された値を自動的にアンラップする</refpurpose>
24         
25     </refnamediv>
26     
27     <refsynopsisdiv>
28         
29         <title>呼び出し手順</title>
30         
31         <synopsis>
32             
33             autoUnwrap = jautoUnwrap()
34             
35             jautoUnwrap(autoUnwrap)
36             
37         </synopsis>
38         
39     </refsynopsisdiv>
40     
41     <refsection>
42         
43         <title>パラメータ</title>
44         
45         <variablelist>
46             
47             <varlistentry>
48                 
49                 <term>autoUnwrap</term>
50                 
51                 <listitem>
52                     
53                     <para>論理値</para>
54                     
55                 </listitem>
56                 
57             </varlistentry>
58             
59         </variablelist>
60         
61     </refsection>
62     
63     <refsection>
64         
65         <title>説明</title>
66         
67         <para>
68             
69             autoUnwrap が trueの場合, メソッドのコールにより
70             
71             返された値は可能な限りアンラップされます.
72             
73         </para>
74         
75         <para>
76             
77             これにより, Java / Scilab変換の使用が非常に簡単になります.
78             
79         </para>
80         
81         <para>
82             
83             デフォルトで, autoUnwrap は trueです.
84             
85         </para>
86         
87     </refsection>
88     
89     <refsection>
90         
91         <title>例</title>
92         
93         <programlisting role="example"><![CDATA[
94                jautoUnwrap(%f);
95                jautoUnwrap()
96                jautoUnwrap(%t);
97       ]]></programlisting>
98         
99         <programlisting role="example"><![CDATA[
100 // この例では, 自動アンラップを無効にせずに, Scilab は
101 // currentTimeMillisの結果をlongに変換します(この変換はScilabではまだ
102 // サポートされていません)
103 // 自動アンラップを利用しない場合, Scilab はオブジェクトへのリファレンスを
104 // 保持します
105
106                jautoUnwrap(%f)
107                jimport java.util.Date;
108                jimport java.lang.System;
109
110                t = System.currentTimeMillis();
111                s = jnewInstance(Date, t);
112                str = jnewInstance("java.lang.String", "Hello");
113                d = s.toString()
114
115                jremove Date System t s str;
116                jautoUnwrap(%t)
117       ]]></programlisting>
118         
119         
120         
121     </refsection>
122     
123     <refsection role="see also">
124         
125         <title>参照</title>
126         
127         <simplelist type="inline">
128             
129             <member>
130                 
131                 <link linkend="jinvoke">jinvoke</link>
132                 
133             </member>
134             
135         </simplelist>
136         
137     </refsection>
138     
139     <refsection>
140         
141         <title>履歴</title>
142         
143         <revhistory>
144             
145             <revision>
146                 
147                 <revnumber>5.5.0</revnumber>
148                 
149                 <revremark>
150                     
151                     関数が導入されました. 'JIMS'モジュールに基づきます.
152                     
153                     JIMSモジュールとの動作上の主な違いは,
154                     
155                     <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
156                     
157                     有効になっていることです.
158                     
159                 </revremark>
160                 
161             </revision>
162             
163         </revhistory>
164         
165     </refsection>
166     
167 </refentry>
168
169
170