|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.xml.bind.annotation.adapters.XmlAdapter<String,byte[]>
javax.xml.bind.annotation.adapters.HexBinaryAdapter
public final class HexBinaryAdapter
xs:hexBinary 的 XmlAdapter。
此 XmlAdapter 將 byte[] 綁定到 XML 中的 hexBinary 表示形式。
| 建構子摘要 | |
|---|---|
HexBinaryAdapter()
|
|
| 方法摘要 | |
|---|---|
String |
marshal(byte[] bytes)
將 bound 型別轉換為 value 型別。 |
byte[] |
unmarshal(String s)
將 value 型別轉換為 bound 型別。 |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public HexBinaryAdapter()
| 方法詳細資訊 |
|---|
public byte[] unmarshal(String s)
XmlAdapter 複製的描述
XmlAdapter<String,byte[]> 中的 unmarshals - 要轉換的值。可以為 null。public String marshal(byte[] bytes)
XmlAdapter 複製的描述
XmlAdapter<String,byte[]> 中的 marshalbytes - 要轉換的值。可以為 null。
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。