public final class HexBinaryAdapter extends XmlAdapter<String,byte[]>
XmlAdapter
,适用于xs:hexBinary 。
这XmlAdapter
结合byte[]在XML中的hexBinary表示。
Constructor and Description |
---|
HexBinaryAdapter() |
public byte[] unmarshal(String s)
XmlAdapter
unmarshal
在
XmlAdapter<String,byte[]>
s
- 要转换的值。
可以为null。
public String marshal(byte[] bytes)
XmlAdapter
marshal
在
XmlAdapter<String,byte[]>
bytes
- 要兑现的价值。
可以为null。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.