Uses of Interface
org.apache.johnzon.mapper.Adapter
-
Packages that use Adapter Package Description org.apache.johnzon.mapper org.apache.johnzon.mapper.access org.apache.johnzon.mapper.converter org.apache.johnzon.mapper.internal org.apache.johnzon.mapper.map -
-
Uses of Adapter in org.apache.johnzon.mapper
Subinterfaces of Adapter in org.apache.johnzon.mapper Modifier and Type Interface Description interface
TypeAwareAdapter<A,B>
Fields in org.apache.johnzon.mapper declared as Adapter Modifier and Type Field Description Adapter
Mappings.ClassMapping. adapter
Adapter
Mappings.Getter. converter
Adapter
Mappings.Setter. converter
Adapter
Mappings.Getter. itemConverter
Adapter
Mappings.Setter. itemConverter
Fields in org.apache.johnzon.mapper with type parameters of type Adapter Modifier and Type Field Description private ConcurrentMap<Adapter<?,?>,AdapterKey>
MapperConfig. reverseAdapters
Methods in org.apache.johnzon.mapper that return Adapter Modifier and Type Method Description Adapter
MapperConfig. findAdapter(Type aClass)
private Adapter
MappingParserImpl. findAdapter(Type aClass)
Deprecated.see MapperConfig - it is acually reversed so maybe not deprecated after all?Adapter<?,?>
Mappings.CompositeReader. findConverter()
Adapter<?,?>
Mappings.CompositeWriter. findConverter()
Adapter<?,?>
Mappings.MapBuilderReader. findConverter()
Adapter<?,?>
Mappings.MapUnwrapperWriter. findConverter()
Methods in org.apache.johnzon.mapper that return types with arguments of type Adapter Modifier and Type Method Description ConcurrentHashMap<AdapterKey,Adapter<?,?>>
MapperBuilder. getAdapters()
ConcurrentMap<Adapter<?,?>,AdapterKey>
MapperConfig. getReverseAdapters()
Methods in org.apache.johnzon.mapper with parameters of type Adapter Modifier and Type Method Description MapperBuilder
MapperBuilder. addAdapter(Type from, Type to, Adapter<?,?> adapter)
MapperBuilder
MapperBuilder. addAdapter(Adapter<?,?> converter)
private Object
MappingParserImpl. buildArray(Type type, jakarta.json.JsonArray jsonArray, Adapter itemConverter, ObjectConverter.Reader objectConverter, JsonPointerTracker jsonPointer, Type rootType)
private Object
MappingParserImpl. buildArrayWithComponentType(jakarta.json.JsonArray jsonArray, Class<?> componentType, Adapter itemConverter, JsonPointerTracker jsonPointer, Type rootType)
private Object
MappingParserImpl. convertTo(Adapter converter, jakarta.json.JsonValue jsonValue, JsonPointerTracker jsonPointer, Type targetType)
private <T> Object
MappingGeneratorImpl. doConvertFrom(T value, Adapter<T,Object> converter)
private AdapterKey
MappingParserImpl. getAdapterKey(Adapter converter)
private <T> Collection<T>
MappingParserImpl. mapCollection(Mappings.CollectionMapping mapping, jakarta.json.JsonArray jsonArray, Adapter itemConverter, ObjectConverter.Reader objectConverter, JsonPointerTracker jsonPointer, Type rootType)
private Object
MappingParserImpl. toObject(Object baseInstance, jakarta.json.JsonValue jsonValue, Type type, Adapter itemConverter, JsonPointerTracker jsonPointer, Type rootType)
private Object
MappingParserImpl. toValue(Object baseInstance, jakarta.json.JsonValue jsonValue, Adapter converter, Adapter itemConverter, Type type, ObjectConverter.Reader objectConverter, JsonPointerTracker jsonPointer, Type rootType, Function<Exception,RuntimeException> onException)
private void
MappingGeneratorImpl. writeArray(Class<?> type, Adapter itemConverter, String key, Object arrayValue, Collection<String> ignoredProperties, JsonPointerTracker jsonPointer)
Write a JSON Array with a given Array Value, like byte[], int[], Person[] etc.private void
MappingGeneratorImpl. writeIterator(Adapter itemConverter, String key, ObjectConverter.Writer objectConverter, Collection<String> ignoredProperties, JsonPointerTracker jsonPointer, jakarta.json.stream.JsonGenerator generator, Iterator<?> iterator, Object originalValue)
private jakarta.json.stream.JsonGenerator
MappingGeneratorImpl. writeMapBody(Map<?,?> object, Adapter itemConverter)
private void
MappingGeneratorImpl. writeValue(Class<?> type, boolean dynamic, boolean primitive, boolean array, boolean collection, boolean map, Adapter itemConverter, String key, Object value, ObjectConverter.Writer objectConverter, Collection<String> ignoredProperties, JsonPointerTracker jsonPointer, jakarta.json.stream.JsonGenerator generator)
Constructors in org.apache.johnzon.mapper with parameters of type Adapter Constructor Description ClassMapping(Class<?> clazz, AccessMode.Factory factory, Map<String,Mappings.Getter> getters, Map<String,Mappings.Setter> setters, Adapter<?,?> adapter, ObjectConverter.Reader<?> reader, ObjectConverter.Writer<?> writer, Mappings.Getter anyGetter, Method anySetter, Field anyField, Method mapAdder)
ClassMapping(Class<?> clazz, AccessMode.Factory factory, Map<String,Mappings.Getter> getters, Map<String,Mappings.Setter> setters, Adapter<?,?> adapter, ObjectConverter.Reader<?> reader, ObjectConverter.Writer<?> writer, Mappings.Getter anyGetter, Method anySetter, Field anyField, Method mapAdder, Map.Entry<String,String>[] serializedPolymorphicProperties, BiFunction<jakarta.json.JsonObject,Class<?>,Class<?>> polymorphicDeserializedTypeResolver)
-
Uses of Adapter in org.apache.johnzon.mapper.access
Methods in org.apache.johnzon.mapper.access that return Adapter Modifier and Type Method Description Adapter<?,?>
AccessMode. findAdapter(Class<?> clazz)
Adapter<?,?>
BaseAccessMode. findAdapter(Class<?> clazz)
Adapter<?,?>
KnownNotOpenedJavaTypesAccessMode. findAdapter(Class<?> clazz)
Adapter<?,?>
AccessMode.DecoratedType. findConverter()
Adapter<?,?>
FieldAccessMode.FieldDecoratedType. findConverter()
Adapter<?,?>
FieldAndMethodAccessMode.CompositeDecoratedType. findConverter()
Adapter<?,?>
KnownNotOpenedJavaTypesAccessMode.InlineReader. findConverter()
Adapter<?,?>
KnownNotOpenedJavaTypesAccessMode.InlineWriter. findConverter()
Adapter<?,?>
MethodAccessMode.MethodDecoratedType. findConverter()
Adapter<?,?>[]
AccessMode.Factory. getParameterConverter()
Adapter<?,?>[]
KnownNotOpenedJavaTypesAccessMode.BaseFactory. getParameterConverter()
Adapter<?,?>[]
KnownNotOpenedJavaTypesAccessMode.ExceptionMessageFactory. getParameterConverter()
Adapter<?,?>[]
AccessMode.Factory. getParameterItemConverter()
Adapter<?,?>[]
KnownNotOpenedJavaTypesAccessMode.BaseFactory. getParameterItemConverter()
Adapter<?,?>[]
KnownNotOpenedJavaTypesAccessMode.ExceptionMessageFactory. getParameterItemConverter()
-
Uses of Adapter in org.apache.johnzon.mapper.converter
Classes in org.apache.johnzon.mapper.converter that implement Adapter Modifier and Type Class Description class
DateWithCopyConverter
class
LocaleConverter
class
ReversedAdapter<A,B>
class
TimestampAdapter
Fields in org.apache.johnzon.mapper.converter declared as Adapter Modifier and Type Field Description private Adapter<Date,String>
DateWithCopyConverter. delegate
private Adapter<B,A>
ReversedAdapter. delegate
Constructors in org.apache.johnzon.mapper.converter with parameters of type Adapter Constructor Description DateWithCopyConverter(Adapter<Date,String> delegate)
ReversedAdapter(Adapter<B,A> delegate)
-
Uses of Adapter in org.apache.johnzon.mapper.internal
Classes in org.apache.johnzon.mapper.internal that implement Adapter Modifier and Type Class Description class
ConverterAdapter<A>
-
Uses of Adapter in org.apache.johnzon.mapper.map
Fields in org.apache.johnzon.mapper.map declared as Adapter Modifier and Type Field Description private static Adapter<?,?>
LazyConverterMap. NO_ADAPTER
Methods in org.apache.johnzon.mapper.map that return Adapter Modifier and Type Method Description private Adapter<?,?>
LazyConverterMap. add(AdapterKey key, Adapter<?,?> converter)
private Adapter<?,?>
LazyConverterMap. addCalendarConverter(AdapterKey key)
private Adapter<?,?>
LazyConverterMap. addDateConverter(AdapterKey key)
private Adapter<?,?>
LazyConverterMap. addGregorianCalendar(AdapterKey key)
private Adapter<?,?>
LazyConverterMap. addInstantConverter(AdapterKey key)
private Adapter<?,?>
LazyConverterMap. addLocalDateConverter(AdapterKey key)
private Adapter<?,?>
LazyConverterMap. addLocalDateTimeConverter(AdapterKey key)
private Adapter<?,?>
LazyConverterMap. addOffsetDateTimeConverter(AdapterKey key)
private Adapter<?,?>
LazyConverterMap. addZonedDateTimeConverter(AdapterKey key)
private Adapter<?,?>
LazyConverterMap. doLazyLookup(AdapterKey key)
Adapter<?,?>
LazyConverterMap. get(Object key)
Methods in org.apache.johnzon.mapper.map that return types with arguments of type Adapter Modifier and Type Method Description Set<Map.Entry<AdapterKey,Adapter<?,?>>>
LazyConverterMap. entrySet()
Methods in org.apache.johnzon.mapper.map with parameters of type Adapter Modifier and Type Method Description private Adapter<?,?>
LazyConverterMap. add(AdapterKey key, Adapter<?,?> converter)
-