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)
XmlAdapter
unmarshal
in class XmlAdapter<String,AccessType>
value
- The value to be converted. Can be null.public String marshal(AccessType value)
XmlAdapter
marshal
in class XmlAdapter<String,AccessType>
value
- The value to be convereted. Can be null.Copyright © 2017 JBoss by Red Hat. All rights reserved.