com.jme.scene.model.XMLparser
Class LoaderNode

java.lang.Object
  extended bycom.jme.scene.Spatial
      extended bycom.jme.scene.Node
          extended bycom.jme.scene.model.XMLparser.LoaderNode
All Implemented Interfaces:
java.io.Serializable

public class LoaderNode
extends Node

Started Date: Jul 3, 2004

This node is created to store xml or jme files signaled inside a file. It stores how the file is loaded/created so that it can be easily saved and recreated the same way.

Author:
Jack Lindamood
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.jme.scene.Node
children
 
Fields inherited from class com.jme.scene.Spatial
currentStates, defaultStateList, forceCull, forceView, frustrumIntersects, geometricalControllers, lightCombineMode, localRotation, localScale, localTranslation, name, parent, queueDistance, renderQueueMode, renderStateList, textureCombineMode, worldBound, worldRotation, worldScale, worldTranslation, zOrder
 
Constructor Summary
LoaderNode(java.lang.String name)
           
 
Method Summary
 void loadFromClassLoader(java.lang.String type, java.lang.String classLoaderPath, java.util.HashMap parentAttributes)
           
 void loadFromFilePath(java.lang.String type, java.lang.String filePath, java.util.HashMap parentAttributes)
           
 void loadFromURLPath(java.lang.String type, java.net.URL urlPath, java.util.HashMap parentAttributes)
           
 void setProperties(JmeBinaryReader jbr, java.util.HashMap parentAttributes)
           
 
Methods inherited from class com.jme.scene.Node
applyRenderState, attachChild, detachAllChildren, detachChild, detachChildAt, detachChildNamed, draw, drawBounds, findCollisions, findPick, getChild, getChild, getChildren, getQuantity, hasChild, hasCollision, putClone, setChild, setForceView, updateCollisionTree, updateWorldBound, updateWorldData
 
Methods inherited from class com.jme.scene.Spatial
addController, applyDefaultStates, calculateCollisions, calculatePick, clearCurrentState, clearCurrentStates, clearRenderState, getController, getControllers, getCurrentState, getLastFrustumIntersection, getLightCombineMode, getLocalRotation, getLocalScale, getLocalTranslation, getName, getParent, getRenderQueueMode, getRenderStateList, getTextureCombineMode, getWorldBound, getWorldRotation, getWorldScale, getWorldTranslation, getZOrder, isForceCulled, isForceView, onDraw, onDrawBounds, propagateBoundToRoot, propagateStatesFromRoot, removeController, removeFromParent, setForceCull, setLightCombineMode, setLocalRotation, setLocalRotation, setLocalScale, setLocalScale, setLocalTranslation, setName, setParent, setRenderQueueMode, setRenderState, setTextureCombineMode, setWorldBound, setZOrder, toString, updateGeometricState, updateRenderState, updateRenderState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoaderNode

public LoaderNode(java.lang.String name)
Method Detail

loadFromFilePath

public void loadFromFilePath(java.lang.String type,
                             java.lang.String filePath,
                             java.util.HashMap parentAttributes)
                      throws java.io.IOException
Throws:
java.io.IOException

loadFromURLPath

public void loadFromURLPath(java.lang.String type,
                            java.net.URL urlPath,
                            java.util.HashMap parentAttributes)
                     throws java.io.IOException
Throws:
java.io.IOException

loadFromClassLoader

public void loadFromClassLoader(java.lang.String type,
                                java.lang.String classLoaderPath,
                                java.util.HashMap parentAttributes)
                         throws java.io.IOException
Throws:
java.io.IOException

setProperties

public void setProperties(JmeBinaryReader jbr,
                          java.util.HashMap parentAttributes)