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

public Class Adapter8

extends XmlAdapter<String, EnumType>
Class Inheritance
Imports
jakarta.persistence.EnumType, jakarta.xml.bind.annotation.adapters.XmlAdapter

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

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

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

Convert a value type to a bound type.

Constructor Detail

Adapter8back to summary
public Adapter8()

Method Detail

marshalback to summary
public String marshal(EnumType value)

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
value:EnumType

The value to be convereted. Can be null.

unmarshalback to summary
public EnumType unmarshal(String value)

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
value:String

The value to be converted. Can be null.