Class ByteBufferXmlAdapter


  • public class ByteBufferXmlAdapter
    extends javax.xml.bind.annotation.adapters.XmlAdapter<byte[],​java.nio.ByteBuffer>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] marshal​(java.nio.ByteBuffer bb)  
      java.nio.ByteBuffer unmarshal​(byte[] bytes)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ByteBufferXmlAdapter

        public ByteBufferXmlAdapter()
    • Method Detail

      • unmarshal

        public java.nio.ByteBuffer unmarshal​(byte[] bytes)
        Specified by:
        unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<byte[],​java.nio.ByteBuffer>
      • marshal

        public byte[] marshal​(java.nio.ByteBuffer bb)
        Specified by:
        marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<byte[],​java.nio.ByteBuffer>