Package com.sun.tools.xjc.util
Class ReadOnlyAdapter<OnTheWire,InMemory>
- java.lang.Object
-
- jakarta.xml.bind.annotation.adapters.XmlAdapter<OnTheWire,InMemory>
-
- com.sun.tools.xjc.util.ReadOnlyAdapter<OnTheWire,InMemory>
-
public abstract class ReadOnlyAdapter<OnTheWire,InMemory> extends XmlAdapter<OnTheWire,InMemory>
XmlAdapterused inside XJC is almost always unmarshal-only.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedReadOnlyAdapter()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OnTheWiremarshal(InMemory onTheWire)Convert a bound type to a value type.-
Methods inherited from class jakarta.xml.bind.annotation.adapters.XmlAdapter
unmarshal
-
-
-
-
Method Detail
-
marshal
public final OnTheWire marshal(InMemory onTheWire)
Description copied from class:XmlAdapterConvert a bound type to a value type.- Specified by:
marshalin classXmlAdapter<OnTheWire,InMemory>- Parameters:
onTheWire- The value to be convereted. Can be null.
-
-