be.saltwater.jaqel.creature.loaders
Class XMLAnimationLoader

java.lang.Object
  extended bybe.saltwater.jaqel.loaders.ModelLoader
      extended bybe.saltwater.jaqel.creature.loaders.XMLAnimationLoader
All Implemented Interfaces:
AnimationLoader

public class XMLAnimationLoader
extends ModelLoader
implements AnimationLoader

Author:
Bruno Windels
See Also:
TileSetLoader

Constructor Summary
XMLAnimationLoader()
           
 
Method Summary
 CreatureAnimation load(java.lang.String filename)
          Implementation of AnimationLoader.load for this format (XML)
 
Methods inherited from class be.saltwater.jaqel.loaders.ModelLoader
loadAppearance, loadGeometryArray, loadScene, loadShape
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLAnimationLoader

public XMLAnimationLoader()
                   throws javax.xml.parsers.ParserConfigurationException
Method Detail

load

public CreatureAnimation load(java.lang.String filename)
                       throws java.io.IOException,
                              IllegalFormatException
Implementation of AnimationLoader.load for this format (XML)

Specified by:
load in interface AnimationLoader
Throws:
java.io.IOException - When there was a problem reading the specified file.
IllegalFormatException - When the format of the file is not as expected.