public abstract class ReadOnlyAdapter<OnTheWire,InMemory> extends XmlAdapter<OnTheWire,InMemory>
XmlAdapter
used inside XJC is almost always unmarshal-only.Constructor and Description |
---|
ReadOnlyAdapter() |
Modifier and Type | Method and Description |
---|---|
OnTheWire |
marshal(InMemory onTheWire)
Convert a bound type to a value type.
|
unmarshal
public final OnTheWire marshal(InMemory onTheWire)
XmlAdapter
marshal
in class XmlAdapter<OnTheWire,InMemory>
onTheWire
- The value to be convereted. Can be null.Copyright © 2017 JBoss by Red Hat. All rights reserved.