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>
XmlAdapter used inside XJC is almost always unmarshal-only.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jakarta.xml.bind.annotation.adapters.XmlAdapter
unmarshal
-
Constructor Details
-
ReadOnlyAdapter
protected ReadOnlyAdapter()Default constructor.
-
-
Method Details
-
marshal
Description copied from class:XmlAdapterConvert a bound type to a value type.- Specified by:
marshalin classXmlAdapter<OnTheWire,InMemory> - Parameters:
onTheWire- The value to be converted. Can be null.
-