org.jdesktop.wonderland.common.utils.jaxb
Class QuaternionAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<QuaternionAdapter.QuaternionHandler,com.jme.math.Quaternion>
      extended by org.jdesktop.wonderland.common.utils.jaxb.QuaternionAdapter

public class QuaternionAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<QuaternionAdapter.QuaternionHandler,com.jme.math.Quaternion>

Author:
paulby

Nested Class Summary
static class QuaternionAdapter.QuaternionHandler
           
 
Constructor Summary
QuaternionAdapter()
           
 
Method Summary
 QuaternionAdapter.QuaternionHandler marshal(com.jme.math.Quaternion q)
           
 com.jme.math.Quaternion unmarshal(QuaternionAdapter.QuaternionHandler q)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuaternionAdapter

public QuaternionAdapter()
Method Detail

unmarshal

public com.jme.math.Quaternion unmarshal(QuaternionAdapter.QuaternionHandler q)
                                  throws java.lang.Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<QuaternionAdapter.QuaternionHandler,com.jme.math.Quaternion>
Throws:
java.lang.Exception

marshal

public QuaternionAdapter.QuaternionHandler marshal(com.jme.math.Quaternion q)
                                            throws java.lang.Exception
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<QuaternionAdapter.QuaternionHandler,com.jme.math.Quaternion>
Throws:
java.lang.Exception


Open Wonderland - http://openwonderland.org