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

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

public class XMLNode
extends java.lang.Object

A Node can have a Transform and can instance geometries/controllers (for skeletal animation). Child of VisualScene or Node.


Nested Class Summary
static class XMLNode.Type
           
 
Field Summary
 XMLAsset asset
           
 java.util.ArrayList<XMLNode> childrenList
           
 java.lang.String id
           
 java.util.ArrayList<XMLInstanceController> instanceControllers
           
 java.util.ArrayList<XMLInstanceGeometry> instanceGeometries
           
 java.util.ArrayList<java.lang.String> layers
           
 XMLMatrix4x4 matrix
           
 java.lang.String name
           
 java.lang.String sid
           
 XMLNode.Type type
           
 
Constructor Summary
XMLNode()
           
 
Method Summary
 void applyRotate(java.lang.String str)
           
 void applyScale(java.lang.String str)
           
 void applyTranslate(java.lang.String str)
           
 void parse(javax.xml.stream.XMLStreamReader parser)
           
static java.util.ArrayList<java.lang.String> parseLayerList(java.lang.String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

layers

public java.util.ArrayList<java.lang.String> layers

sid

public java.lang.String sid

asset

public XMLAsset asset

type

public XMLNode.Type type

id

public java.lang.String id

name

public java.lang.String name

matrix

public XMLMatrix4x4 matrix

instanceGeometries

public java.util.ArrayList<XMLInstanceGeometry> instanceGeometries

instanceControllers

public java.util.ArrayList<XMLInstanceController> instanceControllers

childrenList

public java.util.ArrayList<XMLNode> childrenList
Constructor Detail

XMLNode

public XMLNode()
Method Detail

parseLayerList

public static java.util.ArrayList<java.lang.String> parseLayerList(java.lang.String str)

applyTranslate

public void applyTranslate(java.lang.String str)

applyRotate

public void applyRotate(java.lang.String str)

applyScale

public void applyScale(java.lang.String str)

parse

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