com.jme3.export.xml
クラス XMLImporter

java.lang.Object
  上位を拡張 com.jme3.export.xml.XMLImporter
すべての実装されたインタフェース:
AssetLoader, JmeImporter

public class XMLImporter
extends java.lang.Object
implements JmeImporter

Part of the jME XML IO system as introduced in the google code jmexml project.


コンストラクタの概要
XMLImporter()
           
 
メソッドの概要
 AssetManager getAssetManager()
           
 InputCapsule getCapsule(Savable id)
           
 int getFormatVersion()
          Returns the version number written in the header of the J3O/XML file.
static XMLImporter getInstance()
           
 java.lang.Object load(AssetInfo info)
          Loads asset from the given input stream, parsing it into an application-usable object.
 Savable load(java.io.File f)
           
 Savable load(java.io.InputStream f)
           
 void setAssetManager(AssetManager assetManager)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

XMLImporter

public XMLImporter()
メソッドの詳細

getFormatVersion

public int getFormatVersion()
インタフェース JmeImporter の記述:
Returns the version number written in the header of the J3O/XML file.

定義:
インタフェース JmeImporter 内の getFormatVersion
戻り値:
Global version number for the file

getAssetManager

public AssetManager getAssetManager()
定義:
インタフェース JmeImporter 内の getAssetManager

setAssetManager

public void setAssetManager(AssetManager assetManager)

load

public java.lang.Object load(AssetInfo info)
                      throws java.io.IOException
インタフェース AssetLoader の記述:
Loads asset from the given input stream, parsing it into an application-usable object.

定義:
インタフェース AssetLoader 内の load
戻り値:
An object representing the resource.
例外:
java.io.IOException - If an I/O error occurs while loading

load

public Savable load(java.io.File f)
             throws java.io.IOException
例外:
java.io.IOException

load

public Savable load(java.io.InputStream f)
             throws java.io.IOException
例外:
java.io.IOException

getCapsule

public InputCapsule getCapsule(Savable id)
定義:
インタフェース JmeImporter 内の getCapsule

getInstance

public static XMLImporter getInstance()