Package org.apache.johnzon.mapper
Class Mappings
java.lang.Object
org.apache.johnzon.mapper.Mappings
- Direct Known Subclasses:
JsonbMappings
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ConcurrentMap<Type,Mappings.ClassMapping> protected final ConcurrentMap<Type,Mappings.CollectionMapping> protected final MapperConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Mappings.ClassMappingcreateClassMapping(Class<?> inClazz, Map<Type, Type> resolvedTypes) findCollectionMapping(ParameterizedType genericType, Type enclosingType) protected Class<?>findModelClass(Class<?> inClazz) findOrCreateClassMapping(Type clazz) getClassMapping(Type clazz) static ObjectgetPrimitiveDefault(Type type) static booleanisPrimitive(Type type)
-
Field Details
-
classes
-
collections
-
config
-
-
Constructor Details
-
Mappings
-
-
Method Details
-
findCollectionMapping
public Mappings.CollectionMapping findCollectionMapping(ParameterizedType genericType, Type enclosingType) -
isPrimitive
-
getPrimitiveDefault
-
getClassMapping
-
findOrCreateClassMapping
-
createClassMapping
-
findModelClass
-