Package org.apache.johnzon.mapper.access
Class FieldAccessMode.FieldReader
- java.lang.Object
-
- org.apache.johnzon.mapper.access.FieldAccessMode.FieldDecoratedType
-
- org.apache.johnzon.mapper.access.FieldAccessMode.FieldReader
-
- All Implemented Interfaces:
AccessMode.DecoratedType
,AccessMode.Reader
- Enclosing class:
- FieldAccessMode
public static class FieldAccessMode.FieldReader extends FieldAccessMode.FieldDecoratedType implements AccessMode.Reader
-
-
Field Summary
-
Fields inherited from class org.apache.johnzon.mapper.access.FieldAccessMode.FieldDecoratedType
field, type
-
-
Constructor Summary
Constructors Constructor Description FieldReader(Field field, Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectConverter.Writer<?>
findObjectConverterWriter()
Type
getType()
Object
read(Object instance)
-
Methods inherited from class org.apache.johnzon.mapper.access.FieldAccessMode.FieldDecoratedType
findConverter, getAnnotation, getClassOrPackageAnnotation, getField, isNillable, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.johnzon.mapper.access.AccessMode.DecoratedType
findConverter, getAnnotation, getClassOrPackageAnnotation, isNillable
-
-
-
-
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
- Overrides:
getType
in classFieldAccessMode.FieldDecoratedType
-
-