Top Description Constructors Methods
com.sun.tools.xjc.util

public abstract Class ReadOnlyAdapter<OnTheWire, InMemory>

extends XmlAdapter<OnTheWire, InMemory>
Class Inheritance
Known Direct Subclasses
com.sun.tools.xjc.reader.xmlschema.bindinfo.BIGlobalBinding.ClassNameAdapter
Imports
jakarta.xml.bind.annotation.adapters.XmlAdapter

XmlAdapter used inside XJC is almost always unmarshal-only.
Author
Kohsuke Kawaguchi

Constructor Summary

AccessConstructor and Description
protected
ReadOnlyAdapter()

Default constructor.

Method Summary

Modifier and TypeMethod and Description
public final OnTheWire
marshal(InMemory onTheWire)

Implements abstract jakarta.xml.bind.annotation.adapters.XmlAdapter.marshal.

Convert a bound type to a value type.

Inherited from jakarta.xml.bind.annotation.adapters.XmlAdapter:
unmarshal

Constructor Detail

ReadOnlyAdapterback to summary
protected ReadOnlyAdapter()

Default constructor.

Method Detail

marshalback to summary
public final OnTheWire marshal(InMemory onTheWire)

Implements abstract jakarta.xml.bind.annotation.adapters.XmlAdapter.marshal.

Doc from jakarta.xml.bind.annotation.adapters.XmlAdapter.marshal.

Convert a bound type to a value type.

Annotations
@Override