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

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

public class XMLInput
extends java.lang.Object

An Input contains instructions on how to read


Nested Class Summary
static class XMLInput.Semantic
           
 
Field Summary
 int offset
           
 java.lang.String semantic
           
 java.lang.String source
           
 
Constructor Summary
XMLInput()
           
 
Method Summary
 void parse(javax.xml.stream.XMLStreamReader parser)
           
 XMLInput.Semantic recognizeSemantic()
          Try to recognize the semantic name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

offset

public int offset

semantic

public java.lang.String semantic

source

public java.lang.String source
Constructor Detail

XMLInput

public XMLInput()
Method Detail

recognizeSemantic

public XMLInput.Semantic recognizeSemantic()
Try to recognize the semantic name. If unknown, return Semantic.OTHER

Returns:
the semantic

parse

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