Top Constructors Methods
org.jooq.migrations.xml

public Class ContentTypeAdapter

extends XmlAdapter<String, ContentType>
Class Inheritance
Imports
jakarta.xml.bind.annotation.adapters.XmlAdapter, org.jooq.ContentType

Author
Lukas Eder

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
marshal(ContentType
The value to be convereted. Can be null.
v
)

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

Convert a bound type to a value type.
public ContentType
unmarshal(String
The value to be converted. Can be null.
v
)

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

Convert a value type to a bound type.

Constructor Detail

ContentTypeAdapterback to summary
public ContentTypeAdapter()

Method Detail

marshalback to summary
public String marshal(ContentType 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.

Parameters
v:ContentType

The value to be convereted. Can be null.

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 ContentType 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.

Parameters
v:String

The value to be converted. Can be null.

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.