Top Fields Constructors Methods
com.fasterxml.jackson.module.jakarta.xmlbind

public Class AdapterConverter

extends StdConverter<Object, Object>
Class Inheritance
Imports
jakarta.xml.bind.annotation.adapters.XmlAdapter, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.type.TypeFactory, com.fasterxml.jackson.databind.util.StdConverter

Field Summary

Modifier and TypeField and Description
protected final XmlAdapter<Object, Object>
protected final boolean
protected final JavaType
protected final JavaType

Constructor Summary

AccessConstructor and Description
public
AdapterConverter(XmlAdapter<?, ?> adapter, JavaType inType, JavaType outType, boolean ser)

Method Summary

Modifier and TypeMethod and Description
public Object
public JavaType
getInputType(TypeFactory typeFactory)

Overrides com.fasterxml.jackson.databind.util.StdConverter.getInputType.

Implements com.fasterxml.jackson.databind.util.Converter.getInputType.

Method that can be used to find out actual input (source) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).

public JavaType
getOutputType(TypeFactory typeFactory)

Overrides com.fasterxml.jackson.databind.util.StdConverter.getOutputType.

Implements com.fasterxml.jackson.databind.util.Converter.getOutputType.

Method that can be used to find out actual output (target) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).

Inherited from com.fasterxml.jackson.databind.util.StdConverter:
_findConverterType

Field Detail

_adapterback to summary
protected final XmlAdapter<Object, Object> _adapter
_forSerializationback to summary
protected final boolean _forSerialization
_inputTypeback to summary
protected final JavaType _inputType
_targetTypeback to summary
protected final JavaType _targetType

Constructor Detail

AdapterConverterback to summary
public AdapterConverter(XmlAdapter<?, ?> adapter, JavaType inType, JavaType outType, boolean ser)
Annotations
@SuppressWarnings:unchecked

Method Detail

convertback to summary
public Object convert(Object value)

Implements abstract com.fasterxml.jackson.databind.util.StdConverter.convert.

Implements com.fasterxml.jackson.databind.util.Converter.convert.

Doc from com.fasterxml.jackson.databind.util.Converter.convert.

Main conversion method.

Annotations
@Override
getInputTypeback to summary
public JavaType getInputType(TypeFactory typeFactory)

Overrides com.fasterxml.jackson.databind.util.StdConverter.getInputType.

Implements com.fasterxml.jackson.databind.util.Converter.getInputType.

Doc from com.fasterxml.jackson.databind.util.Converter.getInputType.

Method that can be used to find out actual input (source) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).

Annotations
@Override
getOutputTypeback to summary
public JavaType getOutputType(TypeFactory typeFactory)

Overrides com.fasterxml.jackson.databind.util.StdConverter.getOutputType.

Implements com.fasterxml.jackson.databind.util.Converter.getOutputType.

Doc from com.fasterxml.jackson.databind.util.Converter.getOutputType.

Method that can be used to find out actual output (target) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).

Annotations
@Override