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