added japanese translation of java external object.
[scilab.git] / scilab / modules / external_objects_java / help / ja_JP / jcast.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="jcast">
18     
19     <refnamediv>
20         
21         <refname>jcast</refname>
22         
23         <refpurpose>Javaオブジェクトを別オブジェクトにキャスト.</refpurpose>
24         
25     </refnamediv>
26     
27     <refsynopsisdiv>
28         
29         <title>呼び出し手順</title>
30         
31         <synopsis>
32             
33             jcast(javaObject, class)
34             
35         </synopsis>
36         
37     </refsynopsisdiv>
38     
39     <refsection>
40         
41         <title>パラメータ</title>
42         
43         <variablelist>
44             
45             <varlistentry>
46                 
47                 <term>javaObject</term>
48                 
49                 <listitem>
50                     
51                     <para>_JObj型のmlist</para>
52                     
53                 </listitem>
54                 
55             </varlistentry>
56             
57             <varlistentry>
58                 
59                 <term>class</term>
60                 
61                 <listitem>
62                     
63                     <para>
64                         
65                         クラス名を指定する文字列または
66                         
67                         jimportまたはjcompileで入手した
68                         
69                         _JClass型のmlist
70                         
71                     </para>
72                     
73                 </listitem>
74                 
75             </varlistentry>
76             
77         </variablelist>
78         
79     </refsection>
80     
81     <refsection>
82         
83         <title>説明</title>
84         
85         <para>
86             
87             オブジェクトを指定したクラスの別オブジェクトにキャストします.
88             
89         </para>
90         
91     </refsection>
92     
93     <refsection>
94         
95         <title>例</title>
96         
97         <programlisting role="example"><![CDATA[
98                jimport java.lang.Double;
99                jimport java.lang.Number;
100
101                d = Double.new("1.23456");
102                jgetclassname(d)
103                e = jcast(d, "java.lang.Number");
104                // or as an alternative
105                f = jcast(d, Number);
106                jgetclassname(e)
107                jremove e d f;
108       ]]></programlisting>
109         
110     </refsection>
111     
112     <refsection role="see also">
113         
114         <title>参照</title>
115         
116         <simplelist type="inline">
117             
118             <member>
119                 
120                 <link linkend="jgetclassname">jgetclassname</link>
121                 
122             </member>
123             
124         </simplelist>
125         
126     </refsection>
127     
128     <refsection>
129         
130         <title>履歴</title>
131         
132         <revhistory>
133             
134             <revision>
135                 
136                 <revnumber>5.5.0</revnumber>
137                 
138                 <revremark>
139                     
140                     関数が導入されました. 'JIMS'モジュールに基づきます.
141                     
142                     JIMSモジュールとの動作上の主な違いは,
143                     
144                     <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
145                     
146                     有効になっていることです.
147                     
148                 </revremark>
149                 
150             </revision>
151             
152         </revhistory>
153         
154     </refsection>
155     
156 </refentry>
157
158
159