public final class HexBinaryAdapter extends XmlAdapter<java.lang.String,byte[]>
| Constructor and Description |
|---|
HexBinaryAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
marshal(byte[] bytes)
Convert a bound type to a value type.
|
byte[] |
unmarshal(java.lang.String s)
Convert a value type to a bound type.
|
public byte[] unmarshal(java.lang.String s)
XmlAdapterunmarshal in class XmlAdapter<java.lang.String,byte[]>s - The value to be converted. Can be null.public java.lang.String marshal(byte[] bytes)
XmlAdaptermarshal in class XmlAdapter<java.lang.String,byte[]>bytes - The value to be convereted. Can be null.