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
-要转换的值。可以为空。
public String marshal(byte[] bytes)
XmlAdapter
marshal
方法重写,继承类
XmlAdapter<String,byte[]>
bytes
要convereted价值。可以为空。
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.