Top Description Constructors Methods
org.glassfish.jaxb.core.v2.runtime

public Class SwaRefAdapterMarker

extends XmlAdapter<String, DataHandler>
Class Inheritance
Imports
jakarta.activation.DataHandler, jakarta.xml.bind.annotation.adapters.XmlAdapter

Marker class used to identify swaref attachments and to generate appropriate annotations later.

Constructor Summary

AccessConstructor and Description
public
SwaRefAdapterMarker()

Default constructor.

Method Summary

Modifier and TypeMethod and Description
public String
marshal(DataHandler v)

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

Convert a bound type to a value type.

public DataHandler
unmarshal(String v)

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

Convert a value type to a bound type.

Constructor Detail

SwaRefAdapterMarkerback to summary
public SwaRefAdapterMarker()

Default constructor.

Method Detail

marshalback to summary
public String marshal(DataHandler v) throws Exception

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
Exceptions
Exception:
if there's an error during the conversion. The caller is responsible for reporting the error to the user through jakarta.xml.bind.ValidationEventHandler.
unmarshalback to summary
public DataHandler unmarshal(String v) throws Exception

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

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

Convert a value type to a bound type.

Annotations
@Override
Exceptions
Exception:
if there's an error during the conversion. The caller is responsible for reporting the error to the user through jakarta.xml.bind.ValidationEventHandler.