Package org.apache.johnzon.mapper.access
Class MethodAccessMode.MethodReader
- java.lang.Object
-
- org.apache.johnzon.mapper.access.MethodAccessMode.MethodDecoratedType
-
- org.apache.johnzon.mapper.access.MethodAccessMode.MethodReader
-
- All Implemented Interfaces:
AccessMode.DecoratedType
,AccessMode.Reader
- Direct Known Subclasses:
MethodAccessMode.MethodGetterAsWriter
- Enclosing class:
- MethodAccessMode
public static class MethodAccessMode.MethodReader extends MethodAccessMode.MethodDecoratedType implements AccessMode.Reader
-
-
Field Summary
-
Fields inherited from class org.apache.johnzon.mapper.access.MethodAccessMode.MethodDecoratedType
method, type
-
-
Constructor Summary
Constructors Constructor Description MethodReader(Method method, Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectConverter.Writer<?>
findObjectConverterWriter()
Object
read(Object instance)
-
Methods inherited from class org.apache.johnzon.mapper.access.MethodAccessMode.MethodDecoratedType
findConverter, getAnnotation, getClassOrPackageAnnotation, getMethod, getType, 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, getType, 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
-
-