Package org.opennms.core.xml
Class ByteBufferXmlAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<byte[],java.nio.ByteBuffer>
-
- org.opennms.core.xml.ByteBufferXmlAdapter
-
public class ByteBufferXmlAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<byte[],java.nio.ByteBuffer>
-
-
Constructor Summary
Constructors Constructor Description ByteBufferXmlAdapter()
-
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)
-
-
-
Method Detail
-
unmarshal
public java.nio.ByteBuffer unmarshal(byte[] bytes)
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<byte[],java.nio.ByteBuffer>
-
marshal
public byte[] marshal(java.nio.ByteBuffer bb)
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<byte[],java.nio.ByteBuffer>
-
-