com.jme.util.export.binary
Interface BinaryLoaderModule

All Known Implementing Classes:
BinaryAbstractCameraModule, BinaryBlendStateModule, BinaryClipStateModule, BinaryColorMaskStateModule, BinaryCullStateModule, BinaryFogStateModule, BinaryFragmentProgramStateModule, BinaryGLSLShaderObjectsStateModule, BinaryLightStateModule, BinaryMaterialStateModule, BinaryShadeStateModule, BinaryStencilStateModule, BinaryTextureStateModule, BinaryVertexProgramStateModule, BinaryWireframeStateModule, BinaryZBufferStateModule

public interface BinaryLoaderModule

BinaryLoaderModule defines two methods, the first provides a key value to look for to issue the load command. This key is typically (and should be) the class name the loader is responsible for. While load handles creating a new instance of the class.

Author:
mpowell

Method Summary
 java.lang.String getKey()
           
 Savable load(InputCapsule inputCapsule)
          The inputCapsule parameter is not used at all.
 

Method Detail

getKey

java.lang.String getKey()

load

Savable load(InputCapsule inputCapsule)
             throws java.io.IOException
The inputCapsule parameter is not used at all. The DOMOutputStream class calls this method with a null parameter, so if you make use of the parameter, either handle null 'inputCapsule' or rearrange the class hierarchy to satisfy DOMOuptutStream.

Parameters:
inputCapsule - A value which is currently ignored by all implementation classes.
Throws:
java.io.IOException


Copyright 2003-2009 jMonkeyEngine