public final class HexBinaryAdapter extends XmlAdapter<java.lang.String,byte[]>
XmlAdapter
for xs:hexBinary.
This XmlAdapter
binds byte[] to the hexBinary representation in XML.
Constructor and Description |
---|
HexBinaryAdapter() |
public byte[] unmarshal(java.lang.String s)
XmlAdapter
unmarshal
in class XmlAdapter<java.lang.String,byte[]>
s
- The value to be converted. Can be null.public java.lang.String marshal(byte[] bytes)
XmlAdapter
marshal
in class XmlAdapter<java.lang.String,byte[]>
bytes
- The value to be convereted. Can be null.