public class UUIDXmlAdapter extends XmlAdapter<byte[],UUID>
This works because JAXB is representing bytes by default as Base64 in xml.
UUIDXmlAdapter()
byte[]
marshal(UUID value)
UUID
unmarshal(byte[] value)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public UUIDXmlAdapter()
public byte[] marshal(UUID value) throws Exception
marshal
XmlAdapter<byte[],UUID>
Exception
public UUID unmarshal(byte[] value) throws Exception
unmarshal
Copyright © 2016. All rights reserved.