added japanese translation of java external object. 33/14533/2
Rui Hirokawa [Sat, 17 May 2014 05:07:16 +0000 (14:07 +0900)]
Change-Id: I4ac01ed21ccf78c2e7aeb384cdd1b3cc80df00d2

33 files changed:
scilab/modules/external_objects_java/help/ja_JP/01-getting-started.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/02-getting-started.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jallowClassReloading.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jarray.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jautoTranspose.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jautoUnwrap.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jcast.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jcompile.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jconvMatrixMethod.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jcreatejar.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jdeff.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jdisableTrace.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jenableTrace.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jexists.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jgetclassname.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jgetfield.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jgetfields.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jgetinfo.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jgetmethods.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jimport.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jinvoke.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jinvoke_db.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jnewInstance.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jnull.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jremove.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jsetfield.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/junwrap.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/junwraprem.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jvoid.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jwrap.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jwrapinchar.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/jwrapinfloat.xml [new file with mode: 0644]
scilab/modules/external_objects_java/help/ja_JP/new.xml [new file with mode: 0644]

diff --git a/scilab/modules/external_objects_java/help/ja_JP/01-getting-started.xml b/scilab/modules/external_objects_java/help/ja_JP/01-getting-started.xml
new file mode 100644 (file)
index 0000000..afe8176
--- /dev/null
@@ -0,0 +1,700 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2013 - S/E - Sylvestre Ledru
+* Copyright (C) 2012 - CNES - Simon Billemont
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jims-getting-started">
+    
+    <refnamediv>
+        
+        <refname>入門 - 第1ステップ</refname>
+        
+        <refpurpose>Java Scilab バインディングを使用するには?</refpurpose>
+        
+    </refnamediv>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            このモジュールの目的は, Javaオブジェクトおよびデータ型を
+            
+            読込み, 相互作用を行えるようにすることです.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>基本</title>
+        
+        <para>
+            
+            始める前に, 多くの重要な関数とその動作を知っておくと良いでしょう.
+            
+            これらの多く使用される関数は, 以下のScilab関数です:
+            
+            <itemizedlist>
+                
+                <listitem>
+                    
+                    <link linkend="jimport">jimport</link>: Javaクラスをインポート
+                    
+                </listitem>
+                
+                <listitem>
+                    
+                    <link linkend="jimport">jinvoke</link>: Javaオブジェクトのメソッドをコール
+                    
+                </listitem>
+                
+            </itemizedlist>
+            
+        </para>
+        
+        <para>
+            
+            jimport はjava命令 'import' の機能を模擬する関数で,
+            
+            指定したクラス定義/指定したクラスのテンプレートをメモリに読込みます.
+            
+            読み込まれた際, この定義が静的メソッド/メンバへのアクセス,
+            
+            新規オブジェクト作成の際に使用されます.
+            
+            k        
+        </para>
+        
+        <para>
+            
+            jinvoke はjavaクラスまたはオブジェクトの指定したメソッドを
+            
+            コール(invoke)する関数です.
+            
+            このinvokeは,実際のメンバシグネチャと一致する
+            
+            一連のオプションのパラメータを有します.
+            
+            これは,同数のパラメータを指定し,これらの引数が正しい型を有している
+            
+            必要があることを意味します.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例1: 基底クラスを作成し, 簡単なメソッドをコール</title>
+        
+        <para>
+            
+            この最初の例では,Javaを動作させる3つの基本的な柱を扱います.
+            
+            最初はクラスの読込みで,
+            
+            次はインスタンスの構築,
+            
+            最後はこのメソッドまたはメンバの一つをコールすることです.
+            
+        </para>
+        
+        <para>
+            
+            例<literal>HelloWorld</literal>で示されたものと同様の基底クラスを考えます.
+            
+            このクラスは,構築時にメッセージを生成するデフォルトのコンストラクタを有し,
+            
+            コール時にメッセージを表示する公開メソッドを1つ有します.
+            
+            このクラスは, javaバイトコードにコンパイルする必要があります.
+            
+            コードを開発する際には, この部分は通常IDE(integrated development environment)
+            
+            により処理されます.
+            
+            外部ライブラリを使用する場合, プリコンパイル形式(JARでパックされた)のものが
+            
+            利用可能です.
+            
+        </para>
+        
+        <programlisting role="java"><![CDATA[
+// HelloWorld.javaという名前で保存
+package com.foo;
+public class HelloWorld {
+   public HelloWorld() {
+      System.err.println("HelloWorld constructed!");
+  }
+
+  public void message() {
+      System.err.println("Hello world!");
+  }
+}
+      ]]></programlisting>
+        
+        <programlisting role="example"><![CDATA[
+// ScilabからJavaコードをコンパイルする方法
+javacode=mgetl(fullfile(TMPDIR, 'HelloWorld.java'));
+jcompile("com.foo.HelloWorld",javacode);
+      ]]></programlisting>
+        
+        <para>
+            
+            このJavaクラスのコンパイル版が既に存在する場合, Scilabを起動し,
+            
+            Scilabに種々のメッセージを表示させることができます.
+            
+            HelloWorldクラスをワークスペースにインポートすることができます.
+            
+            これは, 前述のインポート手順により以下のように行うことができます:
+            
+            <screen>
+                
+                -->jimport com.foo.HelloWorld
+                
+                
+                
+                -->HelloWorld
+                
+                HelloWorld  =
+                
+                
+                
+                class com.foo.HelloWorld
+                
+                
+                
+                -->whos -name HelloWorld
+                
+                Name                     Type           Size           Bytes
+                
+                
+                
+                HelloWorld               _EClass        ?              168
+                
+            </screen>
+            
+            <para>
+                
+                完了後, HelloWorldという名前の変数が作成されています.
+                
+                これは, Javaにおけるクラスオブジェクトと等価です. このクラスオブジェクトから,
+                
+                HelloWorld型の新規オブジェクトを作成できます.
+                
+            </para>
+            
+            <para>
+                
+                オブジェクトのインスタンスの作成は,クラス定義に
+                
+                <link linkend="new">new</link>を呼び出すことで行います.
+                
+                このクラスの引数は, Javaコンストラクタに移譲されるパラメータです.
+                
+                この処理の結果は, Javaオブジェクトへのリファレンスで, 
+                
+                後で使用するために変数に保存できます.
+                
+            </para>
+            
+            <screen>
+                
+                -->object = HelloWorld.new();
+                
+                HelloWorld constructed!
+                
+                
+                
+                -->object
+                
+                object  =
+                
+                
+                
+                com.foo.HelloWorld@49aacd5f
+                
+                
+                
+                -->whos -name object
+                
+                Name                     Type           Size           Bytes
+                
+                
+                
+                object                   _EObj          ?              160
+                
+            </screen>
+            
+            <para>
+                
+                <link linkend="new">new</link> 演算子が JClassでコールされた際,
+                
+                Javaコンストラクタが透過的に呼び出され, メッセージ"HelloWorld constructed!"が
+                
+                表示されます.
+                
+                生成されたHelloWorld オブジェクトは"object"変数に保存されます.
+                
+                このメッセージはHelloWorldクラスのtoStringメソッドをオーバーライドすることにより
+                
+                カスタマイズできます.
+                
+            </para>
+            
+            <para>
+                
+                ここで,特定のHelloWorldオブジェクトが作成され,
+                
+                宣言された公開メソッドがを以下のようにコールできるようになりました; 
+                
+                <literal>HelloWorld\#message()</literal>. 
+                
+                <link linkend="new">new</link>と同様な技法を
+                
+                メソッドを呼び出す際に使用できます:
+                
+            </para>
+            
+            <screen>
+                
+                -->object.message();
+                
+                Hello world!
+                
+            </screen>
+            
+            <para>
+                
+                ドット演算子 (オブジェクトとメッセージの間にドット)は
+                
+                便利なショートカットで,以下のようなScilabコードのスニペットを拡張します.
+                
+                このショートカットの仕様により,
+                
+                メソッドを呼び出したり,
+                
+                メンバ変数を取得したりすることがより簡単かつ明快になります.
+                
+            </para>
+            
+            <screen>
+                
+                -->jinvoke(object, 'message');
+                
+                Hello world!
+                
+            </screen>
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例 2: Scilab と Java のプリミティブを相互変換</title>
+        
+        <para>
+            
+            この例は,基本的なデータ型と文字列をScilabとJavaの間で交換
+            
+            する手法を扱います.
+            
+            複数の型のオブジェクトをこれらの2つの言語の間で渡します.
+            
+        </para>
+        
+        <para>
+            
+            ここでは,例となるクラス(Class Inspector 参照)が
+            
+            オブジェクトを入出力するよう定義されます.
+            
+            2つのメソッドが定義されています.
+            
+            最初のメソッドは doubleを1つ引数とし,算術演算をして,
+            
+            結果を返します: Inspector#eval(double).
+            
+            もう一つのメソッドは, 任意のオブジェクトを引数とし,
+            
+            基本的な情報を表示して,返します: Inspector#inspect(Object).
+            
+        </para>
+        
+        <programlisting role="java"><![CDATA[
+// Inspector.java という名前で保存
+package com.foo;
+public class Inspector {
+       public double eval(double x) {
+               return x / 2.;
+       }
+
+       public Object inspect(Object prototype) {
+               System.err.println("Inspecting: '" + prototype + "'");
+               System.err.println("Class: " + prototype.getClass().getSimpleName());
+               return prototype;
+       }
+}
+      ]]></programlisting>
+        
+        <para>
+            
+            前の例と同様に, このコードは使用前にコンパイルしておく必要があります.
+            
+        </para>
+        
+        <programlisting role="example"><![CDATA[
+// Scilab から Javaコードをコンパイルする方法
+javacode= mgetl(fullfile(TMPDIR, 'Inspector.java'));
+jcompile("com.foo.Inspector",javacode);
+      ]]></programlisting>
+        
+        まず, Inspectorクラスをインポートし,
+        
+        Inspectorオブジェクトを作成します:
+        
+        <screen>
+            
+            -->jimport('com.foo.Inspector');
+            
+            
+            
+            -->myInspector = Inspector.new()
+            
+            myInspector  =
+            
+            
+            
+            com.foo.Inspector@2a788315
+            
+        </screen>
+        
+        これにより, 2つのシステム間で情報を交換できるようになります.任意のScilabデータ型をJavaに指定すると, 自動的に Javaの等価な型にラップ(<link linkend="jwrap">jwrap</link>参照)されます.まず, Scilabで最も良く使用される型の使用例として, 実数(定数)を示します. 実数を渡すと, この型は自動的に Scilab型doubleにマップされます. 試してみましょう;
+        
+        <screen>
+            
+            -->result = myInspector.eval(12.5)
+            
+            result  =
+            
+            
+            
+            6.25
+            
+            
+            
+            -->result * 2
+            
+            ans  =
+            
+            
+            
+            12.5
+            
+            
+            
+            -->whos -name result
+            
+            Name                     Type           Size           Bytes
+            
+            
+            
+            result                   constant       1 by 1         24
+            
+        </screen>
+        
+        自動変換は, jautoUnwrap関数により制御されます. この関数を利用しない場合,全ての変換を陽に行う必要があります.
+        
+        <screen>
+            
+            -->result = myInspector.eval(12.5)
+            
+            result  =
+            
+            
+            
+            6.25
+            
+            
+            
+            -->result * 2
+            
+            ans  =
+            
+            
+            
+            null
+            
+            
+            
+            -->whos -name result
+            
+            Name                     Type           Size           Bytes
+            
+            
+            
+            result                   _EObj          ?              160
+            
+        </screen>
+        
+        返された結果は一見して正しいように見えます ($12.5/2=6.25$). しかし, よく見ると, 関数コールから返された値は数値ではありません. 受けたものは, 別の Javaオブジェクト (この場合は Double)です. 再びScilabで指定したデータを使用できるようにするには, jautoUnwrapを trueに設定していない場合, 前述の <link linkend="junwrap">junwrap</link>機能を使用できます.
+        
+        この変換は Java型を等価な Scilab形式に戻します. これを行うと, 通常の数値を再度得ることができます:
+        
+        <screen>
+            
+            -->result = junwrap(result)
+            
+            result  =
+            
+            
+            
+            6.25
+            
+            
+            
+            -->whos -name result
+            
+            Name                     Type           Size           Bytes
+            
+            
+            
+            result                   constant       1 by 1         24
+            
+            
+            
+            -->result * 2
+            
+            ans  =
+            
+            
+            
+            12.5
+            
+        </screen>
+        
+        
+        
+        この例から, doubleが Java VM により使用され,返される Doubleに自動的に変換される流れが明確になりました. 返された変数を指定して <link linkend="junwrap">junwrap</link>をコールした際, ネーティブなScilab型に戻されます.しかし, 他の型の場合はどうでしょう? 他の基本型についても調べてみましょう;
+        
+        <screen>
+            
+            -->jautoUnwrap(%f) // 自動unwrapを無効にします
+            
+            
+            
+            -->result = myInspector.inspect("Hello world!");
+            
+            Inspecting: 'Hello world!'
+            
+            Class: String
+            
+            
+            
+            -->whos -name result
+            
+            Name                     Type           Size           Bytes
+            
+            
+            
+            result                   _EObj          ?              160
+            
+            
+            
+            -->result = junwrap(result)
+            
+            result  =
+            
+            
+            
+            Hello world!
+            
+            
+            
+            -->whos -name result
+            
+            Name                     Type           Size           Bytes
+            
+            
+            
+            result                   string         1 by 1         72
+            
+            
+            
+            // 整数
+            
+            -->result = myInspector.inspect(int32(150));
+            
+            Inspecting: '150'
+            
+            Class: Integer
+            
+            
+            
+            -->result = junwrap(result)
+            
+            result  =
+            
+            
+            
+            150
+            
+            
+            
+            -->whos -name result
+            
+            Name                     Type           Size           Bytes
+            
+            
+            
+            result                   int32          1 by 1         40
+            
+            
+            
+            // 論理値
+            
+            -->result = myInspector.inspect(%t);
+            
+            Inspecting: 'true'
+            
+            Class: Boolean
+            
+            
+            
+            -->result = junwrap(result)
+            
+            result  =
+            
+            
+            
+            T
+            
+            
+            
+            -->whos -name result
+            
+            Name                     Type           Size           Bytes
+            
+            
+            
+            result                   boolean        1 by 1         16
+            
+            
+            
+        </screen>
+        
+        
+        
+        見てわかるように, 全ての関連するデータ型は Scilab と Java型の間で透過的に変換できます. しかし, これはそのまま行列にも拡張できます;
+        
+        <screen>
+            
+            --> jautoUnwrap(%t) // コールを自動unwrapするデフォルトのモードに戻します
+            
+            
+            
+            -->result = myInspector.inspect(1:5)
+            
+            Inspecting: '[D@b05236'
+            
+            Class: double[]
+            
+            result  =
+            
+            
+            
+            1.    2.    3.    4.    5.
+            
+            
+            
+            -->whos -name result
+            
+            Name                     Type           Size           Bytes
+            
+            
+            
+            result                   constant       1 by 5         56
+            
+            
+            
+            -->result = myInspector.inspect(testmatrix('magi',3))
+            
+            Inspecting: '[[D@11d13272'
+            
+            Class: double[][]
+            
+            result  =
+            
+            
+            
+            8.    1.    6.
+            
+            3.    5.    7.
+            
+            4.    9.    2.
+            
+            
+            
+            -->whos -name result
+            
+            Name                     Type           Size           Bytes
+            
+            
+            
+            result                   constant       3 by 3         88
+            
+        </screen>
+        
+        これらのラップされた行列のクラスを見ると, Javaはこれらを適当な大きさの配列として保存していることがわかります. 2次元行列の場合, これに等価なJava配列は列優先(デフォルト)または行優先モードで保存されます. 列優先モードでは, 最初の配列が各列へのポインタを有します. 一方, 行優先モードでは, 最初の配列が各行のデータを有します. 詳細については,<link linkend="jautoTranspose">jautoTranspose</link>を参照ください.
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/02-getting-started.xml b/scilab/modules/external_objects_java/help/ja_JP/02-getting-started.xml
new file mode 100644 (file)
index 0000000..a3b1808
--- /dev/null
@@ -0,0 +1,556 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2013 - S/E - Sylvestre Ledru
+* Copyright (C) 2012 - CNES - Simon Billemont
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jims-getting-started-2">
+    
+    <refnamediv>
+        
+        <refname>入門 - 第2ステップ</refname>
+        
+        <refpurpose>Java Scilab バインディングを使用するには?</refpurpose>
+        
+    </refnamediv>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            このチュートリアルは, 
+            
+            <link linkend="jims-getting-started">第1ステップ</link>の続きです.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例 3: Scilabvで Java オブジェクトを使用する</title>
+        
+        <para>
+            
+            この例では,より高度に抽象化された一連のJavaオブジェクトを
+            
+            定義します. 次に, Javaスクリプト言語の一種としてScilabを使用して
+            
+            これらのオブジェクトに様々な操作を行います.
+            
+            以下の様なJavaの広範な機能を紹介します; 
+            
+            staticメソッド (Factory construct), Enums, 簡単なポリモーフィズム, 
+            
+            メンバ/メソッドのスコープ.
+        </para>
+        
+        <para>
+            
+            この広範な機能は,簡単な家を記述する7つの簡単なクラスにより示されます;
+            
+        </para>
+        
+        <programlisting role="java"><![CDATA[
+// House.java という名前で保存
+package com.foo;
+
+import java.util.Arrays;
+import java.util.LinkendList;
+import java.util.List;
+
+public class House {
+
+       private Color                   color;
+       private Door                    door;
+       private List<IWindow>   windows = new LinkendList<IWindow>();
+
+       public House(Color color, Door door, IWindow... windows) {
+               this.color = color;
+               this.door = door;
+               this.windows.addAll(Arrays.asList(windows));
+       }
+
+       public void repaint() {
+               swapDoorHouseColor();
+       }
+
+       private void swapDoorHouseColor() {
+               Color doorColor = door.getColor();
+               door.repaint(color);
+               color = doorColor;
+       }
+
+       public void addWindow(IWindow window) {
+               windows.add(window);
+       }
+
+       public void replaceDoor(Door newDoor) {
+               this.door = newDoor;
+       }
+
+       @Override
+       public String toString() {
+               return String.format(
+                               "This is a house painted in %s, has a %s door, and %d windows",
+                               color.getDescr(), door.getColor().getDescr(), windows.size());
+       }
+}
+      ]]></programlisting>
+        
+        <programlisting role="java"><![CDATA[
+package com.foo;
+
+public class HouseFactory {
+
+       public static House basicHouse() {
+               Door door = new Door(Color.WHITE);
+               IWindow window = new RectangularWindow(2, 0.8);
+               return new House(Color.WHITE, door, window);
+       }
+
+       public static House flashyHouse() {
+               Door door = new Door(Color.random());
+               IWindow window = new CircularWindow(1.2);
+               return new House(Color.random(), door, window);
+       }
+}
+      ]]></programlisting>
+        
+        <programlisting role="java"><![CDATA[
+
+package com.foo;
+
+import java.util.Random;
+
+public enum Color {
+
+       BLACK("black"), BLUE("blue"), BROWN("brown"), GREEN("green"),
+       ORANGE("orange"), RED("red"), WHITE("white"), YELLOW("yellow");
+
+       public String   descr;
+
+       private Color(String s) {
+               descr = s;
+       }
+
+       public String getDescr() {
+               return descr;
+       }
+
+       public static Color random() {
+               Color[] allColors = values();
+               return allColors[new Random().nextInt(values().length)];
+       }
+}      ]]></programlisting>
+        
+        <programlisting role="java"><![CDATA[
+
+package com.foo;
+
+public class Door {
+
+       private Color   color;
+
+       public Door(Color color) {
+               this.color = color;
+       }
+
+       public Color getColor() {
+               return color;
+       }
+
+       public void repaint(Color newColor) {
+               color = newColor;
+       }
+}
+      ]]></programlisting>
+        
+        <programlisting role="java"><![CDATA[
+package com.foo;
+
+public interface IWindow {
+
+       double getWindowArea();
+
+}
+      ]]></programlisting>
+        
+        <programlisting role="java"><![CDATA[
+package com.foo;
+
+public class RectangularWindow implements IWindow {
+
+       double  length;
+       double  width;
+
+       public RectangularWindow(double length, double width) {
+               this.length = length;
+               this.width = width;
+       }
+
+       public double getWindowArea() {
+               return length * width;
+       }
+}
+      ]]></programlisting>
+        
+        <programlisting role="java"><![CDATA[
+package com.foo;
+
+public class CircularWindow implements IWindow {
+
+       double  radius;
+
+       public CircularWindow(double radius) {
+               this.radius = radius;
+       }
+
+       public double getWindowArea() {
+               return Math.PI * radius * radius;
+       }
+}
+      ]]></programlisting>
+        
+        
+        
+        <programlisting role="example"><![CDATA[
+// この例はScilabディストリビューションに含まれます.
+directory=SCI+"/modules/external_objects_java/examples/com/foo/"
+// これらを全てコンパイルします
+jcompile(ls(directory + "/*.java"))
+      ]]></programlisting>
+        
+        <para>
+            
+            まず, 基本となるfactory houseを構築しましょう.
+            
+            このため, HouseFactory をインポートし, 静的メソッドbasicHouse()
+            
+            を呼び出す必要があります.
+            
+        </para>
+        
+        <screen>
+            
+            -->jimport("com.foo.HouseFactory")
+            
+            
+            
+            -->house = HouseFactory.basicHouse()
+            
+            house  =
+            
+            
+            
+            This is a house painted in white, has a white door, and 1 windows
+            
+            
+            
+        </screen>
+        
+        <para>
+            
+            これは, 静的メソッドをJavaと同様にコールできることを示します.
+            
+            これは, "jinvoke(HouseFactory, 'basicHouse')"  と等価であることも
+            
+            頭に入れておいてください.
+            
+            
+            
+            オブジェクトのメッセージも以下のように交換できます:
+            
+            <screen>
+                
+                com.foo.House@ae8022
+                
+                To
+                
+                This is a house painted in white, has a white door, and 1 windows
+                
+            </screen>
+            
+            これは, Houseクラスが標準で \cmd[toString] メソッドを有するためです. この <literal>toString</literal>は,この表現を生成する際に使用されます. <link linkend="jgetclassname">jgetclassname</link> を呼び出すことにより, この場合も Houseオブジェクトの実際の型(クラス)を取得できます.
+            
+            <screen>
+                
+                -->jgetclassname(house)
+                
+                ans  =
+                
+                
+                
+                com.foo.House
+                
+            </screen>
+            
+            
+            
+            更に興味深いのは,HouseをScilabに直接インポートせずに,家の説明が入手できたことです!
+            
+            家が構築されたので,この家に別の窓を追加してみましょう. このため, 新しい窓を作成し,   <literal>addWindow(IWindow)</literal>関数により家に追加します. <literal>IWindow</literal>は窓に関する抽象化された説明で, 直接インスタンス化することはできません. しかし, 構築時に以下の2種類の実装が利用可能です; <literal>RectangularWindow</literal> および <literal>CircularWindow</literal>. この家は, factory で <literal>RectangularWindow</literal> を1つ付けているため, 新たに<literal>CircularWindow</literal>を作成してみましょう.
+            
+        </para>
+        
+        <screen>
+            
+            -->jimport("com.foo.IWindow")
+            
+            
+            
+            -->IWindow.new()
+            
+            !--error 999
+            
+            Method invocation: An error occurred: Exception when calling Java method : No such constructor in the class com.foo.IWindow.
+            
+            
+            
+            -->jimport("com.foo.CircularWindow")
+            
+            
+            
+            --> newWindow = CircularWindow.new(0.5)
+            
+            newWindow  =
+            
+            
+            
+            com.foo.CircularWindow@3e389405
+            
+            
+            
+            -->house.addWindow(newWindow);
+            
+            
+            
+            -->house
+            
+            house  =
+            
+            
+            
+            This is a house painted in white, has a white door, and 2 windows
+            
+            
+            
+        </screen>
+        
+        <para>
+            
+            新しい窓が作成され, リファレンスが変数 "newWindow" に保存されました.次に, この窓が変数をラップすることを必要とせずに家に追加されました.これは通常予想される動作です.最後に, 家が2つの窓を有することを表示します.
+            
+        </para>
+        
+        <para>
+            
+            しかし, ドアが気に入らないため, ドアを変更してみましょう. ドアを作成するには, ドアの色を選ぶ必要があります. Color はJava Enum クラス型です. 前記と同様に, まず変数をインポートし,新規インスタンスを作成した後, 家のドアを交換します.
+            
+        </para>
+        
+        <screen>
+            
+            -->jimport("com.foo.Color")
+            
+            
+            
+            -->jimport("com.foo.Door")
+            
+            
+            
+            -->newDoor = Door.new(Color.RED)
+            
+            newDoor  =
+            
+            
+            
+            com.foo.Door@54a5f709
+            
+            
+            
+            -->house.replaceDoor(newDoor);
+            
+            
+            
+            -->house
+            
+            house  =
+            
+            
+            
+            This is a house painted in white, has a red door, and 2 windows
+            
+        </screen>
+        
+        <para>
+            
+            Enum型の使用はクラスと同様に簡単です! これらのメソッドとメンバは同じ方針に基づいています:
+            
+        </para>
+        
+        <screen>
+            
+            -->c = Color.random()
+            
+            c  =
+            
+            
+            
+            BLACK
+            
+            
+            
+            -->c = Color.random()
+            
+            c  =
+            
+            
+            
+            BLUE
+            
+            
+            
+            -->c.getDescr()
+            
+            ans  =
+            
+            
+            
+            blue
+            
+        </screen>
+        
+        <para>
+            
+            家に保持される窓のリストは<literal>IWindow</literal>型
+            
+            です. これにより, リストに追加できるのは通常は窓のみです.
+            
+            これを確かめるため, Scilabで<literal>Door</literal>を
+            
+            追加するとどうなるかを見てみましょう.
+            
+        </para>
+        
+        <screen>
+            
+            -->house.addWindow(newDoor);
+            
+            !--error 999
+            
+            Method invocation: An error occurred: Exception when calling Java method : No method addWindow in the class com.foo.House or bad arguments type.
+            
+        </screen>
+        
+        <para>
+            
+            Java Reflectionを使用した場合と同様, JVM セキュリティ機構が,Javaポリモーフィズム規則に反することを防止するべく監視しています.
+            
+        </para>
+        
+        <screen>
+            
+            -->c.descr
+            
+            ans  =
+            
+            
+            
+            blue
+            
+            
+            
+            -->house.door
+            
+            !--error 999
+            
+            %_EObj_e: An error occurred: Exception when calling Java method : Invalid field door
+            
+            
+            
+            -->house.repaint();
+            
+            
+            
+            -->house
+            
+            house  =
+            
+            
+            
+            This is a house painted in red, has a white door, and 2 windows
+            
+            
+            
+            -->house.swapDoorHouseColor()
+            
+            !--error 999
+            
+            %_EObj_e: An error occurred: Exception when calling Java method : Invalid field swapDoorHouseColor
+            
+        </screen>
+        
+        <para>
+            
+            結論として, JIMSパッケージは Java JNIインターフェイスをScilab上で隠蔽する役割を担っており, これにより,非常に簡単にかつ透過的にScilabでJavaライブラリを使用することが可能です.全ての通常のJVM機能が存在し,Scilab構文は明確で直感的に使用できます.
+            
+        </para>
+        
+        <para>
+            
+            ここまでで, ScilabとJavaライブラリを連携させ,
+            
+            Javaの全機能をScilabスクリプト環境で利用する
+            
+            方法を理解できたはずです.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jallowClassReloading.xml b/scilab/modules/external_objects_java/help/ja_JP/jallowClassReloading.xml
new file mode 100644 (file)
index 0000000..24637f7
--- /dev/null
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jallowClassReloading">
+    
+    <refnamediv>
+        
+        <refname>jallowClassReloading</refname>
+        
+        <refpurpose>クラスリロード機能を有効にする</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            jallowClassReloading(bool)
+            
+            isAllowed = jallowClassReloading()
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>bool</term>
+                
+                <listitem>
+                    
+                    <para>論理値, 有効または無効</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>isAllowed</term>
+                
+                <listitem>
+                    
+                    <para>クラスのリロードの有効・無効を示す論理値
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            クラスのリロード機能を有効または無効にします.
+            
+            リロード機能はJavaフレームワークで配布されていないクラスで
+            
+            のみ利用可能です. 
+            
+            <literal>jimport</literal> 関数はこのパラメータを使用します.
+            
+        </para>
+        
+        <para>
+            
+            デフォルトで, この値はfalseに設定されています
+            
+            (開発用ツールのため).
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               jallowClassReloading(%t);
+               jallowClassReloading()
+               jallowClassReloading(%f);
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jimport">jimport</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jarray.xml b/scilab/modules/external_objects_java/help/ja_JP/jarray.xml
new file mode 100644 (file)
index 0000000..68528e5
--- /dev/null
@@ -0,0 +1,145 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="en" xml:id="jarray">
+    
+    <refnamediv>
+        
+        <refname>jarray</refname>
+        
+        <refpurpose>Java配列を作成</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            jarray(className, n_1 [, n_2 [, ...]])
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>className</term>
+                
+                <listitem>
+                    
+                    <para>クラス名を指定する文字列</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>n_i</term>
+                
+                <listitem>
+                    
+                    <para>配列の次元を指定する整数</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            className 型の多次元配列 n_1x...xn_pを作成します.
+            
+            配列の要素は従来のScilab表記によりアクセスでき,
+            
+            添字は1から始まるScilab表記に従います.
+            
+        </para>
+        
+        <para>
+            
+            className は以下の基本データ型のどれかを指定します:
+            
+            double, int, boolean, short, long, float, char および byte.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               a = jarray("java.lang.String", 2, 2, 3);
+               // 配列への挿入
+               a(1, 1, 3) = "Hi Jims !";
+               a(2, 1, 3) = "Hi Jims again !!"
+
+               // 配列の抽出
+               length(a(2, 1, 3));
+               a(2, 1, 3)
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jautoTranspose.xml b/scilab/modules/external_objects_java/help/ja_JP/jautoTranspose.xml
new file mode 100644 (file)
index 0000000..45b4bbd
--- /dev/null
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2013 - S/E - Sylvestre LEDRU
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jautoTranspose">
+    
+    <refnamediv>
+        
+        <refname>jautoTranspose</refname>
+        
+        <refpurpose>行列を変換する方法を指定</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            method = jautoTranspose()
+            
+            jautoTranspose(method)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>method</term>
+                
+                <listitem>
+                    
+                    <para>変換の型を指定する論理値</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            Scilabでは,
+            
+            <literal>[1 2 3;4 5 6]</literal>のような行列は
+            
+            <literal>[1 4 2 5 3 6]</literal> のように(列毎に)保存されます. 
+            
+            Javaでは,同じ行列は
+            
+            <literal>[-&gt;[1 2 3] -&gt;[4 5 6]]</literal> 
+            
+            のように(ポインタの配列)として保存されます.
+            
+        </para>
+        
+        <para>
+            
+            methodが'%f'の場合 (列-行), 内部配列 
+            
+            <literal>[1 4 2 5 3 6]</literal> が指定され,
+            
+            Javaは配列
+            
+            <literal>[-&gt;[1 4] -&gt;[2 5] -&gt;[3 6]]</literal>を作成します.
+            
+        </para>
+        
+        <para>
+            
+            method が 't' (行-列)の場合, 配列
+            
+            <literal>[1 4 2 5 3 6]</literal> は
+            
+            <literal>[1 2 3 4 5 6]</literal> のように指定され,
+            
+            <literal>[-&gt;[1 2 3] -&gt;[4 5 6]]</literal>に変換されます.
+            
+        </para>
+        
+        <para>
+            
+            デフォルトで, method は '%f'に設定されます.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               jautoTranspose()
+               jautoTranspose(%t)
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jautoUnwrap.xml b/scilab/modules/external_objects_java/help/ja_JP/jautoUnwrap.xml
new file mode 100644 (file)
index 0000000..cb9d49a
--- /dev/null
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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">
+    
+    <refnamediv>
+        
+        <refname>jautoUnwrap</refname>
+        
+        <refpurpose>返された値を自動的にアンラップする</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            autoUnwrap = jautoUnwrap()
+            
+            jautoUnwrap(autoUnwrap)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>autoUnwrap</term>
+                
+                <listitem>
+                    
+                    <para>論理値</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            autoUnwrap が trueの場合, メソッドのコールにより
+            
+            返された値は可能な限りアンラップされます.
+            
+        </para>
+        
+        <para>
+            
+            これにより, Java / Scilab変換の使用が非常に簡単になります.
+            
+        </para>
+        
+        <para>
+            
+            デフォルトで, autoUnwrap は trueです.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               jautoUnwrap(%f);
+               jautoUnwrap()
+               jautoUnwrap(%t);
+      ]]></programlisting>
+        
+        <programlisting role="example"><![CDATA[
+// この例では, 自動アンラップを無効にせずに, Scilab は
+// currentTimeMillisの結果をlongに変換します(この変換はScilabではまだ
+// サポートされていません)
+// 自動アンラップを利用しない場合, Scilab はオブジェクトへのリファレンスを
+// 保持します
+
+               jautoUnwrap(%f)
+               jimport java.util.Date;
+               jimport java.lang.System;
+
+               t = System.currentTimeMillis();
+               s = jnewInstance(Date, t);
+               str = jnewInstance("java.lang.String", "Hello");
+               d = s.toString()
+
+               jremove Date System t s str;
+               jautoUnwrap(%t)
+      ]]></programlisting>
+        
+        
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jinvoke">jinvoke</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jcast.xml b/scilab/modules/external_objects_java/help/ja_JP/jcast.xml
new file mode 100644 (file)
index 0000000..cb488ce
--- /dev/null
@@ -0,0 +1,159 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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">
+    
+    <refnamediv>
+        
+        <refname>jcast</refname>
+        
+        <refpurpose>Javaオブジェクトを別オブジェクトにキャスト.</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            jcast(javaObject, class)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>javaObject</term>
+                
+                <listitem>
+                    
+                    <para>_JObj型のmlist</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>class</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        クラス名を指定する文字列または
+                        
+                        jimportまたはjcompileで入手した
+                        
+                        _JClass型のmlist
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            オブジェクトを指定したクラスの別オブジェクトにキャストします.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               jimport java.lang.Double;
+              jimport java.lang.Number;
+
+               d = Double.new("1.23456");
+               jgetclassname(d)
+               e = jcast(d, "java.lang.Number");
+              // or as an alternative
+              f = jcast(d, Number);
+               jgetclassname(e)
+               jremove e d f;
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jgetclassname">jgetclassname</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jcompile.xml b/scilab/modules/external_objects_java/help/ja_JP/jcompile.xml
new file mode 100644 (file)
index 0000000..827a7a2
--- /dev/null
@@ -0,0 +1,208 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jcompile">
+    
+    <refnamediv>
+        
+        <refname>jcompile</refname>
+        
+        <refpurpose>Javaコードまたはファイルをコンパイルする</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            class = jcompile(className, code);
+            
+            class = jcompile(javaFiles);
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>className</term>
+                
+                <listitem>
+                    
+                    <para>クラス名を指定する文字列</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>code</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        Javaコードを有する文字列の行または列
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>javaFiles</term>
+                
+                <listitem>
+                    
+                    <para>Javaファイルのパス.</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>class</term>
+                
+                <listitem>
+                    
+                    <para>_JClass型のmlist</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            Javaソースコードをコンパイルし, 対応するクラスを読み込みます.
+            
+            JDKで配布されるパッケージ tools.jar が classpath に存在しない場合,
+            
+            Eclipse Compiler for Java (ECJ) が使用されます.
+            
+        </para>
+        
+        <para>
+            
+            引数がファイルの場合, jcompile はJavaコードをコンパイルします.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               hw = jcompile("HelloWorld", ["public class HelloWorld {"
+                                            "public static String getHello() {"
+                                            "return ""Hello World !!"";"
+                                            "}"
+                                            "}"]);
+
+               hello = hw.getHello()
+
+               jremove hello hw
+      ]]></programlisting>
+        
+        <programlisting role="example"><![CDATA[
+fd = mopen(TMPDIR+'/HelloWorld.java','wt');
+mputl(["public class HelloWorld {"
+                   "public static String getHello() {"
+                   "return ""Hello World !!"";"
+                   "}"
+                   "}"],fd);
+mclose(fd);
+
+jcompile(TMPDIR+"/HelloWorld.java")
+      ]]></programlisting>
+        
+        <programlisting role="example"><![CDATA[
+directory=SCI+"/modules/external_objects_java/examples/com/foo/";
+// Compile of all them
+jcompile(ls(directory + "/*.java"))
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jimport">jimport</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jconvMatrixMethod.xml b/scilab/modules/external_objects_java/help/ja_JP/jconvMatrixMethod.xml
new file mode 100644 (file)
index 0000000..5edb45e
--- /dev/null
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jconvMatrixMethod">
+    
+    <refnamediv>
+        
+        <refname>jconvMatrixMethod</refname>
+        
+        <refpurpose>
+            
+            行列を変換する方法を設定
+            
+            <emphasis role="bold">この関数は廃止されます.</emphasis>
+            
+        </refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            method = jconvMatrixMethod()
+            
+            jconvMatrixMethod(method)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>method</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        変換の型を指定する文字列: 'rc' または 'cr'
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            <warning>
+                
+                この関数は廃止予定であり, Scilab 6.0.0で削除されます,
+                
+                <link linkend="jautoTranspose">jautoTranspose</link> 関数の
+                
+                使用を推奨します.
+                
+            </warning>
+            
+        </para>
+        
+        <para>
+            
+            Scilabでは,
+            
+            Scilabでは,
+            
+            <literal>[1 2 3;4 5 6]</literal>のような行列は
+            
+            <literal>[1 4 2 5 3 6]</literal> のように(列毎に)保存されます. 
+            
+            Javaでは,同じ行列は
+            
+            <literal>[-&gt;[1 2 3] -&gt;[4 5 6]]</literal> 
+            
+            のように(ポインタの配列)として保存されます.
+            
+        </para>
+        
+        <para>
+            
+            method が 'cr' (列-行)の場合, 内部配列 <literal>[1 4 2 5 3 6]</literal> はそのまま指定され, Javaは配列<literal>[-&gt;[1 4] -&gt;[2 5] -&gt;[3 6]]</literal>を作成します.
+            
+        </para>
+        
+        <para>
+            
+            method が 'rc' (行-列)の場合, 配列 <literal>[1 4 2 5 3 6]</literal>
+            
+            は<literal>[1 2 3 4 5 6]</literal> として渡され,
+            
+            <literal>[-&gt;[1 2 3] -&gt;[4 5 6]]</literal>に変換されます.
+            
+        </para>
+        
+        <para>
+            
+            デフォルトで, method は 'cr'に設定されています.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               jconvMatrixMethod()
+               jconvMatrixMethod("cr")
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jautoTranspose">jautoTranspose</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jcreatejar.xml b/scilab/modules/external_objects_java/help/ja_JP/jcreatejar.xml
new file mode 100644 (file)
index 0000000..49ec3f0
--- /dev/null
@@ -0,0 +1,316 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+*  ======================================================================
+*  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+*  Copyright (C) 2013 - Scilab Enterprises - Simon MARCHETTO
+*
+*  This file is distributed under the same license as the Scilab package.
+* =======================================================================
+*
+-->
+
+<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="jcreatejar">
+    
+    <refnamediv>
+        
+        <refname>jcreatejar</refname>
+        
+        <refpurpose>
+            
+            ファイル/ディレクトリからJava ARchive (JAR) を作成
+            
+        </refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            jcreatejar(jarFilePath, filePaths[, rootPath[, manifestFilePath]])
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>jarFilePath</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        JARのファイルパスの説明を有する文字列.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>filePaths</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        JARに含まれる
+                        
+                        入力ファイル/ディレクトリのパスを有する
+                        
+                        行/列文字列行列
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>rootPath</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        オプションの文字列で,
+                        
+                        全ての入力ファイル/ディレクトリのJARにおける
+                        
+                        相対パスを計算する際に使用されるパスを設定.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>manifestFilePath</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        オプション文字列で,
+                        
+                        JARに含まれるmanifestデータのファイルパスを指定.
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            一連の入力ファイル/ディレクトリからJAR (Java ARchive) ファイルを
+            
+            作成します.
+            
+            典型的な使用例は, (Javaクラスを含む) Javaパッケージです.
+            
+            例えば, 関数 
+            
+            <link linkend="ilib_build_jar">ilib_build_jar</link> は
+            
+            Javaソースを有するツールボックスを構築する際に
+            
+            <literal>jcreatejar</literal>を使用します.
+            
+            しかし, <literal>jcreatejar</literal> は任意の型の
+            
+            ファイルを圧縮する際にも使用できます
+            
+            (例えば, ネットワーク経由でファイルを送信する場合).
+            
+        </para>
+        
+        <para>
+            
+            多くの場合, JARファイルは単一のファイルツリーから作成され,
+            
+            JARファイル内のパスツリーは入力パスツリーと同じです.
+            
+            このため, <literal>jcreatejar</literal>に 
+            
+            一連のファイルとディレクトリが指定された場合,
+            
+            これらのファイル/ディレクトリのルートパスを自動的に求め,
+            
+            ルートパスに対して相対的にJAR内のパスを設定します.
+            
+            ルートパスは<literal>rootPath</literal>引数により
+            
+            明示的に指定することも可能です.
+            
+        </para>
+        
+        <para>
+            
+            JARファイルはJARの内容を記述するデータを含むmanifestを有します.
+            
+            JAR内では, このmanifestは<literal>META-INF</literal>フォルダの
+            
+            ファイル<literal>MANIFEST.MF</literal> です.
+            
+            このmanifestファイルは自動的に入力ツリーのこの場所で見つけるか,
+            
+            <literal>manifestFilePath</literal> 引数でmanifestのパスを
+            
+            指定することができます.
+            
+            manifestファイルが見つからない場合,デフォルトのmanifestが
+            
+            JAR内で作成されます.
+            
+            注意: manifestが指定された場合, version 属性を有する必要があります.
+            
+            そうでない場合, JAR内のmanifestは空になります.
+            
+        </para>
+        
+        <para>
+            
+            引数 <literal>jarFilePath</literal> に保存された
+            
+            JARディストリビューションのファイルパスは
+            
+            は拡張子 <literal>.jar</literal>を有している必要があります.
+            
+            出力先のJARファイルが既に存在している場合,
+            
+            上書きされます.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+// Example of jcreatejar: create a JAR containing a Java package
+
+// Create a directory for package sources
+jar_src_path = fullfile(TMPDIR, 'jarPackageExample');
+mkdir(jar_src_path);
+
+// Create a Java source and compiles it to a Java class
+function createJavaClass(class_name, code)
+    class_src_path = fullfile(jar_src_path, class_name + '.java');
+    fd = mopen(class_src_path, 'wt');
+    mputl(code, fd);
+    mclose(fd);
+    jcompile(class_src_path);
+endfunction
+
+// Create a class in the root of the package
+createJavaClass('Class1', msprintf( ..
+    'package jarPackageExample;\n' + ..
+    'public class Class1 {}'));
+
+// Create another class in a folder of the package
+mkdir(fullfile(jar_src_path, 'folder'));
+createJavaClass('folder/Class2', msprintf( ..
+    'package jarPackageExample.folder;\n' + ..
+    'public class Class2 {}'));
+
+// The compiled package is in TMPDIR in JIMS folder
+jar_tmp_path = fullfile(TMPDIR, 'JIMS/bin/jarPackageExample');
+
+// Create the package JAR
+jar_dest_path = fullfile(TMPDIR, 'jarPackageExample.jar');
+jcreatejar(jar_dest_path, jar_tmp_path);
+      ]]></programlisting>
+        
+        <programlisting role="example"><![CDATA[
+// Example of jcreatejar: create a JAR containing images, and add a manifest
+
+// Create the manifest file
+manifest_path = fullfile(TMPDIR, 'MANIFEST.MF');
+manifest = msprintf('Manifest-Version: 1.0\nName: Scilab images');
+fd = mopen(manifest_path, 'wt');
+mputl(manifest, fd);
+mclose(fd);
+
+// Create the JAR
+jar_src_path = fullfile(SCI, 'modules/gui/images/icons');
+jar_dest_path = fullfile(TMPDIR, 'jarImagesExample.jar');
+jcreatejar(jar_dest_path, jar_src_path, '', manifest_path);
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jcompile">jcompile</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="javaclasspath">javaclasspath</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jdeff.xml b/scilab/modules/external_objects_java/help/ja_JP/jdeff.xml
new file mode 100644 (file)
index 0000000..cccd323
--- /dev/null
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="en" xml:id="jdeff">
+    
+    <refnamediv>
+        
+        <refname>jdeff</refname>
+        
+        <refpurpose>Map a static Java method onto a Scilab macro</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>Calling Sequence</title>
+        
+        <synopsis>
+            
+            jdeff(className, javaMethodName, scilabMacroName)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>Parameters</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>className</term>
+                
+                <listitem>
+                    
+                    <para>A string giving the class name</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>javaMethodName</term>
+                
+                <listitem>
+                    
+                    <para>A string giving the method name in the class (the method must be static)</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>scilabMacroName</term>
+                
+                <listitem>
+                    
+                    <para>A string giving the macro name</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>Description</title>
+        
+        <para>
+            
+            Provides a simple way to map a static Java method onto a Scilab macro. The result is automatically unwrapped (if it is possible).
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>Examples</title>
+        
+        <programlisting role="example"><![CDATA[
+               jdeff("java.lang.Double", "parseDouble", "str2number");
+               PI = str2number("3.141592653589");
+               PI - %pi
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>See Also</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link type="scilab" linkend="scilab.help/deff">deff</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>History</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    Function introduced. Based on the 'JIMS' module. The main difference in the behavior compared to the JIMS module is that <link linkend="jautoUnwrap">jautoUnwrap</link> is enabled by default.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jdisableTrace.xml b/scilab/modules/external_objects_java/help/ja_JP/jdisableTrace.xml
new file mode 100644 (file)
index 0000000..d31af44
--- /dev/null
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="en" xml:id="jdisableTrace">
+    
+    <refnamediv>
+        
+        <refname>jdisableTrace</refname>
+        
+        <refpurpose>Stop the trace process.</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>Calling Sequence</title>
+        
+        <synopsis>
+            
+            jdisableTrace()
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>Description</title>
+        
+        <para>
+            
+            Stop the trace process enabled with jenableTrace.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>Examples</title>
+        
+        <programlisting role="example"><![CDATA[
+               jenableTrace(fullpath(TMPDIR + "/../debug_jims.log"));
+               // ...
+               jdisableTrace();
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>See Also</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jenableTrace">jenableTrace</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>History</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    Function introduced. Based on the 'JIMS' module. The main difference in the behavior compared to the JIMS module is that <link linkend="jautoUnwrap">jautoUnwrap</link> is enabled by default.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jenableTrace.xml b/scilab/modules/external_objects_java/help/ja_JP/jenableTrace.xml
new file mode 100644 (file)
index 0000000..ce70c8f
--- /dev/null
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jenableTrace">
+    
+    <refnamediv>
+        
+        <refname>jenableTrace</refname>
+        
+        <refpurpose>
+            
+            デバッグ用にJIMSの内部機能のトレースを有効にする.
+            
+        </refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            jenableTrace(filename)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>filename</term>
+                
+                <listitem>
+                    
+                    <para>ファイル名を指定する文字列</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            JIMSで発生することをトレースすることで
+            
+            デバッグを支援します.
+            
+            これは,作者のデバッグを支援する一般的な方法です.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+              jenableTrace(fullpath(TMPDIR + "/../debug_jims.log"));
+              // ...
+              jdisableTrace();
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jdisableTrace">jdisableTrace</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jexists.xml b/scilab/modules/external_objects_java/help/ja_JP/jexists.xml
new file mode 100644 (file)
index 0000000..be0079c
--- /dev/null
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jexists">
+    
+    <refnamediv>
+        
+        <refname>jexists</refname>
+        
+        <refpurpose>
+            
+            Scilab Java オブジェクトがJava側で有効かどうか確認する
+            
+        </refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            bool = jexists(obj)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>obj</term>
+                
+                <listitem>
+                    
+                    <para>_JObj または _JClass型のmlist</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>bool</term>
+                
+                <listitem>
+                    
+                    <para>論理値</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            対応するJavaオブジェクトが常に有効な場合にtrueを返します.
+            
+            オブジェクトはjremoveで無効化できます.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+              jimport java.lang.Double;
+              d = Double.new("1.23456");
+              jexists(d)
+              jremove d;
+              jexists(d) // 失敗します
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jremove">jremove</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jgetclassname.xml b/scilab/modules/external_objects_java/help/ja_JP/jgetclassname.xml
new file mode 100644 (file)
index 0000000..8267d47
--- /dev/null
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jgetclassname">
+    
+    <refnamediv>
+        
+        <refname>jgetclassname</refname>
+        
+        <refpurpose>指定したオブジェクトのクラス名を返す</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            name = jgetclassname(obj)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>obj</term>
+                
+                <listitem>
+                    
+                    <para>_JObj型のmlist</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>name</term>
+                
+                <listitem>
+                    
+                    <para>Scilab文字列</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            クラス名を取得します.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               s = jwrap("Hello World !");
+               jgetclassname(s)
+
+               jremove s;
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jgetfield.xml b/scilab/modules/external_objects_java/help/ja_JP/jgetfield.xml
new file mode 100644 (file)
index 0000000..c86d185
--- /dev/null
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jgetfield">
+    
+    <refnamediv>
+        
+        <refname>jgetfield</refname>
+        
+        <refpurpose>Javaオブジェクトのフィールドの値を取得</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            jgetfield(object, fieldName [, unwrap])
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>object</term>
+                
+                <listitem>
+                    
+                    <para>_JObj または _JClass型のmlistまたはScilab変数</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>fieldName</term>
+                
+                <listitem>
+                    
+                    <para>フィールド名を指定する文字列</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>unwrap</term>
+                
+                <listitem>
+                    
+                    <para>論理値</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            fieldNameという名前のフィールドの値を取得します.
+            
+            オプションの第三引数がtrueの場合,
+            
+            値は自動的にアンラップされます.
+            
+        </para>
+        
+        <para>
+            
+            この関数は公開javaフィールドにマップされない
+            
+            beansプロパティについても動作します.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               c = jcompile("Test", ["public class Test {";
+                                     "public int field;";
+                                     "public Test(int n) {";
+                                     "field = n;";
+                                     "}";
+                                     "}";]);
+               t = c.new(128);
+               v = jgetfield(t, "field")
+
+               // or easier
+               t.field
+
+               jremove c t v;
+      ]]></programlisting>
+        
+        <programlisting role="example"><![CDATA[
+jimport java.util.Date;
+
+d = Date.new();
+d.minutes, // d.getMinutes()をコールします
+jgetfield(d, "minutes"), // これも d.getMinutes()をコールします
+
+jremove Date d;
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jsetfield">jsetfield</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jgetfields.xml b/scilab/modules/external_objects_java/help/ja_JP/jgetfields.xml
new file mode 100644 (file)
index 0000000..b1f1bf2
--- /dev/null
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jgetfields">
+    
+    <refnamediv>
+        
+        <refname>jgetfields</refname>
+        
+        <refpurpose>Javaオブジェクトのフィールドを全て取得</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            fields = jgetfields(object)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>object</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        _JObjまたは_JClass型のmlistまたはScilab変数
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>fields</term>
+                
+                <listitem>
+                    
+                    <para>文字列の列</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            Javaオブジェクトのフィールドを全て取得します.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               s = "Hello World !"
+               jgetfields(jwrap(s))
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jgetmethods">jgetmethods</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jgetinfo.xml b/scilab/modules/external_objects_java/help/ja_JP/jgetinfo.xml
new file mode 100644 (file)
index 0000000..e1ec19e
--- /dev/null
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2013 - S/E - Sylvestre Ledru
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jgetinfo">
+    
+    <refnamediv>
+        
+        <refname>jgetinfo</refname>
+        
+        <refpurpose>Java仮想マシンに関する情報を返す</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            jinfo = jgetinfo()
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>jinfo</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        Java VMに関する情報を含む文字列行列
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            デバッグ目的で使用できます.
+            
+            jgetinfo関数はJava仮想マシンに関する情報を返します.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+disp(jgetinfo());
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jgetmethods.xml b/scilab/modules/external_objects_java/help/ja_JP/jgetmethods.xml
new file mode 100644 (file)
index 0000000..b31d8db
--- /dev/null
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jgetmethods">
+    
+    <refnamediv>
+        
+        <refname>jgetmethods</refname>
+        
+        <refpurpose>Javaオブジェクトの全メソッドを取得</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            methods = jgetmethods(object)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>object</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        _JObjまたは_JClass型のmlistまたはScilab変数
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>methods</term>
+                
+                <listitem>
+                    
+                    <para>文字列の列</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            Javaオブジェクトの全メソッドを取得します.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               s = "Hello World !"
+               jgetmethods(jwrap(s))
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jgetfields">jgetfields</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jimport.xml b/scilab/modules/external_objects_java/help/ja_JP/jimport.xml
new file mode 100644 (file)
index 0000000..969025e
--- /dev/null
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jimport">
+    
+    <refnamediv>
+        
+        <refname>jimport</refname>
+        
+        <refpurpose>Javaクラスをインポートする</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            jimport(className)
+            
+            cl = jimport(className, isAClassReturned)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>className</term>
+                
+                <listitem>
+                    
+                    <para>クラス名を指定する文字列</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>isAClassReturned</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        クラスオブジェクトを返すかどうかを示す論理値
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            クラスはclasspathにある必要があります
+            
+            (パッケージまたはディレクトリをJava classpathに追加するには,
+            
+            <link type="scilab" linkend="scilab.help/javaclasspath">javaclasspath</link>を使用してください).
+            
+        </para>
+        
+        <para>
+            
+            <literal>jimport("java.lang.String")</literal>の時, 
+            
+            Stringという名前のmlistがScilabスタック上に作成されます.
+            
+            作成されたmlistは_JClassに等価な型を有し,
+            
+            <literal>str = String.new("A Scilab String");</literal>のように
+            
+            新規オブジェクトをインスタンス化する際に使用されます.
+            
+            クラスの静的メソッドをコールすることが可能です.
+            
+        </para>
+        
+        <programlisting role="example"><![CDATA[
+               jimport java.lang.Math;
+               x=Math.random();
+               disp(x);
+               jremove Math x;
+      ]]></programlisting>
+        
+        <para>
+            
+            既存のScilab変数との混用を避けるため,
+            
+            第2引数 isAClassReturned を使用できます
+            
+        </para>
+        
+        <programlisting role="example"><![CDATA[
+                 String = "Hello";
+                 foo = jimport("java.lang.String", %f);
+                 obj = foo.new("A string...")
+                 jremove(obj);
+        ]]></programlisting>
+        
+        <para>
+            
+            <literal>jallowReloadClass</literal>関数で許可された場合,
+            
+            クラスをリロードできます.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               jimport javax.swing.JFrame;
+               jimport javax.swing.JLabel;
+
+               jframe = JFrame.new("Hello World !! Window");
+               jlabel = JLabel.new("A JLabel containing ""Hello Wolrd""");
+               cp = jframe.getContentPane();
+               cp.add(jlabel);
+               jframe.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
+               jframe.pack();
+               jframe.setVisible(%t);
+               jremove jlabel cp jframe;
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link type="scilab" linkend="scilab.help/javaclasspath">javaclasspath</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="jallowClassReloading">jallowClassReloading</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="jremove">jremove</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jinvoke.xml b/scilab/modules/external_objects_java/help/ja_JP/jinvoke.xml
new file mode 100644 (file)
index 0000000..3b96d73
--- /dev/null
@@ -0,0 +1,211 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jinvoke">
+    
+    <refnamediv>
+        
+        <refname>jinvoke</refname>
+        
+        <refpurpose>
+            
+            Javaオブジェクトのメソッドを呼び出す
+            
+        </refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            ret = jinvoke(object, methodName [, arg_1 [, arg_2...]])
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>object</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        _JObjまたは_JClass型のmlistまたはScilab変数
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>methodName</term>
+                
+                <listitem>
+                    
+                    <para>メソッド名を指定する文字列</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>arg_i</term>
+                
+                <listitem>
+                    
+                    <para>メソッド引数用のScilab変数</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            指定したオブジェクトのmethodNameという名前の
+            
+            (静的またはそれ以外の)Javaメソッドをコールします.
+            
+            結果は, _JObj型のmlistとして返されます.
+            
+        </para>
+        
+        <para>
+            
+            ポリモーフィズムはJavaリフレクションにより処理され,
+            
+            autoboxingも処理されます.
+            
+            このため, ArrayList.add(1.234) または ArrayList.add("Hello") 
+            
+            も使用可能です.
+            
+            メソッド Foo.bar(int)が存在する場合, 123 が Scilab double
+            
+            の場合でも, Foo.bar(123) と書くことができます.
+            
+            しかし, Foo.bar(double) が存在する場合には, こちらが
+            
+            選択されます.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               jimport java.lang.System;
+               jimport java.awt.Color;
+               jimport java.lang.String;
+
+               // 非静的メソッド
+               jinvoke("Hello World !!", "length");
+               str = String.new("Hello");
+               jinvoke(str,"substring",1, 4)
+
+
+               // 静的メソッド
+               T = jinvoke(System, "getProperty", "java.version");
+
+               // 混用
+               c = jinvoke(Color, "decode", "123456");
+               cb = jinvoke(c, "brighter");
+
+               jcode = jinvoke(cb, "getRGB");
+
+               jremove System Color T c cb jcode;
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jautoUnwrap">jautoUnwrap</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="jinvoke_db">jinvoke_db</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jinvoke_db.xml b/scilab/modules/external_objects_java/help/ja_JP/jinvoke_db.xml
new file mode 100644 (file)
index 0000000..35f9ed7
--- /dev/null
@@ -0,0 +1,203 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jinvoke_db">
+    
+    <refnamediv>
+        
+        <refname>jinvoke_db</refname>
+        
+        <refpurpose>
+            
+            JavaダイレクトバッファによりJavaオブジェクトのメソッドを
+            
+            呼び出す
+            
+        </refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            ret = jinvoke_db(object, methodName [, varName_1 [, varName_2...]])
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>object</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        _JObjまたは_JClass型のmlistまたはScilab変数
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>methodName</term>
+                
+                <listitem>
+                    
+                    <para>メソッド名を指定する文字列</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>varName_i</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        引数用のScilab変数の名前を指定する文字列
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            指定したオブジェクトのmethodNameという名前の
+            
+            (静的またはそれ以外の)Javaメソッドをコールします.
+            
+            varNameiという名前のScilab変数のポインタを取得し,
+            
+            ダイレクトバッファが作成されます.
+            
+            <emphasis role="bold">注意: 
+                
+                ダイレクトバッファ上にリファレンスを保持する
+                
+                べきではありません.
+                
+                Scilabメモリに直接アクセスするため,何らかの理由で
+                
+                Scilab変数を移動したり破棄したりする場合,
+                
+                意図しない読み書きが発生するリスクがあります!
+                
+                問題を回避するには,各バッファのリミットに
+                
+                0を設定してください.
+                
+            </emphasis>
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               c = jcompile("TestDirectBuffer",["import java.nio.DoubleBuffer;";
+                                                "public class TestDirectBuffer {";
+                                                "public static void increment(DoubleBuffer x) {";
+                                                "for (int i = 0; i < x.capacity(); i++) x.put(i, x.get(i) + 1);";
+                                                "}";
+                                                "}"])
+               a = 1:10000;
+               b = a + 1; // only used to compare with the following...
+               jinvoke_db(c, "increment", "a");
+               and(a==b)
+
+               jremove c;
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jinvoke">jinvoke</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jnewInstance.xml b/scilab/modules/external_objects_java/help/ja_JP/jnewInstance.xml
new file mode 100644 (file)
index 0000000..90f28f3
--- /dev/null
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jnewInstance">
+    
+    <refnamediv>
+        
+        <refname>jnewInstance</refname>
+        
+        <refpurpose>Javaクラスの新規インスタンスを作成</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            obj = jnewInstance(class [, arg_1 [, arg_2... ]])
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>class</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        _JClass型のmlistまたはクラス名を含む文字列
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>arg_i</term>
+                
+                <listitem>
+                    
+                    <para>Scilabデータまたは_JObj型のmlist</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>obj</term>
+                
+                <listitem>
+                    
+                    <para>_JObj型のmlist</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            <link linkend="jimport">jimport</link>で取得したJavaクラス
+            
+            の新規インスタンスを作成します.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               jimport java.io.File;
+               jimport java.lang.System;
+
+               a = System.getProperty("java.io.tmpdir");
+               s = jnewInstance(File, a);
+               s.exists() // true
+
+               str = jnewInstance("java.lang.String", "Hello");
+               b = str.substring(1, 4)
+
+               jremove Date System s str b a;
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="new">new</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="jimport">jimport</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jnull.xml b/scilab/modules/external_objects_java/help/ja_JP/jnull.xml
new file mode 100644 (file)
index 0000000..439d899
--- /dev/null
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jnull">
+    
+    <refnamediv>
+        
+        <refname>jnull</refname>
+        
+        <refpurpose>Java nullオブジェクトのScilab版.</refpurpose>
+        
+    </refnamediv>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            nullオブジェクト用のラッパーです.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+              jnull
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jremove.xml b/scilab/modules/external_objects_java/help/ja_JP/jremove.xml
new file mode 100644 (file)
index 0000000..4148c54
--- /dev/null
@@ -0,0 +1,159 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jremove">
+    
+    <refnamediv>
+        
+        <refname>jremove</refname>
+        
+        <refpurpose>Java側のJavaオブジェクトを削除</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            jremove()
+            
+            jremove(varName_1 [, varName_2, ...])
+            
+            jremove varName_1 [varName_2 ...]
+            
+            jremove(object_1 [, object_2 ...])
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>varName_i</term>
+                
+                <listitem>
+                    
+                    <para>変数名を指定する文字列</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>object_i</term>
+                
+                <listitem>
+                    
+                    <para>_JObj または _JClass型のmlist.</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            jremoveに引数を指定しない場合, Java側の
+            
+            全ての変数が削除され, ガーベッジコレクションがコールされます.
+            
+        </para>
+        
+        <para>
+            
+            そうでない場合, 指定した変数がJava側で削除されます.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               jimport java.lang.String;
+
+               s = String.new("Hello world");
+               jremove s;
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jexists">jexists</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jsetfield.xml b/scilab/modules/external_objects_java/help/ja_JP/jsetfield.xml
new file mode 100644 (file)
index 0000000..6daeda2
--- /dev/null
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jsetfield">
+    
+    <refnamediv>
+        
+        <refname>jsetfield</refname>
+        
+        <refpurpose>Javaオブジェクトのフィールドを設定</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            jsetfield(object, fieldName, value)
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>object</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        _JObjまたは_JClass型のmlistまたはScilab変数の
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>fieldName</term>
+                
+                <listitem>
+                    
+                    <para>フィールド名を指定する文字列</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>value</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        Scilab変数または_JObj型のmlistで,
+                        
+                        新しいフィールの値
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            fieldNameという名前のフィールドに指定した値を設定します.
+            
+        </para>
+        
+        <para>
+            
+            この関数は,公開javaフィールドにマップされない
+            
+            beansプロパティについても動作します.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               c = jcompile("Test", ["public class Test {";
+                                     "public int field;";
+                                     "public Test(int n) {";
+                                     "field = n;";
+                                     "}";
+                                     "}";]);
+               t = c.new(128);
+               t.field
+               jsetfield(t, "field", 256);
+               t.field
+
+               // But it is easier to use...
+               t.field = 512;
+               t.field
+               jremove c t;
+      ]]></programlisting>
+        
+        <programlisting role="example"><![CDATA[
+jimport java.util.Date;
+
+d = Date.new();
+d.minutes = 3; // will call d.setMinutes(3);
+jsetfield(d, "minutes", 3); // will call d.setMinutes(3);
+
+jremove Date d;
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jgetfield">jgetfield</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/junwrap.xml b/scilab/modules/external_objects_java/help/ja_JP/junwrap.xml
new file mode 100644 (file)
index 0000000..18091ff
--- /dev/null
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="junwrap">
+    
+    <refnamediv>
+        
+        <refname>junwrap</refname>
+        
+        <refpurpose>JavaオブジェクトをScilabネーティブ型に変換</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            [var_1, var_2, ...] = junwrap(obj_1 [, obj_2 [, ...]])
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>obj_i</term>
+                
+                <listitem>
+                    
+                    <para>_JObj型のmlist</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>var_i</term>
+                
+                <listitem>
+                    
+                    <para>Scilab変数</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            ネーティブJavaオブジェクトをネーティブScilabオブジェクトに
+            
+            変換します.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               jimport java.lang.String;
+
+               s = String.new("Hello JIMS !!");
+               s1 = s.toUpperCase();
+               s2 = s.toLowerCase()
+               typeof(s1), typeof(s2)
+               typeof(jwrap(s1))
+               typeof(jwrap(s2))
+
+               jremove String s s1 s2
+      ]]></programlisting>
+        
+        <programlisting role="example"><![CDATA[
+               jautoUnwrap(%f)
+               jimport java.io.File;
+
+               f = File.new(SCI);
+               jfiles = f.list(), // a java object due to a disabled autoUnwrap
+               files = junwrap(jfiles); // the corresponding scilab vector
+               
+               jremove File f jfiles
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="junwraprem">junwraprem</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="jwrap">jwrap</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="jautoUnwrap">jautoUnwrap</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/junwraprem.xml b/scilab/modules/external_objects_java/help/ja_JP/junwraprem.xml
new file mode 100644 (file)
index 0000000..7219e79
--- /dev/null
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="junwraprem">
+    
+    <refnamediv>
+        
+        <refname>junwraprem</refname>
+        
+        <refpurpose>
+            
+            JavaオブジェクトをScilabネーティブ型に変換し,Java側から削除
+            
+        </refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            [var_1, var_2, ...] = junwraprem(obj_1 [, obj_2 [, ...]])
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>obj_i</term>
+                
+                <listitem>
+                    
+                    <para>_JObj型のmlist</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>var_i</term>
+                
+                <listitem>
+                    
+                    <para>Scilab変数</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            ネーティブJavaオブジェクトをScilabのネーティブオブジェクトに
+            
+            変換し, Javaから削除します.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               jautoUnwrap(%f);
+               jimport java.lang.String;
+
+               s = String.new("Hello JIMS !!");
+               s1 = s.toUpperCase();
+               s2 = s.toLowerCase();
+               [S1 S2] = junwraprem(s1, s2)
+
+               jremove s
+               jautoUnwrap(%t);
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="junwrap">junwrap</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="jwrap">jwrap</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jvoid.xml b/scilab/modules/external_objects_java/help/ja_JP/jvoid.xml
new file mode 100644 (file)
index 0000000..3d4e658
--- /dev/null
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jvoid">
+    
+    <refnamediv>
+        
+        <refname>jvoid</refname>
+        
+        <refpurpose>引数なしの関数用</refpurpose>
+        
+    </refnamediv>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            a.b() 表記によりバグが発生し得る場合,
+            
+            これを回避するために, a.b(jvoid) を使用する方が良いでしょう.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+        jimport java.lang.String;
+
+        s = String.new(jvoid);
+        jgetclassname(s)
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jwrap.xml b/scilab/modules/external_objects_java/help/ja_JP/jwrap.xml
new file mode 100644 (file)
index 0000000..60aab22
--- /dev/null
@@ -0,0 +1,221 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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">
+    
+    <refnamediv>
+        
+        <refname>jwrap</refname>
+        
+        <refpurpose>
+            
+            Scilab変数をJava変数にラップする
+            
+        </refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            [jw_1, jw_2, ...] = jwrap(sc_1 [, sc_2 [, sc_3 [,... ]]])
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>sc_i</term>
+                
+                <listitem>
+                    
+                    <para>Scilab変数</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>jw_i</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        指定したScilab変数を
+                        
+                        Javaラッピングしたもの
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            Scilab変数をJava変数にラップします.
+            
+            現時点では,以下のプリミティブな型のみがラップできます:
+            
+            <simplelist type="inline">
+                
+                <member>定数 (複素数でない実数) は double;</member>
+                
+                <member>文字列は String;</member>
+                
+                <member>論理値は boolean;</member>
+                
+                <member>int8 は byte;</member>
+                
+                <member>uint8 は short;</member>
+                
+                <member>int16 は short;</member>
+                
+                <member>uint16 は int;</member>
+                
+                <member>int32 は int;</member>
+                
+                <member>uint32 は long</member>に変換されます.
+                
+            </simplelist>
+            
+            行列は配列にラップされます.
+            
+            例えば, 3x4のint8行列は,
+            
+            <link linkend="jconvMatrixMethod">jconvMatrixMethod</link>
+            
+            コマンドにより変更可能な変換法により,
+            
+            <literal>byte[3][4]</literal> または <literal>byte[4][3]</literal>
+            
+            にラップされます.
+            
+            添字の範囲はJavaと同じであることに注意してください,
+            
+            このため,<literal>a(0)</literal> は有効です.
+            
+        </para>
+        
+        <para>
+            
+            <link linkend="jwrapinfloat">jwrapinfloat</link> 
+            
+            および <link linkend="jwrapinchar">jwrapinchar</link>により,
+            
+            それぞれJava型floatまたはcharにラップすることも可能です.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               [a,b,c] = jwrap(1, [1 2;3 4], ["hello" "world"]);
+               a, b(1, 1), c(1)
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jconvMatrixMethod">jconvMatrixMethod</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="jwrapinfloat">jwrapinfloat</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="jwrapinchar">jwrapinchar</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="junwrap">junwrap</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jwrapinchar.xml b/scilab/modules/external_objects_java/help/ja_JP/jwrapinchar.xml
new file mode 100644 (file)
index 0000000..a4a8667
--- /dev/null
@@ -0,0 +1,164 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jwrapinchar">
+    
+    <refnamediv>
+        
+        <refname>jwrapinchar</refname>
+        
+        <refpurpose>
+            
+            Scilab uint16行列をJava char多次元配列にラップ.
+            
+        </refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            [jw_1, jw_2, ...] = jwrapinchar(sc_1 [, sc_2 [, sc_3 [,... ]]])
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>sc_i</term>
+                
+                <listitem>
+                    
+                    <para>Scilab変数</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>jw_i</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        指定したScilab変数をcharにJavaラッピングしたもの
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            Scilabでは, uint16データ型はshortにラップされてきましたが
+            
+            jwrapincharによりcharにラップすることも可能です.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               c = jwrapinchar(uint16(123456));
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jwrap">jwrap</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="jwrapinfloat">jwrapinfloat</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="junwrap">junwrap</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/jwrapinfloat.xml b/scilab/modules/external_objects_java/help/ja_JP/jwrapinfloat.xml
new file mode 100644 (file)
index 0000000..cc9c2a3
--- /dev/null
@@ -0,0 +1,164 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="jwrapinfloat">
+    
+    <refnamediv>
+        
+        <refname>jwrapinfloat</refname>
+        
+        <refpurpose>
+            
+            Scilab double行列をJava float多次元配列にラップ.
+            
+        </refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            [jw_1, jw_2, ...] = jwrapinfloat(sc_1 [, sc_2 [, sc_3 [,... ]]])
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>sc_i</term>
+                
+                <listitem>
+                    
+                    <para>Scilab変数</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>jw_i</term>
+                
+                <listitem>
+                    
+                    <para>
+                        
+                        指定したScilab変数をfloatにJavaラッピングしたもの
+                        
+                    </para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            floatデータ型はScilabに存在しないため,
+            
+            この関数によりdoubleをfloatにラップすることができます.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+               f = jwrapinfloat(%pi);
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jwrap">jwrap</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="jwrapinchar">jwrapinchar</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="junwrap">junwrap</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+
diff --git a/scilab/modules/external_objects_java/help/ja_JP/new.xml b/scilab/modules/external_objects_java/help/ja_JP/new.xml
new file mode 100644 (file)
index 0000000..cd6e0c3
--- /dev/null
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
+*
+* This file must be used under the terms of the CeCILL.
+* This source file is licensed as described in the file COPYING, which
+* you should have received as part of this distribution.  The terms
+* are also available at
+* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+*
+*
+-->
+
+<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="new">
+    
+    <refnamediv>
+        
+        <refname>new</refname>
+        
+        <refpurpose>Javaクラスの新規インスタンスを作成</refpurpose>
+        
+    </refnamediv>
+    
+    <refsynopsisdiv>
+        
+        <title>呼び出し手順</title>
+        
+        <synopsis>
+            
+            class.new([arg1, [, arg2, ...]])
+            
+        </synopsis>
+        
+    </refsynopsisdiv>
+    
+    <refsection>
+        
+        <title>パラメータ</title>
+        
+        <variablelist>
+            
+            <varlistentry>
+                
+                <term>class</term>
+                
+                <listitem>
+                    
+                    <para>_JClass型のmlist</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+            <varlistentry>
+                
+                <term>argi</term>
+                
+                <listitem>
+                    
+                    <para>Scilabデータまたは_JObj型のmlist</para>
+                    
+                </listitem>
+                
+            </varlistentry>
+            
+        </variablelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>説明</title>
+        
+        <para>
+            
+            <link linkend="jimport">jimport</link>で取得したJavaクラスの
+            
+            新規インスタンスを作成します.
+            
+        </para>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>例</title>
+        
+        <programlisting role="example"><![CDATA[
+        jimport java.lang.String;
+        myString=String.new("The Java Interaction Mechanism in Scilab (JIMS) provides a native-level interface between the two Virtual Machines.")
+        myString.concat(" foo")
+        myString.contains("Scilab") // True
+        myString.contains("Matrix") // False
+      ]]></programlisting>
+        
+    </refsection>
+    
+    <refsection role="see also">
+        
+        <title>参照</title>
+        
+        <simplelist type="inline">
+            
+            <member>
+                
+                <link linkend="jnewInstance">jnewInstance</link>
+                
+            </member>
+            
+            <member>
+                
+                <link linkend="jimport">jimport</link>
+                
+            </member>
+            
+        </simplelist>
+        
+    </refsection>
+    
+    <refsection>
+        
+        <title>履歴</title>
+        
+        <revhistory>
+            
+            <revision>
+                
+                <revnumber>5.5.0</revnumber>
+                
+                <revremark>
+                    
+                    関数が導入されました. 'JIMS'モジュールに基づきます.
+                    
+                    JIMSモジュールとの動作上の主な違いは,
+                    
+                    <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
+                    
+                    有効になっていることです.
+                    
+                </revremark>
+                
+            </revision>
+            
+        </revhistory>
+        
+    </refsection>
+    
+</refentry>
+
+
+