Package org.apache.johnzon.mapper
Class Mappings.MapBuilderReader
- java.lang.Object
-
- org.apache.johnzon.mapper.Mappings.MapBuilderReader
-
- All Implemented Interfaces:
AccessMode.DecoratedType
,AccessMode.Reader
- Enclosing class:
- Mappings
private static class Mappings.MapBuilderReader extends Object implements AccessMode.Reader
-
-
Constructor Summary
Constructors Constructor Description MapBuilderReader(Map<String,Mappings.Getter> objectGetters, String[] paths, int version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Adapter<?,?>
findConverter()
ObjectConverter.Writer<?>
findObjectConverterWriter()
<T extends Annotation>
TgetAnnotation(Class<T> clazz)
<T extends Annotation>
TgetClassOrPackageAnnotation(Class<T> clazz)
Type
getType()
boolean
isNillable(boolean globalConfig)
Object
read(Object instance)
-
-
-
Constructor Detail
-
MapBuilderReader
public MapBuilderReader(Map<String,Mappings.Getter> objectGetters, String[] paths, int version)
-
-
Method Detail
-
read
public Object read(Object instance)
- Specified by:
read
in interfaceAccessMode.Reader
-
findObjectConverterWriter
public ObjectConverter.Writer<?> findObjectConverterWriter()
- Specified by:
findObjectConverterWriter
in interfaceAccessMode.Reader
-
getType
public Type getType()
- Specified by:
getType
in interfaceAccessMode.DecoratedType
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> clazz)
- Specified by:
getAnnotation
in interfaceAccessMode.DecoratedType
-
getClassOrPackageAnnotation
public <T extends Annotation> T getClassOrPackageAnnotation(Class<T> clazz)
- Specified by:
getClassOrPackageAnnotation
in interfaceAccessMode.DecoratedType
-
findConverter
public Adapter<?,?> findConverter()
- Specified by:
findConverter
in interfaceAccessMode.DecoratedType
-
isNillable
public boolean isNillable(boolean globalConfig)
- Specified by:
isNillable
in interfaceAccessMode.DecoratedType
-
-