|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.xml.bind.annotation.adapters Class HexBinaryAdapter
java.lang.Object javax.xml.bind.annotation.adapters.XmlAdapter<String,byte[]> javax.xml.bind.annotation.adapters.HexBinaryAdapter
public final class HexBinaryAdapter
- extends XmlAdapter<String,byte[]>
Extends:
">XmlAdapter
xs:hexBinary 的
XmlAdapter
。
此 XmlAdapter
将 byte[] 绑定到 XML 中的 hexBinary 表示形式。
since | JAXB 2.0 |
XmlAdapter
for xs:hexBinary.
This XmlAdapter
binds byte[] to the hexBinary representation in XML.
- Since:
- JAXB 2.0
- Author:
- Kohsuke Kawaguchi
Constructor Summary | |
---|---|
HexBinaryAdapter()
|
Method Summary | |
---|---|
String |
marshal(byte[] bytes)
Convert a bound type to a value type. |
byte[] |
unmarshal(String s)
Convert a value type to a bound type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public
HexBinaryAdapter()
英文文档:
HexBinaryAdapter
public HexBinaryAdapter()
Method Detail |
---|
public byte[]
unmarshal(String s)
英文文档:
unmarshal
public byte[] unmarshal(String s)
- Description copied from class:
XmlAdapter
- Convert a value type to a bound type.
- Specified by:
unmarshal
in classXmlAdapter<String,byte[]>
- Parameters:
s
- The value to be converted. Can be null.
public String
marshal(byte[] bytes)
英文文档:
marshal
public String marshal(byte[] bytes)
- Description copied from class:
XmlAdapter
- Convert a bound type to a value type.
- Specified by:
marshal
in classXmlAdapter<String,byte[]>
- Parameters:
bytes
- The value to be convereted. Can be null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!