org.ow2.orchestra.util
Class JAXBUtils.JAXBSerializableAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<ByteArrayWrapper,Serializable>
      extended by org.ow2.orchestra.util.JAXBUtils.JAXBSerializableAdapter
Enclosing class:
JAXBUtils

public static class JAXBUtils.JAXBSerializableAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<ByteArrayWrapper,Serializable>

Author:
Guillaume Porcher

Constructor Summary
JAXBUtils.JAXBSerializableAdapter()
           
 
Method Summary
 ByteArrayWrapper marshal(Serializable value)
           
 Serializable unmarshal(ByteArrayWrapper value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBUtils.JAXBSerializableAdapter

public JAXBUtils.JAXBSerializableAdapter()
Method Detail

unmarshal

public Serializable unmarshal(ByteArrayWrapper value)
                       throws IOException,
                              ClassNotFoundException
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<ByteArrayWrapper,Serializable>
Throws:
IOException
ClassNotFoundException

marshal

public ByteArrayWrapper marshal(Serializable value)
                         throws IOException,
                                ClassNotFoundException
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<ByteArrayWrapper,Serializable>
Throws:
IOException
ClassNotFoundException


Copyright © 2011 OW2 Consortium. All Rights Reserved.