public final class HexBinaryAdapter extends XmlAdapter<java.lang.String,byte[]>
| Constructor | Description |
|---|---|
HexBinaryAdapter() |
| Modifier and Type | Method | 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. Copyright © 2004-2017 Oracle
Comments to: javaee-spec@javaee.groups.io
More information at: http://jaxb.java.net