public class Adapter2 extends XmlAdapter<String,AccessType>
| Constructor and Description |
|---|
Adapter2() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(AccessType value)
Convert a bound type to a value type.
|
AccessType |
unmarshal(String value)
Convert a value type to a bound type.
|
public AccessType unmarshal(String value)
XmlAdapterunmarshal in class XmlAdapter<String,AccessType>value - The value to be converted. Can be null.public String marshal(AccessType value)
XmlAdaptermarshal in class XmlAdapter<String,AccessType>value - The value to be convereted. Can be null.Copyright © 2018 JBoss by Red Hat. All rights reserved.