Class XMLImporter

java.lang.Object
com.jme3.export.xml.XMLImporter
All Implemented Interfaces:
com.jme3.asset.AssetLoader, com.jme3.export.JmeImporter

public class XMLImporter extends Object implements com.jme3.export.JmeImporter
Part of the jME XML IO system as introduced in the Google Code jmexml project.
Author:
Kai Rabien (hevee) - original author of the code.google.com jmexml project, Doug Daniels (dougnukem) - adjustments for jME 2.0 and Java 1.5
  • Constructor Details

    • XMLImporter

      public XMLImporter()
  • Method Details

    • getFormatVersion

      public int getFormatVersion()
      Specified by:
      getFormatVersion in interface com.jme3.export.JmeImporter
    • getAssetManager

      public com.jme3.asset.AssetManager getAssetManager()
      Specified by:
      getAssetManager in interface com.jme3.export.JmeImporter
    • setAssetManager

      public void setAssetManager(com.jme3.asset.AssetManager assetManager)
    • load

      public Object load(com.jme3.asset.AssetInfo info) throws IOException
      Specified by:
      load in interface com.jme3.asset.AssetLoader
      Throws:
      IOException
    • load

      public com.jme3.export.Savable load(File f) throws IOException
      Throws:
      IOException
    • load

      public com.jme3.export.Savable load(InputStream f) throws IOException
      Throws:
      IOException
    • getCapsule

      public com.jme3.export.InputCapsule getCapsule(com.jme3.export.Savable id)
      Specified by:
      getCapsule in interface com.jme3.export.JmeImporter
    • getInstance

      public static XMLImporter getInstance()