Top Constructors Methods
org.hibernate.boot.jaxb.mapping

public Class Adapter3

extends XmlAdapter<String, PolymorphismType>
Class Inheritance
Imports
jakarta.xml.bind.annotation.adapters.XmlAdapter, org.hibernate.annotations.PolymorphismType

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

Deprecated as a consequence of PolymorphismType being deprecated.
Convert a bound type to a value type.
public PolymorphismType
unmarshal(String
The value to be converted. Can be null.
value
)

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

Deprecated as a consequence of PolymorphismType being deprecated.
Convert a value type to a bound type.

Constructor Detail

Adapter3back to summary
public Adapter3()

Method Detail

marshalback to summary
public String marshal(PolymorphismType value)

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

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

Deprecated

as a consequence of PolymorphismType being deprecated. See corresponding docs for further information.

Convert a bound type to a value type.

Parameters
value:PolymorphismType

The value to be convereted. Can be null.

unmarshalback to summary
public PolymorphismType unmarshal(String value)

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

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

Deprecated

as a consequence of PolymorphismType being deprecated. See corresponding docs for further information.

Convert a value type to a bound type.

Parameters
value:String

The value to be converted. Can be null.