com.jme3.export.xml
クラス XMLExporter

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

public class XMLExporter
extends java.lang.Object
implements JmeExporter

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


フィールドの概要
static java.lang.String ATTRIBUTE_SIZE
           
static java.lang.String ELEMENT_FLOATBUFFER
           
static java.lang.String ELEMENT_KEY
           
static java.lang.String ELEMENT_MAPENTRY
           
static java.lang.String ELEMENT_VALUE
           
 
コンストラクタの概要
XMLExporter()
           
 
メソッドの概要
 OutputCapsule getCapsule(Savable object)
          Returns the OutputCapsule for the given savable object.
static XMLExporter getInstance()
           
 boolean save(Savable object, java.io.File f)
          Export the Savable to a file.
 boolean save(Savable object, java.io.OutputStream f)
          Export the Savable to an OutputStream.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

ELEMENT_MAPENTRY

public static final java.lang.String ELEMENT_MAPENTRY
関連項目:
定数フィールド値

ELEMENT_KEY

public static final java.lang.String ELEMENT_KEY
関連項目:
定数フィールド値

ELEMENT_VALUE

public static final java.lang.String ELEMENT_VALUE
関連項目:
定数フィールド値

ELEMENT_FLOATBUFFER

public static final java.lang.String ELEMENT_FLOATBUFFER
関連項目:
定数フィールド値

ATTRIBUTE_SIZE

public static final java.lang.String ATTRIBUTE_SIZE
関連項目:
定数フィールド値
コンストラクタの詳細

XMLExporter

public XMLExporter()
メソッドの詳細

save

public boolean save(Savable object,
                    java.io.OutputStream f)
             throws java.io.IOException
インタフェース JmeExporter の記述:
Export the Savable to an OutputStream.

定義:
インタフェース JmeExporter 内の save
パラメータ:
object - The savable to export
f - The output stream
戻り値:
Always returns true. If an error occurs during export, an exception is thrown
例外:
java.io.IOException - If an io exception occurs during export

save

public boolean save(Savable object,
                    java.io.File f)
             throws java.io.IOException
インタフェース JmeExporter の記述:
Export the Savable to a file.

定義:
インタフェース JmeExporter 内の save
パラメータ:
object - The savable to export
f - The file to export to
戻り値:
Always returns true. If an error occurs during export, an exception is thrown
例外:
java.io.IOException - If an io exception occurs during export

getCapsule

public OutputCapsule getCapsule(Savable object)
インタフェース JmeExporter の記述:
Returns the OutputCapsule for the given savable object.

定義:
インタフェース JmeExporter 内の getCapsule
パラメータ:
object - The object to retrieve an output capsule for.
戻り値:

getInstance

public static XMLExporter getInstance()