Package org.apache.johnzon.mapper.access
Class FieldAndMethodAccessMode.CompositeReader
- java.lang.Object
-
- org.apache.johnzon.mapper.access.FieldAndMethodAccessMode.CompositeDecoratedType<AccessMode.Reader>
-
- org.apache.johnzon.mapper.access.FieldAndMethodAccessMode.CompositeReader
-
- All Implemented Interfaces:
AccessMode.DecoratedType
,AccessMode.Reader
- Enclosing class:
- FieldAndMethodAccessMode
public static final class FieldAndMethodAccessMode.CompositeReader extends FieldAndMethodAccessMode.CompositeDecoratedType<AccessMode.Reader> implements AccessMode.Reader
-
-
Field Summary
-
Fields inherited from class org.apache.johnzon.mapper.access.FieldAndMethodAccessMode.CompositeDecoratedType
type1, type2
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CompositeReader(AccessMode.Reader type1, AccessMode.Reader type2)
-
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.FieldAndMethodAccessMode.CompositeDecoratedType
findConverter, getAnnotation, getClassOrPackageAnnotation, getType, getType1, getType2, 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
-
-
-
-
Constructor Detail
-
CompositeReader
private CompositeReader(AccessMode.Reader type1, AccessMode.Reader type2)
-
-
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
-
-