public static final class RuntimeUtil.ToStringAdapter extends XmlAdapter<String,Object>
Object.toString().| Constructor and Description |
|---|
ToStringAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(Object o)
Convert a bound type to a value type.
|
Object |
unmarshal(String s)
Convert a value type to a bound type.
|
public Object unmarshal(String s)
XmlAdapterunmarshal in class XmlAdapter<String,Object>s - The value to be converted. Can be null.public String marshal(Object o)
XmlAdaptermarshal in class XmlAdapter<String,Object>o - The value to be convereted. Can be null.Copyright © 2017 JBoss by Red Hat. All rights reserved.