org.jagatoo.loaders.models.collada.stax
Class XMLLibraryAnimations

java.lang.Object
  extended by org.jagatoo.loaders.models.collada.stax.XMLLibraryAnimations

public class XMLLibraryAnimations
extends java.lang.Object

A library of animations. Child of COLLADA.


Field Summary
 java.util.HashMap<java.lang.String,XMLAnimation> animations
          A map of all animations, which is filled by the readAnimations() method just after the animations ArrayList has been written.
 
Constructor Summary
XMLLibraryAnimations()
           
 
Method Summary
 void parse(javax.xml.stream.XMLStreamReader parser)
           
 void readAnimations()
          Called just after animations has been read, fill the animationMap.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

animations

public java.util.HashMap<java.lang.String,XMLAnimation> animations
A map of all animations, which is filled by the readAnimations() method just after the animations ArrayList has been written. key = ID value = Animation

Constructor Detail

XMLLibraryAnimations

public XMLLibraryAnimations()
Method Detail

readAnimations

public void readAnimations()
Called just after animations has been read, fill the animationMap.


parse

public void parse(javax.xml.stream.XMLStreamReader parser)
           throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException