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