de.intarsys.tools.jaxb
Class HexBytesAdapter
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,byte[]>
de.intarsys.tools.jaxb.HexBytesAdapter
public class HexBytesAdapter
- extends XmlAdapter<String,byte[]>
Convert a hex string notation to a char[]
HexBytesAdapter
public HexBytesAdapter()
marshal
public String marshal(byte[] v)
throws Exception
- Specified by:
marshal in class XmlAdapter<String,byte[]>
- Throws:
Exception
unmarshal
public byte[] unmarshal(String v)
throws Exception
- Specified by:
unmarshal in class XmlAdapter<String,byte[]>
- Throws:
Exception
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.